[svgwg] Issue: SVG Image size conflicts with size property and CSS style marked as Geometry Properties chapter

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as
 "Geometry Properties chapter":

== SVG Image size conflicts with size property and CSS style ==
Spec links:
https://svgwg.org/svg2-draft/embedded.html#Placement
https://svgwg.org/svg2-draft/geometry.html#Sizing

 As per the links, for svg element , the initial value is set to '0' 
for the attribute (the former
link) while it is 'auto' for the properties.

but for SVG Image(the second link), The value auto for width and 
height on the ‘image’ element is calculated from the referenced 
image's intrinsic dimensions and aspect ratio, according to the CSS 
default sizing algorithm.

In that case, If SVG Image  intrinsic size explicitly not specified 
like below, 

    <image xlink:href="400x400.png" />

Since width and height are presentation attributes, should it render 
with 400X400 based on second link or 0x0 based on first link ?

Thanks!!

See https://github.com/w3c/svgwg/issues/237

Received on Friday, 19 August 2016 16:45:22 UTC