Re: [csswg-drafts] [css-text-4] Support multiRowAlign

>From what I recall from the discussions, this was actually a Sizing issue: it's desired to shrinkwrap around the text _after wrapping_, which was IIRC possible in some ancient browsers but is not how `fit-content` works today. Once a block is sized to fit the (wrapped) text content, the regular `text-align` property will work as expected (and various other layout desires become possible). This is an especially important capability for `text-wrap: balance`.

`text-align-all-but-longest` wouldn't work because if there is more space than would fit the longest line (which there typically is), then all the lines would be aligned further to the side than the untouched longest line.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1975#issuecomment-355136437 using your GitHub account

Received on Wednesday, 3 January 2018 21:47:29 UTC