Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1499380 [wpt PR 13543] - Add tests for
screenLeft
and `screenTo…
…p`, a=testonly Automatic update from web-platform-testsAdd tests for `screenLeft` and `screenTop` Matches w3c/csswg-drafts#2669. Note that `screenX` and `screenY` themselves aren't tested at all: web-platform-tests/wpt#5471 -- Update screenLeftTop.html -- Merge pull request #13543 from web-platform-tests/foolip/screenLeftTop Add tests for `screenLeft` and `screenTop` -- wpt-commits: 384330eb99484763b94f4a986fa8cacabb579739, 9b13cb18deeccf3e1da44e227c343531deffa1fb, 9419b7f7d685502b8c900dbce2500dfdedb0edec wpt-pr: 13543 UltraBlame original commit: ced4e022b06516738488d8b9f1c469661220f5df
- Loading branch information
Showing
1 changed file
with
196 additions
and
0 deletions.
There are no files selected for viewing
196 changes: 196 additions & 0 deletions
196
testing/web-platform/tests/css/cssom-view/screenLeftTop.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
help | ||
" | ||
href | ||
= | ||
" | ||
https | ||
: | ||
/ | ||
/ | ||
drafts | ||
. | ||
csswg | ||
. | ||
org | ||
/ | ||
cssom | ||
- | ||
view | ||
/ | ||
# | ||
dom | ||
- | ||
window | ||
- | ||
screenleft | ||
" | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
help | ||
" | ||
href | ||
= | ||
" | ||
https | ||
: | ||
/ | ||
/ | ||
drafts | ||
. | ||
csswg | ||
. | ||
org | ||
/ | ||
cssom | ||
- | ||
view | ||
/ | ||
# | ||
dom | ||
- | ||
window | ||
- | ||
screentop | ||
" | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
resources | ||
/ | ||
testharness | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
resources | ||
/ | ||
testharnessreport | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
script | ||
> | ||
test | ||
( | ||
( | ||
) | ||
= | ||
> | ||
{ | ||
assert_equals | ||
( | ||
typeof | ||
window | ||
. | ||
screenLeft | ||
" | ||
number | ||
" | ||
" | ||
screenLeft | ||
type | ||
" | ||
) | ||
; | ||
assert_equals | ||
( | ||
window | ||
. | ||
screenLeft | ||
window | ||
. | ||
screenX | ||
" | ||
alias | ||
of | ||
screenX | ||
" | ||
) | ||
; | ||
} | ||
" | ||
screenLeft | ||
" | ||
) | ||
; | ||
test | ||
( | ||
( | ||
) | ||
= | ||
> | ||
{ | ||
assert_equals | ||
( | ||
typeof | ||
window | ||
. | ||
screenTop | ||
" | ||
number | ||
" | ||
" | ||
screenTop | ||
type | ||
" | ||
) | ||
; | ||
assert_equals | ||
( | ||
window | ||
. | ||
screenTop | ||
window | ||
. | ||
screenY | ||
" | ||
alias | ||
of | ||
screenY | ||
" | ||
) | ||
; | ||
} | ||
" | ||
screenTop | ||
" | ||
) | ||
; | ||
< | ||
/ | ||
script | ||
> |