- From: Simon Pieters via GitHub <sysbot+gh@w3.org>
- Date: Thu, 25 Aug 2016 14:10:32 +0000
- To: public-svg-issues@w3.org
zcorpan has just labeled an issue for https://github.com/w3c/svgwg as "Embedded Content chapter": == x/y/width/height attributes on HTML elements == [[ ‘canvas’ ‘foreignObject’ ‘iframe’ ‘image’ ‘video’ Return the tightest rectangle in coordinate space space that contains the rectangle defined by the ‘x’, ‘y’, ‘width’ and ‘height’ attributes of the element. ]] https://www.w3.org/TR/2015/WD-SVG2-20150915/coords.html#ContainerElementBoudingBoxComputation The HTML elements here do not have 'x' and 'y' attributes defined in HTML. Do you propose making them conforming for HTML? How is the value taken from the 'width' and 'height' attributes for HTML elements? It could use the computed value from CSS (or some such), or use https://html.spec.whatwg.org/multipage/infrastructure.html#rules-for-parsing-dimension-values (can be error, percentage, or a length) if you want just the attribute and ignore any CSS... Related https://github.com/w3c/svgwg/issues/240 https://github.com/whatwg/html/issues/919 See https://github.com/w3c/svgwg/issues/247
Received on Thursday, 25 August 2016 14:10:40 UTC