You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CSS Working Group just discussed Are text decorations visual overflow or layout overflow?, and agreed to the following:
RESOLVED: text decoration is considered ink overflow and not layout
The full IRC log of that discussion
<dael> Topic: Are text decorations visual overflow or layout overflow?
<dael> github: https://github.com//issues/3272
<dael> Rossen: Raised by myles, fantasai added
<dael> fantasai: myles and I agree it should be ink overflow. Wnat to confirm with WG. I think add to L3 and L4
<dael> Rossen: Implication is if you're editing and at the end of a scrollable paragraph and what I type in becomes underlined because syntax I won't be able to see that by scrollbar.
<dael> fantasai: If you choose and offset that places underline outside of linebox.
<dael> fantasai: Underline typicially in linebox and that's within scrollable. You'd have to place the underline below the line height before it disappears
<dael> Rossen: Trying to understand if we're okay with that
<dbaron_> It might also be fun to define what element they're overflow from.
<dael> fantasai: I think it's fine. If you're placing the underline that low you're asking for trouble
<dbaron_> But happy with ink overflow, I think
<dael> Rossen: [Reads dbaron_ ]
<dael> fantasai: Given painted at same layer as text, should overflow from element painting the text
<dael> Rossen: Certainly content layer of the scroller...let's see
<fantasai> https://www.w3.org/TR/CSS2/zindex.html#each-box
<dael> Rossen: Should be container of element with text.
<dael> Rossen: Objections to resolving on definition that text decoration is considered ink overflow and not layout
<dael> RESOLVED: text decoration is considered ink overflow and not layout
Neither the level 3 spec nor the level 4 spec mentions the word "overflow."
Now that we can place underlines in arbitrary places, we need to decide if they cause scrollbars or not.
It's easier to implement if they don't. But underlines do provide semantic meaning to text.
The text was updated successfully, but these errors were encountered: