Re: [csswg-drafts] [css-text][css-sizing] When to/not to include preserved trailing spaces (#3440)

I don't have strong opinion either way, since I don't really have any usecase in mind for this.

The general idea explained by @fantasai makes sense to me. I have one question, though. If the trailing spaces are allowed to hang (i.e. not always hang), then I think for `text-align` (when available width is enough) and `max-content`, the spaces should be included, and the only case where it should never be included when wrap is `min-content`.

If that understanding is correct, then WebKit would be wrong on both `text-align` items, and Blink would be wrong on `text-align: justify`, and Gecko would be wrong on `min-content`, but vast majority of impls still match the spec, and the spec has at least two correct impls for each behavior (Edge counts one for all items), which sounds like an encouraging situation.

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

Received on Monday, 28 January 2019 02:07:54 UTC