[wpt-sync] Sync PR 31454 - Media Queries not using font data for ex and ch
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31454 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31454
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Media Queries not using font data for ex and ch
MediaValues do not use FontMetrics for ex/ch units. Added a test that
checks the ex/ch sizes matches for width property and mq-width, with an
epsilon to catch rounding issues.Bug: 1264962
Change-Id: I28417e3b5c863e29bdb9b9865081a8a9e4694c3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3251079
Reviewed-by: Dominik Röttsches \<drott@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936884}
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
PASS: 2
Chrome
OK : 1
PASS: 1
FAIL: 1
Safari
OK : 1
PASS: 2
Links
Comment 4•3 years ago
|
||
bugherder |
Description
•