Firefox fails WPT css/css-viewport/zoom/stroke.html
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox141 | --- | fixed |
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
We fail this WPT:
wpt.fyi: https://wpt.fyi/results/css/css-viewport/zoom/stroke.html
wpt.live: https://wpt.live/css/css-viewport/zoom/stroke.html
(reference: https://wpt.live/css/css-viewport/zoom/reference/stroke-ref.html )
Failure annotation:
https://searchfox.org/mozilla-central/source/testing/web-platform/meta/css/css-viewport/zoom/stroke.html.ini
Specifically, in the test, we get the first two lines correct (the top one being thin, the second one being thick), but we get the third one incorrect. (The test expects it to be thick, but we render it thin).
It looks like the the second and third lines have essentially the same styles, but the distinction is whether the stroke-* styling is specified directly on the line vs. inherited from an ancestor that was outside the scope of the zoom property. The test expects it to result in the same rendering either way.
I think this is essentially bug 1887627 ( https://github.com/w3c/csswg-drafts/issues/9397 ).
| Reporter | ||
Comment 1•9 months ago
|
||
(see also bug 1953144 for another recent "zoom should affect <svg thing>" bug that we just fixed. I don't know for sure but it's possible that some of this bug here is of-that-same-form and might just need a similar fix.)
| Reporter | ||
Comment 2•6 months ago
|
||
We pass this test now; it looks like this was fixed by the patch that landed in bug 1911195.
Updated•4 months ago
|
Updated•4 months ago
|
Description
•