[svgwg] Specification of the behaviour of `inline-size: 0` (#919)

alvinhochun has just created a new issue for https://github.com/w3c/svgwg:

== Specification of the behaviour of `inline-size: 0` ==
[11.4.1. The ‘inline-size’ property](https://svgwg.org/svg2-draft/text.html#InlineSize) says:

> A value of zero disables the creation of a [wrapping area](https://svgwg.org/svg2-draft/text.html#TermWrappingArea).

Is this a leftover from before the harmonisation with CSS which added the value `auto`? CSS doesn't do this but sets the content area to zero width:

```html
<p style="font-size:24px;inline-size:100px">This text wraps at 100px.</p>
<p style="font-size:24px; inline-size:0;overflow-wrap:break-word">This text wraps at 0.</p>
```

cc @therahedwig

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/919 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 21 July 2023 10:55:02 UTC