w3c/svgwg

Specification of the behaviour of `inline-size: 0`

alvinhochun opened this issue · 0 comments

11.4.1. The ‘inline-size’ property says:

A value of zero disables the creation of a wrapping area.

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:

<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