Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
engineering-this authored and Comandeer committed Jul 20, 2018
1 parent 4dbf59e commit 9b00eb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/plugins/contextmenu/keystroke.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
var element = evt.data.element,
elementRect = element.getClientRect( true );

// Edge and IE have values differing by small factor, letls ignore that, because it's not important for context menu positioning.
assert.isNumberInRange( elementRect.left, selectionRect.right - 0.1, selectionRect.left + 0.1 );
assert.isNumberInRange( elementRect.top, selectionRect.bottom - 0.1, selectionRect.bottom + 0.1 );
} );
Expand Down

0 comments on commit 9b00eb6

Please sign in to comment.