[WIP][gap-decorations] Allow gap decorations to apply to -webkit-box? [chromium/src : main]

0 views
Skip to first unread message

Ian Kilpatrick (Gerrit)

unread,
May 11, 2026, 7:20:13 PM (23 hours ago) May 11
to Kevin Babbitt, Sam Davis Omekara, Javier Fernandez, Menard, Alexis, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, devtools-re...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, zol...@webkit.org
Attention needed from Kevin Babbitt and Sam Davis Omekara

Ian Kilpatrick added 1 comment

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Ian Kilpatrick . unresolved

Sending this out for discussion. Should this happen?

Open in Gerrit

Related details

Attention is currently required from:
  • Kevin Babbitt
  • Sam Davis Omekara
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I70e74a4a2011d22e6a709da2df29ecea1cb54383
Gerrit-Change-Number: 7836744
Gerrit-PatchSet: 7
Gerrit-Owner: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Reviewer: Sam Davis Omekara <samome...@microsoft.com>
Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-Attention: Sam Davis Omekara <samome...@microsoft.com>
Gerrit-Attention: Kevin Babbitt <kbab...@microsoft.com>
Gerrit-Comment-Date: Mon, 11 May 2026 23:20:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Kevin Babbitt (Gerrit)

unread,
May 11, 2026, 7:38:28 PM (23 hours ago) May 11
to Ian Kilpatrick, Sam Davis Omekara, Javier Fernandez, Menard, Alexis, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, devtools-re...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, zol...@webkit.org
Attention needed from Ian Kilpatrick and Sam Davis Omekara

Kevin Babbitt voted and added 2 comments

Votes added by Kevin Babbitt

Code-Review+1

2 comments

Patchset-level comments
Ian Kilpatrick . unresolved

Sending this out for discussion. Should this happen?

Kevin Babbitt

I don't know `-webkit-box` well enough to have a strong opinion on whether it should. No objection provided it wouldn't cause an outsized maintenance burden.

File third_party/blink/web_tests/external/wpt/css/css-gaps/flex/webkit-box.tentative.html
Line 8, Patchset 8 (Latest): .webkit-box-container {
Kevin Babbitt . unresolved

Wondering if it would make sense to use `@supports` in this test so that it doesn't spuriously fail in implementations that don't support `-webkit-box`.

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
  • Sam Davis Omekara
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I70e74a4a2011d22e6a709da2df29ecea1cb54383
    Gerrit-Change-Number: 7836744
    Gerrit-PatchSet: 8
    Gerrit-Owner: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-Reviewer: Sam Davis Omekara <samome...@microsoft.com>
    Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Attention: Sam Davis Omekara <samome...@microsoft.com>
    Gerrit-Comment-Date: Mon, 11 May 2026 23:37:57 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sam Davis Omekara (Gerrit)

    unread,
    2:51 PM (3 hours ago) 2:51 PM
    to Ian Kilpatrick, Kevin Babbitt, Javier Fernandez, Menard, Alexis, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, devtools-re...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, zol...@webkit.org
    Attention needed from Ian Kilpatrick

    Sam Davis Omekara voted and added 1 comment

    Votes added by Sam Davis Omekara

    Code-Review+1

    1 comment

    Patchset-level comments
    Ian Kilpatrick . unresolved

    Sending this out for discussion. Should this happen?

    Kevin Babbitt

    I don't know `-webkit-box` well enough to have a strong opinion on whether it should. No objection provided it wouldn't cause an outsized maintenance burden.

    Sam Davis Omekara

    Wasn't familiar with `-webkit-box`, but after skimming online content, primarily this one: https://accreditly.io/articles/webkit-box-explained, I think we should consider supporting it, especially for legacy sites that may want to adopt gap decorations. Another argument for supporting is that it would help maintain consistency and reduce divergence between `-webkit-box` and `flex`.

    On the other side of the coin, most sources emphasize that `-webkit-box` is obsolete and non-standard, so extending new features to an outdated/ non-standard API could discourage migration to modern standardized APIs. Despite this, I lean toward supporting it for the sake of consistency and to better support legacy systems.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ian Kilpatrick
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I70e74a4a2011d22e6a709da2df29ecea1cb54383
    Gerrit-Change-Number: 7836744
    Gerrit-PatchSet: 9
    Gerrit-Owner: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Reviewer: Kevin Babbitt <kbab...@microsoft.com>
    Gerrit-Reviewer: Sam Davis Omekara <samome...@microsoft.com>
    Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-Comment-Date: Tue, 12 May 2026 18:50:50 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
    Comment-In-Reply-To: Kevin Babbitt <kbab...@microsoft.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ian Kilpatrick (Gerrit)

    unread,
    6:12 PM (3 minutes ago) 6:12 PM
    to Sam Davis Omekara, Kevin Babbitt, Javier Fernandez, Menard, Alexis, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, devtools-re...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, zol...@webkit.org

    Ian Kilpatrick voted and added 2 comments

    Votes added by Ian Kilpatrick

    Commit-Queue+2

    2 comments

    Patchset-level comments
    File-level comment, Patchset 7:
    Ian Kilpatrick . resolved

    Sending this out for discussion. Should this happen?

    Kevin Babbitt

    I don't know `-webkit-box` well enough to have a strong opinion on whether it should. No objection provided it wouldn't cause an outsized maintenance burden.

    Sam Davis Omekara

    Wasn't familiar with `-webkit-box`, but after skimming online content, primarily this one: https://accreditly.io/articles/webkit-box-explained, I think we should consider supporting it, especially for legacy sites that may want to adopt gap decorations. Another argument for supporting is that it would help maintain consistency and reduce divergence between `-webkit-box` and `flex`.

    On the other side of the coin, most sources emphasize that `-webkit-box` is obsolete and non-standard, so extending new features to an outdated/ non-standard API could discourage migration to modern standardized APIs. Despite this, I lean toward supporting it for the sake of consistency and to better support legacy systems.

    Ian Kilpatrick

    No objection provided it wouldn't cause an outsized maintenance burden.

    Yeah doesn't really create a maint. burden.

    Despite this, I lean toward supporting it for the sake of consistency and to better support legacy systems.

    My primary reason for supporting this is just for consistency with where "gap" is supported (e.g. if a mode supports "gap" is should support gap decorations), and it makes the mapping between flex & -webkit-box a simple as possible. Newer implementations don't need to explicitly disable it for example.

    I'll commit this. I suppose it goes under the meta bug of "what is -webkit-box".
    https://github.com/w3c/csswg-drafts/issues/1946

    File third_party/blink/web_tests/external/wpt/css/css-gaps/flex/webkit-box.tentative.html
    Line 8, Patchset 8: .webkit-box-container {
    Kevin Babbitt . resolved

    Wondering if it would make sense to use `@supports` in this test so that it doesn't spuriously fail in implementations that don't support `-webkit-box`.

    Ian Kilpatrick

    -webkit-box is required for web-compat at the moment (unfortunately).

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I70e74a4a2011d22e6a709da2df29ecea1cb54383
      Gerrit-Change-Number: 7836744
      Gerrit-PatchSet: 9
      Gerrit-Owner: Ian Kilpatrick <ikilp...@chromium.org>
      Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
      Gerrit-Reviewer: Kevin Babbitt <kbab...@microsoft.com>
      Gerrit-Reviewer: Sam Davis Omekara <samome...@microsoft.com>
      Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-Comment-Date: Tue, 12 May 2026 22:11:59 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
      Comment-In-Reply-To: Sam Davis Omekara <samome...@microsoft.com>
      Comment-In-Reply-To: Kevin Babbitt <kbab...@microsoft.com>
      satisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages