mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1254521 - Add return type docs for element.isVisible; r=automatedtester a=test-only
MozReview-Commit-ID: 9tjnHPmYSdq
This commit is contained in:
parent
1762b9d9f9
commit
3b1bf39562
@ -812,6 +812,9 @@ element.inViewport = function(el, x = undefined, y = undefined) {
|
||||
* @param {number=} y
|
||||
* Vertical offset relative to target. Defaults to the centre of
|
||||
* the target's bounding box.
|
||||
*
|
||||
* @return {boolean}
|
||||
* True if visible, false otherwise.
|
||||
*/
|
||||
element.isVisible = function(el, x = undefined, y = undefined) {
|
||||
let win = el.ownerDocument.defaultView;
|
||||
|
Loading…
Reference in New Issue
Block a user