[Webkit-unassigned] [Bug 275842] New: SVG's path "d" property always returning "none" as getComputedStyle
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 25 01:04:42 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=275842
Bug ID: 275842
Summary: SVG's path "d" property always returning "none" as
getComputedStyle
Product: WebKit
Version: Safari Technology Preview
Hardware: All
URL: https://codepen.io/igrecesc/pen/yLWKxPd?editors=1010
OS: Unspecified
Status: NEW
Severity: Critical
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: igrecesc at adobe.com
CC: darin at apple.com, graouts at webkit.org, koivisto at iki.fi
This is Safari as shipped in iOS Beta 18 - AppleWebKit/605.1.15
The "d" property for the SVG path element was previously not implemented in CSS / getComputedStyle.
It is now half implemented and this is a serious problem - since it is now returning always "none"
Reproducing:
For example, this page https://codepen.io/igrecesc/pen/yLWKxPd?editors=1010 used to display just "Computed style for d:" on Safari. In other browsers it might display `Computed style for d: path("M 0 0 L 100 0 L 100 100 L 0 100 Z")` which is the CSS equivalent of the attribute.
Outcome:
In Safari shipped with iOS 18 beta this always displays `Computed style for d: none` regardless of the path attribute value.
Expected: undefined as before or path("... as a fix forward
Impact:
This prevents our SVG workflows from making a meaningful choice (before, it was easier to reason about an unimplemented feature). We cannot assume that "none" should be falling back to reading the attribute since one path attribute could be present and a CSS style could legitimately override that to be none.
Links:
The start of the implementation https://commits.webkit.org/277297@main as tracked here https://bugs.webkit.org/show_bug.cgi?id=272446
--
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/20240625/baec9c0b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list