Re: [csswg-drafts] [css-text] impact of unstyled inlines on hyphenation (#3862)

The CSS Working Group just discussed `impact of unstyled inlines on hyphenation`, and agreed to the following:

* `RESOLVED: Inline boundaries do not effect hyphenation, styled or unstyled`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: impact of unstyled inlines on hyphenation<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/3862<br>
&lt;dael> florian: While playing with tests I noticed inconsistancy in Chrome behavior. If you put unstyled spans on parts of the word, it causes Chrome to suppress hyphen. Have a general principle unstyled span don't do antying, but call it out where it matters.<br>
&lt;dael> florian: I don't think it's good a span around part of a word changes what the word is. We have similar notes for text transforms what a span doesn't change<br>
&lt;dael> iank_: Test case?<br>
&lt;dael> florian: Yes<br>
&lt;dael> iank_: Put one in IRC?<br>
&lt;florian> https://github.com/web-platform-tests/wpt/pull/16428<br>
&lt;dael> florian: Yes ^<br>
&lt;dael> florian: All test cases in the PR are about that. I don't remember which version does what, but the superset of Chrome breaks some cases<br>
&lt;dael> fantasai: Agree we should spec. Might also be worth putting that unstyled spans do not effect any stuff in CSS Text into this spec.<br>
&lt;dael> florian: Good too<br>
&lt;dael> heycam: What's the definition of style here?<br>
&lt;dael> fantasai: Any span that's inline, not inline block, even if styled has no effect. Princile of unstyled spans if you have 0 properties on a span and just put it in almost no where in CSS does that cause a difference in rendering. One exception is text-combine due to impl difficulties.<br>
&lt;dael> fantasai: General principle and then once styles on span it depends on the properties. It can no longer be a blanket rule<br>
&lt;dael> fantasai: CSS text it can be a styled span should not effect line breaking<br>
&lt;dael> Rossen_: Hearing general consensus<br>
&lt;dael> Rossen_: Objections?<br>
&lt;dael> fantasai: Prop: Inline boundaries do not effect hyphenation, styled or unstyled<br>
&lt;dael> fantasai: Second is do we want to note general principle about unstyled in this spec or another or just a principle we don't define. Mostly it's a note for spec authors to write so unstyled span has no effect on styling<br>
&lt;dael> florian: IN a display spec?<br>
&lt;dael> Rossen_: Not sure<br>
&lt;dael> florian: It's where we define inline. THere say and if it's not otherwise styled and no exception it has no effect.<br>
&lt;dael> fantasai: Good to put that for inline and blocks too<br>
&lt;dael> florian: fantasai I think this is good to nail down. Specific wording maybe need more thoughts so open a new issue?<br>
&lt;dael> fantasai: Let's get a new issue for generic one and close this for styled and unstyled spans<br>
&lt;dael> Rossen_: Objections?<br>
&lt;dael> Rossen_: to Inline boundaries do not effect hyphenation, styled or unstyled<br>
&lt;dael> RESOLVED: Inline boundaries do not effect hyphenation, styled or unstyled<br>
&lt;dael> Rossen_: Please open an additional issue<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3862#issuecomment-488503216 using your GitHub account

Received on Wednesday, 1 May 2019 23:53:31 UTC