WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
202518
imported/w3c/web-platform-tests/2dcontext/drawing-text-to-the-canvas/2d.text.measure.emHeights.html and 2d.text.measure.fontBoundingBox.html fail on iOS
https://bugs.webkit.org/show_bug.cgi?id=202518
Summary
imported/w3c/web-platform-tests/2dcontext/drawing-text-to-the-canvas/2d.text....
Chris Lord
Reported
2019-10-03 02:40:36 PDT
2d.text.measure.fontBoundingBox.html fails with: FAIL Testing fontBoundingBox assert_equals: ctx.measureText('A').fontBoundingBoxAscent === 85 (got 86[number], expected 85[number]) expected 85 but got 86 which I'd be inclined to ignore, but then 2d.text.measure.emHeights.html fails with: FAIL Testing emHeights assert_equals: ctx.measureText('A').emHeightAscent === 37.5 (got 86[number], expected 37.5[number]) expected 37.5 but got 86 which makes me think there's an actual problem, given all other platforms pass.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug