[Webkit-unassigned] [Bug 275621] New: Computed style in SVG should not be affected by CSS zoom
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 18 10:11:19 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=275621
Bug ID: 275621
Summary: Computed style in SVG should not be affected by CSS
zoom
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pdr at google.com
CC: sabouhallawa at apple.com, zimmermann at kde.org
Created attachment 471700
--> https://bugs.webkit.org/attachment.cgi?id=471700&action=review
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240618/206032f7/attachment.htm>
More information about the webkit-unassigned
mailing list