external/wpt/cssom-view/MediaQueryList-001.html fails except on Linux and Mac Retina |
||||||||||||
Issue descriptionUpstream test link: https://github.com/w3c/web-platform-tests/blob/master/cssom-view/MediaQueryList-001.html Test output on all platforms that fail is: This is a testharness.js-based test. FAIL matchMedia assert_equals: Expected value for device-aspect-ratio is 1280/800 expected true but got false Harness: the test ran to completion.
,
Apr 11 2017
,
Apr 11 2017
It's a little hard to track who added that test because of the csswg-test merge, but as far as I know:
- The tests should test conformance to a spec.
- The tests should be broadly applicable to different browsers, devices, & platforms.
It seems like this test is just testing making any query with window.matchMedia. Could this test be changed so that the query can be expected to always evaluate to true on all devices?
Like, what about changing the query to window.matchMedia("(min-width: 1px)")?
If we make this change, we should get feedback from @plinss and @zcorpan.
,
Apr 11 2017
Thank you for providing more feedback. Adding requester "meade@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 11 2017
> Like, what about changing the query to window.matchMedia("(min-width: 1px)")?
That seems very reasonable.
,
Apr 12 2017
Hi qyearsley, could you add @plinss to cc so we can get feedback about this? Thanks!
,
Apr 12 2017
Can't find the email address of @plinss :-/ Made an issue on GitHub: https://github.com/w3c/web-platform-tests/issues/5541
,
Apr 18 2017
,
Apr 18 2017
I think this should not be blocking on feedback from plinss. He didn't write the test and is not directly involved in cssom-view. You have received positive feedback from me already.
,
Apr 19 2017
,
Apr 20 2017
Ok, how about we just fix it then. I just posted https://codereview.chromium.org/2829913003 :)
,
Apr 24 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0380ef0910a520f4336ba3e8d3c6fdcc007e5cee commit 0380ef0910a520f4336ba3e8d3c6fdcc007e5cee Author: meade <meade@chromium.org> Date: Mon Apr 24 01:02:50 2017 Change MediaQueryList-001 to test on min-width: 1px This is instead of the device aspect ratio, as that is brittle. BUG= 710226 Review-Url: https://codereview.chromium.org/2829913003 Cr-Commit-Position: refs/heads/master@{#466573} [modify] https://crrev.com/0380ef0910a520f4336ba3e8d3c6fdcc007e5cee/third_party/WebKit/LayoutTests/external/wpt/cssom-view/MediaQueryList-001.html
,
Apr 27 2017
,
Apr 27 2017
Oops, realised I still need re-enable the test.
,
May 5 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d3051352e6cf8653c74a8b163d166eebe57feb42 commit d3051352e6cf8653c74a8b163d166eebe57feb42 Author: meade <meade@chromium.org> Date: Fri May 05 03:47:15 2017 Re-enable external/wpt/cssom-view/MediaQueryList-001.html Now that I've changed it to be less brittle, this should just work. (see https://codereview.chromium.org/2829913003) BUG= 710226 Review-Url: https://codereview.chromium.org/2864593002 Cr-Commit-Position: refs/heads/master@{#469589} [modify] https://crrev.com/d3051352e6cf8653c74a8b163d166eebe57feb42/third_party/WebKit/LayoutTests/TestExpectations
,
May 5 2017
|
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by meade@chromium.org
, Apr 11 2017Labels: Needs-Feedback
Owner: qyears...@chromium.org