Closed Bug 1856203 Opened 2 years ago Closed 2 years ago

Failing WPTs html/canvas/offscreen/text/2d.text.drawing.style.letterSpacing.change.font.[worker.]html

Categories

(Core :: Graphics: Canvas2D, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: twisniewski, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Yeah, this is not a real bug, just the limitations of floating-point accuracy. The test should be doing an approximate comparison, not requiring an exact match (just like a bunch of the other canvas text tests already do).

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c67416582c22 Use assert_approx_equals in canvas letter-spacing test, to allow for floating-point discrepancies in text measurement. r=gfx-reviewers,lsalzman
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/42959 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: