Re: [csswg-drafts] [css-text-4] Propose 'text-spacing: space-first' (trim-start-except-first-line) as a normal behavior

> If both this `space-first` behavior AND the approach currently proposed by the spec (`text-indent: 1em; text-spacing: trim-start; hanging-punctuation: first;`) were supported, would there still be cases were using `space-first` is a good idea (other than compatibility with existing EPUB content)?

Yes, I think the `space-first` is the best default among `[ trim-start | space-start | space-first ]`.

The current default `space-start` is not very good, the half blank of fullwidth opening punctuation after a soft wrap break is visually not good and may be mistaken for the beginning of a paragraph. 

On the other hand, if we change the default to `trim-start`, it will change the appearance of a huge amount of existing web content, many will be improved visually, but some will be broken. People will be surprised if the fullwidth opening punctuation changes to half-width at every start of lines. I guess this is the reason why `trim-start` is not the default in current spec. The `space-first` (trim-start-except-first-line) behavior will cause less impact, similar to `trim-adjacent` and `allow-end`, and will make good readability and beauty of text.

In addition, we should recognize that in most Japanese web content the text-indent style is not used and margin between paragraphs style is dominant. I think `space-first` behavior will fit well with such modern Japanese web text style.

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

Received on Thursday, 22 March 2018 11:02:59 UTC