Closed Bug 1838647 Opened 2 years ago Closed 2 years ago

WPT test canvas/element/text-styles/2d.text.font.parse.invalid.html fails on cases with a CSS variable in the value

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

This test fails on the examples that include a CSS variable in the value passed to the font attribute. These are expected to be ignored, but we currently parse the value (as it looks like a valid font shorthand), but then fail to reserialize it (as required by the canvas spec), leaving the attribute set to an empty string.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8a823798e3d Fix canvas2d handling of invalid font attribute containing a CSS variable reference. r=gfx-reviewers,lsalzman
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: