- From: Paul LeBeau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 08 Aug 2019 12:33:41 +0000
- To: public-svg-issues@w3.org
> everyone still support transform. Is there a reason for that? That's because the CSS Transforms spec came along (just after SVG 1.1 was published) and turned the `transform` attribute into a stylable property. https://drafts.csswg.org/css-transforms/#svg-transform If you click through the "Previous versions" links, you can follow the history of changes. > Surprisingly, width and height are mentioned in the SVG 1.1 spec, in the 6.16 User agent style sheet. So we should be able to set them via CSS? It's not clear, but that is referring to the "layout" of SVG elements. Meaning in an HTML page. The `width` and `height` attributes of root SVG elements are stylable in HTML, but that's not the case for `<svg>` elements in general. Inner `<svg>` elements cannot have their `width` and `height` styled. Example: https://jsfiddle.net/hgmk94s2/ -- GitHub Notification of comment by BigBadaboom Please view or discuss this issue at https://github.com/w3c/svgwg/issues/721#issuecomment-519498856 using your GitHub account
Received on Thursday, 8 August 2019 12:33:43 UTC