Closed Bug 1457360 Opened 7 years ago Closed 1 month ago

Update presentation attribute availability according to SVG 2 (map to properties)

Categories

(Core :: SVG, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 367994

People

(Reporter: heycam, Unassigned)

Details

https://svgwg.org/svg2-draft/styling.html#PresentationAttributes says that nearly all presentation attributes (at least, the ones that were defined in SVG 1) should be available on any element in the SVG namespace.
Priority: -- → P3
I was looking at the state of svg animation interoperability and it's not great. Without support for more presentation attributes, it is not possible to use CSS animations in SVG. For example: <!DOCTYPE html> <style> rect { animation: mover 2s infinite alternate; } @keyframes mover { to { fill: blue; x: 100; } } </style> <svg width="100" height="100"> <rect width="100" height="100"></rect> </svg>
Philip, I was trying to find the Blink bug or intent where this was added but failed. Do you have a link?
Here's the WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=135215 Here's the Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=400725 I don't see an intent-to-ship for the 'x' attribute, but there were later intent-to-ship emails for 'transform' and 'path' presentation attributes. I am not sure if I failed to follow the process for 'x', or if it fell under some larger SVG2/CSS intent that's evading my searches.
That x="" is not yet a presentation attribute for a new 'x' property is bug 1383650. This bug per comment 0 is about ensuring that all SVG stylable elements support the big list of presentation attributes in the last row of the table at https://svgwg.org/svg2-draft/styling.html#PresentationAttributes.
See Also: → 878346
Summary: update presentation attribute availability according to SVG 2 → Update presentation attribute availability according to SVG 2 (map to properties)
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 367994
Resolution: --- → DUPLICATE
See Also: 878346
You need to log in before you can comment on or make changes to this bug.