[svgwg] Issue: Define how new sizing keywords are resolved for SVG width and height geometry properties marked as Geometry Properties chapter

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

== Define how new sizing keywords are resolved for SVG width and height geometry properties ==
The [CSS Intrinsic & Extrinsic Sizing Module](https://drafts.csswg.org/css-sizing-3/#sizing-values) defines new values for `width` and `height`: `min-content`, `max-content`, `fit-content(%)`.  The exact definition of the keywords often depends on the layout context for the element (e.g., absolute positioned box vs block box in flow layout vs box in a grid layout).

Because [SVG 2 defines with `width` and `height` geometry attributes as equivalent to the CSS properties](https://svgwg.org/svg2-draft/geometry.html#Sizing), that means that these keywords may show up in the computed value for a `<rect>` or `<use>` or `<image>`. So we need some guidance for how to handle them in an SVG layout context.

P.S., this can probably be deferred to SVG 2.1, but it's worth discussing what we want, for implementers who are starting to roll out support for the new keywords at the same time as support for SVG geometry properties.

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

Received on Saturday, 9 June 2018 16:47:48 UTC