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)
Core
SVG
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.
Updated•7 years ago
|
Priority: -- → P3
Comment 1•6 years ago
|
||
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>
Comment 2•6 years ago
|
||
Philip, I was trying to find the Blink bug or intent where this was added but failed. Do you have a link?
Comment 3•6 years ago
|
||
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.
Reporter | ||
Comment 4•6 years ago
|
||
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.
Updated•3 years ago
|
See Also: → 878346
Summary: update presentation attribute availability according to SVG 2 → Update presentation attribute availability according to SVG 2 (map to properties)
Updated•2 years ago
|
Severity: normal → S3
Updated•1 month ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•