Re: [csswg-drafts] [css-text] hanging punctuation: ink vs scrollable overflow

The Working Group just discussed `hanging-punctuation and overflow`, and agreed to the following resolutions:

* `RESOLVED: define hanging punctuation as scrollable overflow in all cases`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: hanging-punctuation and overflow<br>
&lt;fantasai> https://drafts.csswg.org/css-text-3/issues-lc-2013#issue-123<br>
&lt;dael> GITHUB: https://github.com/w3c/csswg-drafts/issues/2398<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/2398<br>
&lt;dael> fantasai: This is about if hanging punct is ink or scroll overflow. Current prop is that it must be treated as ink in the general case and scrollable when editable.<br>
&lt;dael> astearns: Threading the needle.<br>
&lt;dael> fremy: Test case?<br>
&lt;dael> fantasai: Try to make one.<br>
&lt;dael> florian: Overall ink is preferable, esp Japanese punctuation marks. If you make them scrollable authors are in trouble because if they have 1/2em overflow you have invisible text. However when you're editing you want to get to everything.<br>
&lt;dael> myles: Would there be a case for less them 1em?<br>
&lt;dael> florian: Yes because it doesn't look 1em. The glyph is 1em and the ink is not.<br>
&lt;dael> myles: If hanging punct is 1 character.<br>
&lt;dael> florian: Charaters that hang don't fill box.<br>
&lt;dael> myles: Ink doesn't. I want to look at actual examples because my inturition is that because a character hangs there would be 1 em of actual space.<br>
&lt;dael> florian: The insutation of [missed] is that it would be less. It is not a full width character and should have the size ink indicates and the rest is a historical accident back to typing with blocks. People thinking of it as the space it consumes. BUt I don't have data.<br>
&lt;dael> florian: Expert opinion. Not data.<br>
&lt;astearns> s/[missed]/kobayashi-san<br>
&lt;dael> koji: Hanging punct in CJK looks more natural in ink but David Hyatt did the scrollable overflow.<br>
&lt;dael> florian: I think scrollable will trigger a bunch of scrollbars<br>
&lt;dael> fantasai: When you have a scrollbar you dont want text to run against he edge of the scrollbar. You want breathing which is typically > 1/2em. A bunch of text in a scrollable cotnainer would have an em of padding<br>
&lt;dael> florian: A container that's overflow:auto with intent that the scrollbars will never appear .<br>
&lt;dael> myles: If fear is we'll create a bunch of scrollbars let's try and see<br>
&lt;dael> florian: Another piece of issue is that we're also saying preserved white space when there's too much it's treated as hanging and you would also cause scrollbars<br>
&lt;dael> fantasai: Advantage of scrollable overflow is when you're tyring to select them you can see them.<br>
&lt;dael> myles: If there's not collapsable spaces you should be able to get to the spaces.<br>
&lt;dael> myles: Having non-collapsed spaces and being editable are separate.<br>
&lt;dael> florian: For editing they must be scrollable. If that's true in the general case I worry about scrollbars allover.<br>
&lt;dael> koji: Only webkit impl. If webkit can try it out.<br>
&lt;fantasai> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0A%40supports%20(hanging-punctuation%3A%20last)%20%7B%20html%20%7B%20background%3A%20green%3B%20%7D%20%7D%0A%3C%2Fstyle%3E%0A%3Cdiv%20style%3D%22width%3A%204em%3B%20border%3A%20solid%20silver%3B%20hanging-punctuation%3A%20force-end%22%3E%0A%E4%B8%80%E4%BA%9B%E6%B1%89%E5%AD%97%E3%80%82%20<br>
&lt;dael> fantasai: You treat it as ink overflow?<br>
&lt;dael> myles: I believe so.<br>
&lt;JohnDoe> Romoving word-break:break-word is big mistake https://github.com/w3c/csswg-drafts/issues/2390<br>
&lt;dael> fantasai: Test case^<br>
&lt;dael> fantasai: Add overflow scroll to it.<br>
&lt;JohnDoe> Github: https://github.com/w3c/csswg-drafts/issues/2390<br>
&lt;dael> myles: Not scrollable.<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/2398<br>
&lt;dael> [fiddling with test case]<br>
&lt;dael> myles: Inconclusive. I can't get anything to hang over.<br>
&lt;dael> florian: From PoV of editing with a single punct overflowing it wont be a big different. It's preferable scrollable.<br>
&lt;dael> myles: So it should be scrollable overflow and if it's a problem we can come back.<br>
&lt;dael> astearns: Sounds like we have consensus to define hanging punctuation as scrollable overflow.<br>
&lt;dael> astearns: Do we want a note about concerns?<br>
&lt;dael> fantasai: I think people can complain about it.<br>
&lt;dael> astearns: Objections to define hanging punctuation as scrollable overflow in all cases?<br>
&lt;dael> RESOLVED: define hanging punctuation as scrollable overflow in all cases<br>
&lt;fantasai> https://drafts.csswg.org/css-text-3/issues-lc-2013#issue-133<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/869<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/2398<br>
</details>


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

Received on Wednesday, 11 April 2018 12:22:22 UTC