Skip to content

Commit

Permalink
Copyedit PositionDescriptor API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesshore committed Apr 14, 2020
1 parent 9ad0aaa commit 97a272f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docs/PositionDescriptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ logo.top.should.equal(header.top);
```


### Above/Below/Left/Right
### Relative Positioning

Check whether a position is above, below, left, or right of another position. A position is "above" the expectation when it's closer to the top of the page, and "below" when it's closer to the bottom of the page.

Expand All @@ -90,13 +90,6 @@ Parameters:

Example:

```javascript
// "The logo should be at the top of the header."
logo.top.should.equal(header.top);
```

Example:

```javascript
// "The light box should be below the navbar."
lightbox.top.should.beBelow(navbar.bottom);
Expand Down

0 comments on commit 97a272f

Please sign in to comment.