[Webkit-unassigned] [Bug 147932] Browser does not fall back to SVG attribute value when CSS style value is invalid or not supported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 24 06:17:11 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=147932

--- Comment #4 from Antoine Quint <graouts at webkit.org> ---
For some background on this, I think this is the relevant part of the SVG 1.1 specification:

http://www.w3.org/TR/SVG11/styling.html#UsingPresentationAttributes

In particular, this excerpt:

"For user agents that support CSS, the presentation attributes must be translated to corresponding CSS style rules according to rules described in Precedence of non-CSS presentational hints ([CSS2], section 6.4.4), with the additional clarification that the presentation attributes are conceptually inserted into a new author style sheet which is the first in the author style sheet collection. The presentation attributes thus will participate in the CSS2 cascade as if they were replaced by corresponding CSS style rules placed at the start of the author style sheet with a specificity of zero. In general, this means that the presentation attributes have lower priority than other CSS style rules specified in author style sheets or ‘style’ attributes."

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151124/66d9df76/attachment-0001.html>


More information about the webkit-unassigned mailing list