[masonry] Implement Grid Axis gaps (Main Gaps) for GridLanes [chromium/src : main]

1 view
Skip to first unread message

Javier Contreras (Gerrit)

unread,
Jul 17, 2026, 11:12:45 AM (11 days ago) Jul 17
to Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
Attention needed from Celeste Pan and Yanling Wang

Javier Contreras voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Celeste Pan
  • Yanling Wang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
Gerrit-Change-Number: 8111677
Gerrit-PatchSet: 7
Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-Attention: Celeste Pan <celes...@microsoft.com>
Gerrit-Attention: Yanling Wang <yanli...@microsoft.com>
Gerrit-Comment-Date: Fri, 17 Jul 2026 15:12:31 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Celeste Pan (Gerrit)

unread,
Jul 17, 2026, 5:52:57 PM (11 days ago) Jul 17
to Javier Contreras, Yanling Wang, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
Attention needed from Javier Contreras and Yanling Wang

Celeste Pan added 13 comments

Commit Message
Line 1, Patchset 7:Parent: 8977a266 ([Reference Target] Ship to Stable)
Celeste Pan . unresolved

Is this a functional change? If it is, can you remove tests from TestExpectations that this change covers?

File third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc
Line 1517, Patchset 7: //
Celeste Pan . unresolved

For my understanding, is this saying that even in the row direction for grid-lanes, we'll be using rows as the main gaps?

File third_party/blink/renderer/core/layout/grid/grid_layout_utils.h
Line 121, Patchset 7:// content edges.
Celeste Pan . unresolved

nit: this sentence was pretty confusing to me when I read it through, and it took me a couple reads; something like "If the input `track_collection` only has collect lines, this method will return safely with no gaps and zero content edges".

Line 119, Patchset 7:// so each visited line is a gap line.
Celeste Pan . unresolved

nit: formatting issue

File third_party/blink/renderer/core/layout/grid/grid_layout_utils.cc
Line 34, Patchset 7: if (!track_collection.HasNonCollapsedLine()) {
return gap_data;
}
Celeste Pan . unresolved

Do you want to be setting `gap_data.track_count` to `line_positions.size() - 1` if all the lines are collapsed? I'm not sure if that means you should put this above the setting of `gap_data.track_count`.

Line 59, Patchset 7: // outer edge is excluded naturally by the `line_index < end_line`
Celeste Pan . unresolved

For my understanding, if a range is from line 0-1, then we don't keep track of gaps for line 0 or line 1.

Then if the next range if from line 1-2, then we do keep track of line 1, but not line 2?

Line 68, Patchset 7: LayoutUnit(line_positions[line_index] - gutter_size / 2.0f)});
Celeste Pan . unresolved

Per the chromium style guide, can you either add an inline parameter comment or assign the 2.0f to a variable?

File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_gap_accumulator.h
Line 23, Patchset 7: void BuildMainGaps(const GridLayoutTrackCollection& grid_axis_tracks);
Celeste Pan . unresolved

It might be nice to have a comment just describing that the main gaps are the gaps parallel to the stacking axis, correlated with the tracks in the grid-axis, and perhaps a link from the spec. Just because it might not be immediately clear to someone.

Line 16, Patchset 7:// Builds gap-decoration geometry and related state for `GridLanes`
Celeste Pan . unresolved

"grid-lanes", since it might be misleading and someone may think there is a class called "GridLanes".

File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.h
Line 395, Patchset 7: const GapGeometry* gap_geometry_ = nullptr;
Celeste Pan . unresolved

Should this maybe be optional? Like the other variables that we aren't necessarily using.

File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.cc
Line 167, Patchset 7: !InvolvedInBlockFragmentation(container_builder_)) {
Celeste Pan . unresolved

Are we not doing gap decoration if fragmentation is involved, or is it something we plan to implement later? If we plan to implement it later, can you add a tracking TODO comment?

Line 256, Patchset 7: // Keep this geometry off the fragment until Grid Lanes paint and spanner
// support are ready to consume it.
Celeste Pan . unresolved

Also, it doesn't seem like this is describing any of the code above -- is this supposed to be a TODO?

File third_party/blink/renderer/core/style/computed_style.h
Line 1096, Patchset 7: // if we are not in a multicol, grid, Grid Lanes, or flex context.
Celeste Pan . unresolved

nit: 'grid lanes" to match the format of the other layouts you have int he comment.

Open in Gerrit

Related details

Attention is currently required from:
  • Javier Contreras
  • Yanling Wang
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
    Gerrit-Change-Number: 8111677
    Gerrit-PatchSet: 7
    Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
    Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
    Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
    Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
    Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Attention: Yanling Wang <yanli...@microsoft.com>
    Gerrit-Attention: Javier Contreras <javi...@microsoft.com>
    Gerrit-Comment-Date: Fri, 17 Jul 2026 21:52:46 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Javier Contreras (Gerrit)

    unread,
    Jul 20, 2026, 10:20:05 AM (8 days ago) Jul 20
    to Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
    Attention needed from Celeste Pan and Yanling Wang

    Javier Contreras added 4 comments

    Commit Message
    Line 1, Patchset 7:Parent: 8977a266 ([Reference Target] Ship to Stable)
    Celeste Pan . resolved

    Is this a functional change? If it is, can you remove tests from TestExpectations that this change covers?

    Javier Contreras

    This CL only deals with the layout side for MainGaps, there is no paint behavior wired in so there is no effect on any tests in TestExpectations

    File third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc
    Celeste Pan . resolved

    For my understanding, is this saying that even in the row direction for grid-lanes, we'll be using rows as the main gaps?

    Javier Contreras

    That is only for grid, this is a grid-only function, and for grid rows are always main gaps.

    File third_party/blink/renderer/core/layout/grid/grid_layout_utils.h
    Line 119, Patchset 7:// so each visited line is a gap line.
    Celeste Pan . resolved

    nit: formatting issue

    Javier Contreras

    Done

    File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.cc
    Line 256, Patchset 7: // Keep this geometry off the fragment until Grid Lanes paint and spanner
    // support are ready to consume it.
    Celeste Pan . resolved

    Also, it doesn't seem like this is describing any of the code above -- is this supposed to be a TODO?

    Javier Contreras

    Its only there because there is where we would actually commit the geometry to the fragment for when we want to wire in the paint side. Will add as TODO.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Celeste Pan
    • Yanling Wang
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
    Gerrit-Change-Number: 8111677
    Gerrit-PatchSet: 8
    Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
    Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
    Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
    Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
    Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Attention: Celeste Pan <celes...@microsoft.com>
    Gerrit-Attention: Yanling Wang <yanli...@microsoft.com>
    Gerrit-Comment-Date: Mon, 20 Jul 2026 14:19:51 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Celeste Pan <celes...@microsoft.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Javier Contreras (Gerrit)

    unread,
    Jul 20, 2026, 11:35:54 AM (8 days ago) Jul 20
    to Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
    Attention needed from Celeste Pan and Yanling Wang

    Javier Contreras added 9 comments

    File third_party/blink/renderer/core/layout/grid/grid_layout_utils.h
    Line 121, Patchset 7:// content edges.
    Celeste Pan . resolved

    nit: this sentence was pretty confusing to me when I read it through, and it took me a couple reads; something like "If the input `track_collection` only has collect lines, this method will return safely with no gaps and zero content edges".

    Javier Contreras

    Done

    File third_party/blink/renderer/core/layout/grid/grid_layout_utils.cc
    Line 34, Patchset 7: if (!track_collection.HasNonCollapsedLine()) {
    return gap_data;
    }
    Celeste Pan . resolved

    Do you want to be setting `gap_data.track_count` to `line_positions.size() - 1` if all the lines are collapsed? I'm not sure if that means you should put this above the setting of `gap_data.track_count`.

    Javier Contreras

    Yes, we do this intentionally. This preserves existing Grid behavior (from where we moved this logic). The count represents the full index space used by Grid’s segment-state aggregators which include collapsed tracks

    Line 59, Patchset 7: // outer edge is excluded naturally by the `line_index < end_line`
    Celeste Pan . resolved

    For my understanding, if a range is from line 0-1, then we don't keep track of gaps for line 0 or line 1.

    Then if the next range if from line 1-2, then we do keep track of line 1, but not line 2?

    Javier Contreras

    yes correct

    Line 68, Patchset 7: LayoutUnit(line_positions[line_index] - gutter_size / 2.0f)});
    Celeste Pan . resolved

    Per the chromium style guide, can you either add an inline parameter comment or assign the 2.0f to a variable?

    Javier Contreras

    Done

    File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_gap_accumulator.h
    Line 23, Patchset 7: void BuildMainGaps(const GridLayoutTrackCollection& grid_axis_tracks);
    Celeste Pan . resolved

    It might be nice to have a comment just describing that the main gaps are the gaps parallel to the stacking axis, correlated with the tracks in the grid-axis, and perhaps a link from the spec. Just because it might not be immediately clear to someone.

    Javier Contreras

    Done

    Line 16, Patchset 7:// Builds gap-decoration geometry and related state for `GridLanes`
    Celeste Pan . resolved

    "grid-lanes", since it might be misleading and someone may think there is a class called "GridLanes".

    Javier Contreras

    Done

    File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.h
    Line 395, Patchset 7: const GapGeometry* gap_geometry_ = nullptr;
    Celeste Pan . resolved

    Should this maybe be optional? Like the other variables that we aren't necessarily using.

    Javier Contreras

    In this case I would say probably not. A pointer already has the "nullable"/"exists" behavior that a std::optional has and the optional will end up using a little bit more memory.

    File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.cc
    Line 167, Patchset 7: !InvolvedInBlockFragmentation(container_builder_)) {
    Celeste Pan . resolved

    Are we not doing gap decoration if fragmentation is involved, or is it something we plan to implement later? If we plan to implement it later, can you add a tracking TODO comment?

    Javier Contreras

    we do support gap decor in fragmentation, just will be implemented later.

    File third_party/blink/renderer/core/style/computed_style.h
    Line 1096, Patchset 7: // if we are not in a multicol, grid, Grid Lanes, or flex context.
    Celeste Pan . resolved

    nit: 'grid lanes" to match the format of the other layouts you have int he comment.

    Javier Contreras

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Celeste Pan
    • Yanling Wang
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
      Gerrit-Change-Number: 8111677
      Gerrit-PatchSet: 9
      Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
      Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
      Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
      Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
      Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-Attention: Celeste Pan <celes...@microsoft.com>
      Gerrit-Attention: Yanling Wang <yanli...@microsoft.com>
      Gerrit-Comment-Date: Mon, 20 Jul 2026 15:35:41 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Yanling Wang (Gerrit)

      unread,
      Jul 20, 2026, 11:39:01 AM (8 days ago) Jul 20
      to Javier Contreras, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
      Attention needed from Celeste Pan and Javier Contreras

      Yanling Wang added 2 comments

      File third_party/blink/renderer/core/layout/gap/gap_geometry.cc
      Line 246, Patchset 8: // Grid Lanes does not construct cross gaps yet, so the content edges are
      Yanling Wang . unresolved

      nit: maybe start this comment with a todo? same as below.

      File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm_test.cc
      Line 2711, Patchset 8: grid-lanes-direction: row;
      Yanling Wang . unresolved

      nit: this can be removed. Since only `grid-template-rows` is set, the default `normal` keyword already resolves the track direction to rows.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Celeste Pan
      • Javier Contreras
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
        Gerrit-Change-Number: 8111677
        Gerrit-PatchSet: 9
        Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
        Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
        Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
        Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
        Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
        Gerrit-CC: Menard, Alexis <alexis...@intel.com>
        Gerrit-Attention: Celeste Pan <celes...@microsoft.com>
        Gerrit-Attention: Javier Contreras <javi...@microsoft.com>
        Gerrit-Comment-Date: Mon, 20 Jul 2026 15:38:45 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Javier Contreras (Gerrit)

        unread,
        Jul 20, 2026, 12:36:17 PM (8 days ago) Jul 20
        to Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
        Attention needed from Celeste Pan and Yanling Wang

        Javier Contreras added 2 comments

        File third_party/blink/renderer/core/layout/gap/gap_geometry.cc
        Line 246, Patchset 8: // Grid Lanes does not construct cross gaps yet, so the content edges are
        Yanling Wang . resolved

        nit: maybe start this comment with a todo? same as below.

        Javier Contreras

        Done

        File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm_test.cc
        Line 2711, Patchset 8: grid-lanes-direction: row;
        Yanling Wang . resolved

        nit: this can be removed. Since only `grid-template-rows` is set, the default `normal` keyword already resolves the track direction to rows.

        Javier Contreras

        Done

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Celeste Pan
        • Yanling Wang
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
          Gerrit-Change-Number: 8111677
          Gerrit-PatchSet: 10
          Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
          Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
          Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
          Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
          Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
          Gerrit-CC: Menard, Alexis <alexis...@intel.com>
          Gerrit-Attention: Celeste Pan <celes...@microsoft.com>
          Gerrit-Attention: Yanling Wang <yanli...@microsoft.com>
          Gerrit-Comment-Date: Mon, 20 Jul 2026 16:35:57 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Yanling Wang <yanli...@microsoft.com>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Celeste Pan (Gerrit)

          unread,
          Jul 20, 2026, 3:19:36 PM (8 days ago) Jul 20
          to Javier Contreras, Yanling Wang, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
          Attention needed from Javier Contreras and Yanling Wang

          Celeste Pan voted and added 1 comment

          Votes added by Celeste Pan

          Code-Review+1

          1 comment

          File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm_test.cc
          Line 2712, Patchset 10 (Latest): row-gap: 12px;
          Celeste Pan . unresolved

          Doesn't have to be this change, but could you in the future add a test where you don't specify row-gap, just "gap", and ensure we're still picking up the right gap size?

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Javier Contreras
          • Yanling Wang
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
            Gerrit-Change-Number: 8111677
            Gerrit-PatchSet: 10
            Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
            Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
            Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
            Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
            Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
            Gerrit-CC: Menard, Alexis <alexis...@intel.com>
            Gerrit-Attention: Yanling Wang <yanli...@microsoft.com>
            Gerrit-Attention: Javier Contreras <javi...@microsoft.com>
            Gerrit-Comment-Date: Mon, 20 Jul 2026 19:19:23 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Yanling Wang (Gerrit)

            unread,
            Jul 20, 2026, 4:28:41 PM (8 days ago) Jul 20
            to Javier Contreras, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
            Attention needed from Javier Contreras

            Yanling Wang voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Javier Contreras
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
              Gerrit-Change-Number: 8111677
              Gerrit-PatchSet: 10
              Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
              Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
              Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
              Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
              Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
              Gerrit-CC: Menard, Alexis <alexis...@intel.com>
              Gerrit-Attention: Javier Contreras <javi...@microsoft.com>
              Gerrit-Comment-Date: Mon, 20 Jul 2026 20:28:30 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Javier Contreras (Gerrit)

              unread,
              Jul 20, 2026, 5:12:30 PM (8 days ago) Jul 20
              to Alison Maher, Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
              Attention needed from Alison Maher

              Javier Contreras added 1 comment

              File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm_test.cc
              Celeste Pan . resolved

              Doesn't have to be this change, but could you in the future add a test where you don't specify row-gap, just "gap", and ensure we're still picking up the right gap size?

              Javier Contreras

              will do!

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Alison Maher
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                Gerrit-Change-Number: 8111677
                Gerrit-PatchSet: 10
                Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
                Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
                Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
                Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
                Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
                Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
                Gerrit-CC: Menard, Alexis <alexis...@intel.com>
                Gerrit-Attention: Alison Maher <alm...@microsoft.com>
                Gerrit-Comment-Date: Mon, 20 Jul 2026 21:12:18 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                Comment-In-Reply-To: Celeste Pan <celes...@microsoft.com>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Alison Maher (Gerrit)

                unread,
                Jul 21, 2026, 4:09:40 PM (7 days ago) Jul 21
                to Javier Contreras, Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
                Attention needed from Javier Contreras

                Alison Maher added 12 comments

                File third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc
                Line 1538, Patchset 10: for (const auto& gap : row_gap_data_.gaps) {
                gap_geometry_->AddMainGap(gap.center_offset);
                }
                Alison Maher . unresolved

                Can we pass the gap geo into the ComputeGridTrackGapData helper so we don't need to loop back over to add the gaps and can add as we go? Same question elsewhere

                File third_party/blink/renderer/core/layout/grid/grid_layout_utils.h
                Line 123, Patchset 10:// A collection with no non-collapsed lines returns no gaps and zero-valued
                Alison Maher . unresolved

                nit: is it worth noting what happens with collapsed cases, or is that handled elsewhere?

                Line 16, Patchset 10:#include "third_party/blink/renderer/platform/wtf/vector.h"
                Alison Maher . unresolved

                I'm actually surprised this is needed. Calling it out to double check, but totally ok to leave if nothing else is including this

                File third_party/blink/renderer/core/layout/grid/grid_layout_utils.cc
                Line 57, Patchset 10: // Track ranges are half-open, but each range visits its leading line as the
                // preceding gap. Thus [0, 1) skips outer line 0 and emits nothing, while
                // [1, 2) emits interior line 1; `< end_line` excludes outer line 2.
                // Collapsed ranges were skipped above.
                Alison Maher . unresolved

                nit: The original comment for this was slightly easier for me to follow:

                "// The first non-collapsed range's leading line is the outer edge of
                // the grid content, so it's not a gap and we skip it. The trailing


                // outer edge is excluded naturally by the `line_index < end_line`

                // bound on the inner loop below."

                File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_gap_accumulator.h
                Line 17, Patchset 13 (Latest):class CORE_EXPORT GridLanesGapAccumulator {
                Alison Maher . unresolved

                As a separate change, it might make sense to move grid's gap accumulator to its own file at this point to match.

                Line 25, Patchset 10: // third_party/blink/renderer/core/layout/gap/README.md` for Blink's
                Alison Maher . unresolved

                Non-blocking for this change, but do you plan to update the README with how things will work in grid lanes (for main should be as simple as look at grid, but I guess cross gaps will end up being fairly unique)

                File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_gap_accumulator.cc
                Line 17, Patchset 13 (Latest):void GridLanesGapAccumulator::BuildMainGaps(
                Alison Maher . unresolved

                Any code we can share with https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc;l=1519;drc=b251030f22d6810f6755262d2182316f60552d60

                Not sure if it would be helpful to have this based on the grid accumulator to get some of it for free, and then override the cross gaps portion

                File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.cc
                Line 22, Patchset 13 (Latest):#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
                Alison Maher . unresolved

                nit: This is another one that may be worth double checking isn't already included by something else, but completely ok to keep if not

                Line 247, Patchset 13 (Latest): const auto& border_scrollbar_padding = BorderScrollbarPadding();
                Alison Maher . unresolved

                This can be moved up earlier to be used in other spots of the code

                Line 252, Patchset 13 (Latest): is_for_columns ? block_size - border_scrollbar_padding.block_end
                Alison Maher . unresolved

                Will this always be the right value? What if items overflow the container?

                Line 256, Patchset 13 (Latest): gap_geometry_ = gap_accumulator->Finalize(stacking_content_start,
                Alison Maher . unresolved

                Would it make sense to call this FinalizeGapGeometry similar to what this is called in grid

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Javier Contreras
                Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                  Gerrit-Change-Number: 8111677
                  Gerrit-PatchSet: 13
                  Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
                  Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
                  Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
                  Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
                  Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
                  Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
                  Gerrit-CC: Menard, Alexis <alexis...@intel.com>
                  Gerrit-Attention: Javier Contreras <javi...@microsoft.com>
                  Gerrit-Comment-Date: Tue, 21 Jul 2026 20:09:26 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Javier Contreras (Gerrit)

                  unread,
                  Jul 22, 2026, 12:21:22 PM (6 days ago) Jul 22
                  to Alison Maher, Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
                  Attention needed from Alison Maher

                  Javier Contreras added 12 comments

                  File third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc
                  Line 1538, Patchset 10: for (const auto& gap : row_gap_data_.gaps) {
                  gap_geometry_->AddMainGap(gap.center_offset);
                  }
                  Alison Maher . unresolved

                  Can we pass the gap geo into the ComputeGridTrackGapData helper so we don't need to loop back over to add the gaps and can add as we go? Same question elsewhere

                  Javier Contreras

                  We intentionally make it geo-agnostic because Grid lanes and Grid consume the track data slightly differently right now, so we wouldnt be able to just straight up move this there and have grid and grid lanes add their gaps the same way. We could maybe then pass a parameter for the container type and branch on that, or a callback per container type. These seem like overkill though for an extra linear pass. What do you think?

                  File third_party/blink/renderer/core/layout/grid/grid_layout_utils.h
                  Line 123, Patchset 10:// A collection with no non-collapsed lines returns no gaps and zero-valued
                  Alison Maher . resolved

                  nit: is it worth noting what happens with collapsed cases, or is that handled elsewhere?

                  Javier Contreras

                  With collapsed cases we emit no gaps for those. Or do you mean something else?

                  Line 16, Patchset 10:#include "third_party/blink/renderer/platform/wtf/vector.h"
                  Alison Maher . resolved

                  I'm actually surprised this is needed. Calling it out to double check, but totally ok to leave if nothing else is including this

                  Javier Contreras

                  good catch!

                  File third_party/blink/renderer/core/layout/grid/grid_layout_utils.cc
                  Line 57, Patchset 10: // Track ranges are half-open, but each range visits its leading line as the
                  // preceding gap. Thus [0, 1) skips outer line 0 and emits nothing, while
                  // [1, 2) emits interior line 1; `< end_line` excludes outer line 2.
                  // Collapsed ranges were skipped above.
                  Alison Maher . resolved

                  nit: The original comment for this was slightly easier for me to follow:

                  "// The first non-collapsed range's leading line is the outer edge of
                  // the grid content, so it's not a gap and we skip it. The trailing
                  // outer edge is excluded naturally by the `line_index < end_line`
                  // bound on the inner loop below."

                  Javier Contreras

                  Done

                  File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_gap_accumulator.h
                  Line 17, Patchset 13:class CORE_EXPORT GridLanesGapAccumulator {
                  Alison Maher . resolved

                  As a separate change, it might make sense to move grid's gap accumulator to its own file at this point to match.

                  Javier Contreras

                  Will do in a separate change.

                  Line 25, Patchset 10: // third_party/blink/renderer/core/layout/gap/README.md` for Blink's
                  Alison Maher . resolved

                  Non-blocking for this change, but do you plan to update the README with how things will work in grid lanes (for main should be as simple as look at grid, but I guess cross gaps will end up being fairly unique)

                  Javier Contreras

                  yes will update there in a separate CL.

                  File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_gap_accumulator.cc
                  Line 17, Patchset 13:void GridLanesGapAccumulator::BuildMainGaps(
                  Alison Maher . resolved

                  Any code we can share with https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc;l=1519;drc=b251030f22d6810f6755262d2182316f60552d60

                  Not sure if it would be helpful to have this based on the grid accumulator to get some of it for free, and then override the cross gaps portion

                  Javier Contreras

                  There is some but not a lot: Grid fixes rows as main direction, aggregates spanning-item states (which will be done ver differently in grid lanes), and finalizes both axes.

                  In Grid-lanes selects its main direction dynamically,similar to flex, and also we currently don't have cross gaps, but those will also be very different from Grid. We'd need to refactor the grid one heavily so we can use grid lanes with it as well, and there wouldnt be that much for us to reuse.

                  Line 43, Patchset 13: if (gap_geometry_->GetMainDirection() == kForColumns) {
                  Alison Maher . resolved
                  Javier Contreras

                  Similarly, there is a lot of grid-only logic there (specifically about ranges) so ther's not that much we can reuse to be honest. Definitely not enough to warrant subclassing, honestly outside of conceptually the grid-axis gaps, not much will be shared between grid and grid lanes, since cross gaps are so different and the way we deal with spanners will be very different as well.

                  As far as I could tell, the most we could easily reuse was what i refactored already in this CL.

                  File third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.cc
                  Line 22, Patchset 13:#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
                  Alison Maher . resolved

                  nit: This is another one that may be worth double checking isn't already included by something else, but completely ok to keep if not

                  Javier Contreras

                  Done

                  Line 247, Patchset 13: const auto& border_scrollbar_padding = BorderScrollbarPadding();
                  Alison Maher . resolved

                  This can be moved up earlier to be used in other spots of the code

                  Javier Contreras

                  Done

                  Line 252, Patchset 13: is_for_columns ? block_size - border_scrollbar_padding.block_end
                  Alison Maher . resolved

                  Will this always be the right value? What if items overflow the container?

                  Javier Contreras

                  Done

                  Line 256, Patchset 13: gap_geometry_ = gap_accumulator->Finalize(stacking_content_start,
                  Alison Maher . resolved

                  Would it make sense to call this FinalizeGapGeometry similar to what this is called in grid

                  Javier Contreras

                  Done

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Alison Maher
                  Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                  Gerrit-Change-Number: 8111677
                  Gerrit-PatchSet: 14
                  Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
                  Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
                  Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
                  Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
                  Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
                  Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
                  Gerrit-CC: Menard, Alexis <alexis...@intel.com>
                  Gerrit-Attention: Alison Maher <alm...@microsoft.com>
                  Gerrit-Comment-Date: Wed, 22 Jul 2026 16:21:07 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  Comment-In-Reply-To: Alison Maher <alm...@microsoft.com>
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Alison Maher (Gerrit)

                  unread,
                  Jul 23, 2026, 1:04:06 PM (5 days ago) Jul 23
                  to Javier Contreras, Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
                  Attention needed from Javier Contreras

                  Alison Maher added 2 comments

                  File third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc
                  Line 1538, Patchset 10: for (const auto& gap : row_gap_data_.gaps) {
                  gap_geometry_->AddMainGap(gap.center_offset);
                  }
                  Alison Maher . unresolved

                  Can we pass the gap geo into the ComputeGridTrackGapData helper so we don't need to loop back over to add the gaps and can add as we go? Same question elsewhere

                  Javier Contreras

                  We intentionally make it geo-agnostic because Grid lanes and Grid consume the track data slightly differently right now, so we wouldnt be able to just straight up move this there and have grid and grid lanes add their gaps the same way. We could maybe then pass a parameter for the container type and branch on that, or a callback per container type. These seem like overkill though for an extra linear pass. What do you think?

                  Alison Maher

                  Chatted offline for a way to make this potentially doable

                  File third_party/blink/renderer/core/layout/grid/grid_layout_utils.h
                  Line 123, Patchset 10:// A collection with no non-collapsed lines returns no gaps and zero-valued
                  Alison Maher . unresolved

                  nit: is it worth noting what happens with collapsed cases, or is that handled elsewhere?

                  Javier Contreras

                  With collapsed cases we emit no gaps for those. Or do you mean something else?

                  Alison Maher

                  Oh that was a double negative, reading it again I guess what is there is fine. Thought it was commenting about the non-collapsed scenario, and figured we may want to mention the collapsed scenario too.

                  Might be worth updating to say "A collection with only collapsed tracks returns..."

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Javier Contreras
                  Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                  Gerrit-Change-Number: 8111677
                  Gerrit-PatchSet: 14
                  Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
                  Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
                  Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
                  Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
                  Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
                  Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
                  Gerrit-CC: Menard, Alexis <alexis...@intel.com>
                  Gerrit-Attention: Javier Contreras <javi...@microsoft.com>
                  Gerrit-Comment-Date: Thu, 23 Jul 2026 17:03:35 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  Comment-In-Reply-To: Alison Maher <alm...@microsoft.com>
                  Comment-In-Reply-To: Javier Contreras <javi...@microsoft.com>
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Javier Contreras (Gerrit)

                  unread,
                  Jul 23, 2026, 2:42:55 PM (5 days ago) Jul 23
                  to Alison Maher, Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
                  Attention needed from Alison Maher

                  Javier Contreras added 2 comments

                  File third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc
                  Line 1538, Patchset 10: for (const auto& gap : row_gap_data_.gaps) {
                  gap_geometry_->AddMainGap(gap.center_offset);
                  }
                  Alison Maher . resolved

                  Can we pass the gap geo into the ComputeGridTrackGapData helper so we don't need to loop back over to add the gaps and can add as we go? Same question elsewhere

                  Javier Contreras

                  We intentionally make it geo-agnostic because Grid lanes and Grid consume the track data slightly differently right now, so we wouldnt be able to just straight up move this there and have grid and grid lanes add their gaps the same way. We could maybe then pass a parameter for the container type and branch on that, or a callback per container type. These seem like overkill though for an extra linear pass. What do you think?

                  Alison Maher

                  Chatted offline for a way to make this potentially doable

                  Javier Contreras

                  Done

                  File third_party/blink/renderer/core/layout/grid/grid_layout_utils.h
                  Line 123, Patchset 10:// A collection with no non-collapsed lines returns no gaps and zero-valued
                  Alison Maher . resolved

                  nit: is it worth noting what happens with collapsed cases, or is that handled elsewhere?

                  Javier Contreras

                  With collapsed cases we emit no gaps for those. Or do you mean something else?

                  Alison Maher

                  Oh that was a double negative, reading it again I guess what is there is fine. Thought it was commenting about the non-collapsed scenario, and figured we may want to mention the collapsed scenario too.

                  Might be worth updating to say "A collection with only collapsed tracks returns..."

                  Javier Contreras

                  Done

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Alison Maher
                  Submit Requirements:
                    • requirement satisfiedCode-Coverage
                    • requirement is not 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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                    Gerrit-Change-Number: 8111677
                    Gerrit-PatchSet: 16
                    Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
                    Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
                    Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
                    Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
                    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
                    Gerrit-Attention: Alison Maher <alm...@microsoft.com>
                    Gerrit-Comment-Date: Thu, 23 Jul 2026 18:42:45 +0000
                    satisfied_requirement
                    unsatisfied_requirement
                    open
                    diffy

                    Alison Maher (Gerrit)

                    unread,
                    Jul 23, 2026, 2:45:59 PM (5 days ago) Jul 23
                    to Javier Contreras, Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org
                    Attention needed from Javier Contreras

                    Alison Maher voted Code-Review+1

                    Code-Review+1
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Javier Contreras
                    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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                    Gerrit-Change-Number: 8111677
                    Gerrit-PatchSet: 16
                    Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
                    Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
                    Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
                    Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
                    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
                    Gerrit-Attention: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Comment-Date: Thu, 23 Jul 2026 18:45:47 +0000
                    Gerrit-HasComments: No
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    open
                    diffy

                    Javier Contreras (Gerrit)

                    unread,
                    Jul 24, 2026, 10:13:35 AM (4 days ago) Jul 24
                    to Alison Maher, Yanling Wang, Celeste Pan, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org

                    Javier Contreras voted Commit-Queue+2

                    Commit-Queue+2
                    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: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                    Gerrit-Change-Number: 8111677
                    Gerrit-PatchSet: 16
                    Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
                    Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
                    Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
                    Gerrit-CC: Javier Fernandez <jfern...@igalia.com>
                    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
                    Gerrit-Comment-Date: Fri, 24 Jul 2026 14:13:06 +0000
                    Gerrit-HasComments: No
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    open
                    diffy

                    Chromium LUCI CQ (Gerrit)

                    unread,
                    Jul 24, 2026, 10:29:19 AM (4 days ago) Jul 24
                    to Javier Contreras, Alison Maher, Yanling Wang, Celeste Pan, Menard, Alexis, chromium...@chromium.org, Javier Fernandez, apavlo...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, zol...@webkit.org

                    Chromium LUCI CQ submitted the change

                    Change information

                    Commit message:
                    [masonry] Implement Grid Axis gaps (Main Gaps) for GridLanes

                    This CL implements basic grid axis gaps for grid lanes, and lays out the
                    groundwork for grid lanes gap decorations. Follow up CLs will deal with
                    spanners, painting, cross gaps etc. This CL only deals with the Layout
                    side of the implementation.

                    In order to achieve this we repurpose a utility that Grid used for the
                    same purpose and we move it to a utils file. It builds the `MainGaps` in
                    O(# of tracks) time.
                    Bug: 343257585
                    Change-Id: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                    Commit-Queue: Javier Contreras <javi...@microsoft.com>
                    Reviewed-by: Alison Maher <alm...@microsoft.com>
                    Reviewed-by: Yanling Wang <yanli...@microsoft.com>
                    Reviewed-by: Celeste Pan <celes...@microsoft.com>
                    Cr-Commit-Position: refs/heads/main@{#1667838}
                    Files:
                    • M third_party/blink/renderer/core/css/css_gap_decoration_property_utils.cc
                    • M third_party/blink/renderer/core/layout/build.gni
                    • M third_party/blink/renderer/core/layout/gap/gap_geometry.cc
                    • M third_party/blink/renderer/core/layout/gap/gap_geometry.h
                    • M third_party/blink/renderer/core/layout/grid/grid_layout_algorithm.cc
                    • M third_party/blink/renderer/core/layout/grid/grid_layout_utils.cc
                    • M third_party/blink/renderer/core/layout/grid/grid_layout_utils.h
                    • A third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_gap_accumulator.cc
                    • A third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_gap_accumulator.h
                    • M third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.cc
                    • M third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm.h
                    • M third_party/blink/renderer/core/layout/grid_lanes/grid_lanes_layout_algorithm_test.cc
                    • M third_party/blink/renderer/core/style/computed_style.h
                    • M third_party/blink/renderer/core/style/computed_style_test.cc
                    Change size: L
                    Delta: 14 files changed, 673 insertions(+), 119 deletions(-)
                    Branch: refs/heads/main
                    Submit Requirements:
                    • requirement satisfiedCode-Review: +1 by Alison Maher, +1 by Yanling Wang, +1 by Celeste Pan
                    Open in Gerrit
                    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                    Gerrit-MessageType: merged
                    Gerrit-Project: chromium/src
                    Gerrit-Branch: main
                    Gerrit-Change-Id: Ibf7c862e80326d2878e54900b6e539eb1d5a0d53
                    Gerrit-Change-Number: 8111677
                    Gerrit-PatchSet: 17
                    Gerrit-Owner: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
                    Gerrit-Reviewer: Celeste Pan <celes...@microsoft.com>
                    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
                    Gerrit-Reviewer: Javier Contreras <javi...@microsoft.com>
                    Gerrit-Reviewer: Yanling Wang <yanli...@microsoft.com>
                    open
                    diffy
                    satisfied_requirement
                    Reply all
                    Reply to author
                    Forward
                    0 new messages