Closed Bug 1951003 Opened 9 months ago Closed 6 months ago

Firefox fails WPT css/css-viewport/zoom/stroke.html

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
141 Branch
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 ).

See Also: → 1915586

(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.)

No longer depends on: 1887627

We pass this test now; it looks like this was fixed by the patch that landed in bug 1911195.

Status: NEW → RESOLVED
Closed: 6 months ago
Depends on: 1911195
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
See Also: 19155861911195
See Also: 1911195
You need to log in before you can comment on or make changes to this bug.