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

@fantasai and @kojiishi trying to clarify the definition of the terminologies together.

Given the definition:
* allow-hang means 1) line breaker allows spaces to hang, and 2) alignment treats spaces same as any other characters.
* forced-hang means 1) same as allow-hang for line breaker, and 2) alignment ignores trailing spaces.

Then "Include" in the original table is exactly the same as "allow-hang" and "Don't include" is "forced-hang".

Feature|Blink|Edge|Gecko|WebKit
---|---|---|---|---
`text-align: start`|hang|hang|hang|hang
`text-align: end / center`|allow-hang|allow-hang|allow-hang|forced-hang
`text-align: justify`|forced-hang|Do not justify|Do not justify|Do not justify


For `text-align: start`, allow-hang and forced-hang is indistiguishable.

Latest WG resolution (and @frivoal's proposal) is to match WebKit for lines that end in a soft wrap.
Lates WG resolution was to not hang at all for lines that end in a forced break; @frivoal's proposal is to allow-hang for such lines.

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

Received on Thursday, 12 September 2019 07:30:50 UTC