mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
05e86fe521
The xOffset and yOffset arguments to element.coordinates previously checked loose falsiness. If a number <= 0 would be given as an argument, they would not be used and it would return the centre of the element. This change adds more checks, documentation, and tests. MozReview-Commit-ID: KmsiVFipzWx --HG-- extra : rebase_source : 96e6c8c127071356fec029f5eaa4254ae60930b3
13 lines
336 B
INI
13 lines
336 B
INI
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# xpcshell unit tests for Marionette
|
|
|
|
[DEFAULT]
|
|
skip-if = appname == "thunderbird"
|
|
|
|
[test_element.js]
|
|
[test_error.js]
|
|
[test_message.js]
|