Re: [svgwg] Clarify effect of invalid values for width & height on <use> elements

> So, we can decide: are negative values ignored as if they were never
 set (so initial value applies) or are they an error that disables 
rendering? I'm leaning towards ignored, so it's consistent with the 
presentation attribute behavior. Also, if negative values aren't going
 to be a render-blocking error when re-using a <g>, they really 
shouldn't be a render-blocking error when re-using an <svg>.

Attributes are already defined to use the initial value if they fail 
to parse (by grammar or by prose).

> The Initial value column gives the initial value for the attribute. 
When an attribute fails to parse according to the specified CSS Value 
Definition Syntax, ABNF or EBNF grammar, or if parsing according to 
the URL Standard or by the prose describing how to parse the attribute
 indicates failure, the attribute is assumed to have been specified as
 the given initial value.

Source: https://svgwg.org/svg2-draft/types.html#syntax

-- 
GitHub Notification of comment by nikosandronikos
Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/193#issuecomment-230960229 using 
your GitHub account

Received on Thursday, 7 July 2016 02:07:00 UTC