[wpt-sync] Sync PR 21362 - Add tests of the recalculation of 'ch' in pseudo elements
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 21362 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/21362
Details from upstream follow.
Xiaocheng Hu <xiaochengh@chromium.org> wrote:
Add tests of the recalculation of 'ch' in pseudo elements
Length unit 'ch' should be recalculated after loading a web font. This
patch is a followup of crrev.com/c/1972815 to ensure that it's also
recalculated in pseudo elements.Bug: 441925
Change-Id: Ie62dba854aa9d1beb6b9a734f31760abf1acd040
Reviewed-on: https://chromium-review.googlesource.com/2016198
WPT-Export-Revision: 01850e267eda02027b8251d0ede60161d5b7d45d
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 42 tests
Status Summary
Firefox
OK : 1
PASS: 41
FAIL: 5
Chrome
OK : 1
PASS: 5
Safari
OK : 1
FAIL: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/css/css-values/ch-pseudo-recalc-on-font-load.html
ch in pseudo-element ::after should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in pseudo-element ::first-letter should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in pseudo-element ::marker should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in pseudo-element ::before should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
ch in pseudo-element ::first-line should be recalculated after loading a web font: FAIL (Chrome: PASS, Safari: FAIL)
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2658757418c3
https://hg.mozilla.org/mozilla-central/rev/dec7793f0e4a
Description
•