Intent to Implement and Ship: SVG transform presentation attributes

33 views
Skip to first unread message

Philip Rogers

unread,
Dec 6, 2016, 2:44:45 PM12/6/16
to blink-dev
Contact emails

Spec

No tag review because this is a relatively minor change in-line with other SVG presentation attribute changes (e.g., width, height, etc).

Summary
SVG has historically used attributes to specify transforms, whereas CSS uses properties. This change unifies the two systems, including syntax, of transform, gradientTransform, and patternTransform. This “attribute as property” concept is known as a "presentation attribute" and is already the case for many SVG attributes we support.

Transform-as-attribute and transform-as-property was previously supported, with the latter overriding the former (modulo crbug.com/415950.) Hence this constitutes the final piece that enters the attribute into the cascade proper.

Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes

Interoperability and Compatibility Risk
This change makes us match Gecko and the spec. It is unlikely to break existing content.

OWP launch tracking bug

Entry on the feature dashboard
No entry because this is a relatively small change.

Philip Jägenstedt

unread,
Dec 6, 2016, 3:03:23 PM12/6/16
to Philip Rogers, blink-dev

lgtm1

Fredrik Söderquist

unread,
Dec 6, 2016, 3:05:20 PM12/6/16
to blink-dev
Small correction here that was missed before this went to press. This should read:

"To our knowledge no other UA has implemented this yet, it is however unlikely to break existing content. https://bugzilla.mozilla.org/show_bug.cgi?id=878346 is the Gecko bug for this."
 

OWP launch tracking bug

Entry on the feature dashboard
No entry because this is a relatively small change.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

TAMURA, Kent

unread,
Dec 8, 2016, 1:39:33 AM12/8/16
to blink-dev
lgtm2

--
TAMURA Kent
Software Engineer, Google


Dimitri Glazkov

unread,
Dec 8, 2016, 10:33:54 AM12/8/16
to TAMURA, Kent, blink-dev
LGTM3.

lgtm2


To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.




Reply all
Reply to author
Forward
0 new messages