New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cssom-view] Add window.screenLeft and window.screenTop as aliases #2669
Conversation
Given that usage of these attributes are high and that they are implemented in Chrome, WebKit, and Edge, standardization seems like the best option for screenLeft and screenTop. Add them into the spec as simple aliases of screenX and screenY. Fixes w3c#1091.
@tabatkins, can you merge if I write tests? |
yeah |
Matches w3c/csswg-drafts#2669. Note that `screenX` and `screenY` themselves aren't tested at all: #5471
Matches w3c/csswg-drafts#2669. Note that `screenX` and `screenY` themselves aren't tested at all: #5471
The tests in web-platform-tests/wpt#13543 have been merged now. @tabatkins, can you merge this? There's an Intent to Implement and Ship: window.screenLeft and window.screenTop aliases on dev-platform. You rock, @emilio! |
Thanks @ewilligers! Who can merge this now? |
Changes are usually approved or merged by an editor. However, the editors of CSSOM View are listed in
|
Thanks @ewilligers! |
…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 -- wpt-commits: 384330eb99484763b94f4a986fa8cacabb579739 wpt-pr: 13543 --HG-- rename : testing/web-platform/tests/tools/lint/tests/dummy/about_blank.html => testing/web-platform/tests/tools/lint/tests/dummy/ref/about_blank-ref.html
…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
…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 -- wpt-commits: 384330eb99484763b94f4a986fa8cacabb579739 wpt-pr: 13543
…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
These were indeed added to the spec in w3c/csswg-drafts#2669.
These were indeed added to the spec in w3c/csswg-drafts#2669.
…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 -- wpt-commits: 384330eb99484763b94f4a986fa8cacabb579739 wpt-pr: 13543 UltraBlame original commit: da737c36261fe578e54d57575510b9258ac68fb6
…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
…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 -- wpt-commits: 384330eb99484763b94f4a986fa8cacabb579739 wpt-pr: 13543 UltraBlame original commit: da737c36261fe578e54d57575510b9258ac68fb6
…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
…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 -- wpt-commits: 384330eb99484763b94f4a986fa8cacabb579739 wpt-pr: 13543 UltraBlame original commit: da737c36261fe578e54d57575510b9258ac68fb6
…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
Given that usage of these attributes are high and that they are implemented in Chrome, WebKit, and Edge, standardization seems like the best option for
screenLeft
andscreenTop
. Add them into the spec as simple aliases ofscreenX
andscreenY
.Fixes #1091.