- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Apr 2025 13:32:21 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-gaps] Gap decorations with collapsed gutters`, and agreed to the following: * `RESOLVED: Suppress all but one decoration if gaps are coincident due to track collapsing, and use the same rules as border collapsing` <details><summary>The full IRC log of that discussion</summary> <fantasai> s/Topic/Subtopic/<br> <emeyer> kbabbitt: Oriol pointed out the way collapse tracks work in grid, when a track get collapsed, the gutters to either side overlap<br> <emeyer> …That’s fine if they’re empty, but will cause decorations to overlap<br> <emeyer> …I want to leave the definition of where gaps are to other specifications<br> <emeyer> …There are reasons to have overlapping gutters<br> <TabAtkins> q+<br> <emeyer> …But there could be an animation of a gutter collapsing down could cause weird discontiunities<br> <emeyer> …I’m leaning to leaving the behavior as is, since it seems to cause the fewest surprises<br> <astearns> ack TabAtkins<br> <emeyer> …But wanted to open the floor<br> <emeyer> TabAtkins: I don’t recall the reasons to have only a single gutter; can you restate?<br> <emeyer> kbabbitt: The PR that landed the change was that gutters can be detected by abspos elements within the grid<br> <emeyer> TabAtkins: Ah. I think we should suppress the display of one of the gutters when they overlap<br> <emeyer> …We could do it by making all but one of the gutters transparent<br> <emeyer> …I don’t think people would like overlapping multiple decorations<br> <emeyer> …We could say that if gutters overlap, all but one are transparent in some way, and could say that if they’re animated together, the transparent ones could be faded out<br> <emeyer> kbabbitt: Your proposal is to define this in gaps to say if two gutters are exactly coincdental, draw only one decoration<br> <emeyer> TabAtkins: Yes<br> <astearns> ack fantasai<br> <emeyer> …When a track collapses, and gutters are coincident, only one paint<br> <emeyer> fantasai: Collapsing a gap is binary right now; you’re either collapsed or you’re not<br> <emeyer> …I don’t know how we would even define otherwise<br> <emeyer> …I agree with Tab that we should paint only one<br> <emeyer> …We should do something similar to border-collapse rules, where you use whichever is most prominent<br> <emeyer> astearns: I did not know we had those rules!<br> <florian> q+<br> <emeyer> fantasai: I’m pretty cranky about the border-collapse code<br> <emeyer> …The rules about which border wins prioritize which style looks weirder<br> <emeyer> …Here, we don’t have a hierarchy for resolving conflicts<br> <emeyer> …If we ever have a region concept, we probably want the outermost border to win<br> <emeyer> …The boundary is most prominent, usually<br> <emeyer> astearns: Could there be decorations on the outside of subgrids that we should consider?<br> <oriol> BTW, rules for border collapsing conflicts are in https://drafts.csswg.org/css-tables/#border-specificity<br> <emeyer> fantasai: Yeah, if you have gap decorations that are more outside, they should get priority<br> <emeyer> kbabbitt: The conflicts rules in the context of tables are in the tables spec?<br> <emeyer> fantasai: They’re in CSS 2.1<br> <astearns> ack florian<br> <fantasai> https://www.w3.org/TR/CSS2/tables.html#border-conflict-resolution<br> <emeyer> kbabbitt: We’d just point to those<br> <emeyer> florian: I agree that tables got it wrong, because an edge is a specific thing<br> <emeyer> …I think saying the edges of a subgrid should win; parts that are special shoudl win ver parts that are generic<br> <emeyer> s/ver/over/<br> <emeyer> astearns: Any other comments or questions?<br> <emeyer> (silence)<br> <emeyer> Proposed resolution is that we’ll suppress all but one decoration if gaps are coincident due to collapsing<br> <emeyer> kbabbitt: I’d say for any reason<br> <emeyer> fantasai: If we end up with negatively sized tracks and decorations overlap, both should be painted<br> <emeyer> kbabbitt: Fair<br> <emeyer> astearns: And amend the resolution to say we’ll use the same rules as border collapsing<br> <emeyer> Objections?<br> <emeyer> (silence)<br> <oriol> In fact in flexbox you can have overlapping gaps with items with negative margins, right? So better restrict to collapsed gaps.<br> <emeyer> RESOLVED: Suppress all but one decoration if gaps are coincident due to track collapsing, and use the same rules as border collapsing<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11814#issuecomment-2775806736 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 April 2025 13:32:22 UTC