WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
183780
height miscalcuation in SVG
https://bugs.webkit.org/show_bug.cgi?id=183780
Summary
height miscalcuation in SVG
Alastair Campbell
Reported
2018-03-20 09:12:01 PDT
Zoom on this SVG example has unexpected effects:
https://w3c.github.io/graphics-aria/img/nested-figures.html
(NB: text-size increases work fine, it is the standard pixel-based zoom that is affected.) It appears that the (inline) y value on the <rect> elements is not increased with the zoom, so the text goes behind the rect. Noticed whilst @AmeliasBrain was working on the spec:
https://w3c.github.io/graphics-aria/#role_other
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-15 16:18:32 PDT
Confirmed this is an issue in Safari. Works properly in Chrome and Firefox.
Radar WebKit Bug Importer
Comment 2
2022-07-15 16:18:44 PDT
<
rdar://problem/97099774
>
Ahmad Saleem
Comment 3
2023-07-31 16:41:31 PDT
For future reference, LBSE (Layer Based SVG Engine) does not have height miscalculation issue to make 'text' disappear but it has other issues but still good to note down. Tested using WebKit ToT (
266457@main
) with LBSE Internal flag turned on.
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