- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Mon, 09 Oct 2017 22:10:43 +0000
- To: public-svg-issues@w3.org
> In these case I don't think layout is strictly needed yet. Sometimes it would be. Percentages in SVG geometry are relative to the coordinate system. If the nearest viewport element (`<svg>` or `<symbol>`) has a `viewBox`, that's a fixed value determined from the DOM, without layout. But if it's an `<svg>` _without_ a `viewBox`, then it's based on the actual dimensions of the SVG's layout box, which could require a full layout. And as you say, `auto` for an `<image>` would require access to the intrinsic dimensions of the image. The only other complicated situation is [`rx` and `ry`](https://svgwg.org/svg2-draft/geometry.html#RX): they have `auto` values (meaning, match the other property) and also clamping on rectangles (although I think that would count as an "actual value" calculation, not a "used value"). -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/svgwg/issues/349#issuecomment-335304142 using your GitHub account
Received on Monday, 9 October 2017 22:10:37 UTC