Re: [svgwg] SVG Image size conflicts with size property and CSS style

Thanks for catching this @shanmuga-m 

In SVG 1.1, there was no `auto` and the initial value (if the 
attribute wasn't specified) was 0.  The `auto` sizing option was added
 to SVG 2 relatively recently, but I guess we didn't catch all the 
necessary editorial changes.  

The initial value for `width` and `height` is always `auto` (that's 
defined in CSS), although for some aspects of SVG (but _not_ images) 
we treat `auto` as 0.

That entire section in the [Embedded Content 
chapter](https://svgwg.org/svg2-draft/embedded.html#Placement) should 
be re-written to make it clear that these are the geometry properties 
/ presentation attributes being used, not separate attributes.

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

Received on Friday, 19 August 2016 16:47:37 UTC