WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
275621
Computed style in SVG should not be affected by CSS zoom
https://bugs.webkit.org/show_bug.cgi?id=275621
Summary
Computed style in SVG should not be affected by CSS zoom
Philip Rogers
Reported
2024-06-18 10:11:19 PDT
Created
attachment 471700
[details]
Testcase showing computed style of zoomed values in html and svg CSS zoom has recently been standardized (
https://github.com/w3c/csswg-drafts/issues/5623
) and Gecko has begun shipping this. A property of CSS zoom is that computed styles should not reflect the zoomed value. One reason for this is to support round-tripping. This is generally supported across Chromium, Gecko, and Webkit. In SVG though, Webkit incorrectly unzooms computed styles (see attached testcase). Expected (Chromium, Gecko): svg width computed style: 100px rect width computed style: 50px div width computed style: 100px Actual (Safari 17.4 WebKit 19619.1.16.3): svg width computed style: 100px rect width computed style: 25px div width computed style: 100px
Attachments
Testcase showing computed style of zoomed values in html and svg
(625 bytes, text/html)
2024-06-18 10:11 PDT
,
Philip Rogers
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-06-25 10:12:13 PDT
<
rdar://problem/130513052
>
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