[Masonry] Parse auto repeat with intrinsic minmax() [chromium/src : main]

0 views
Skip to first unread message

Ian Kilpatrick (Gerrit)

unread,
Feb 6, 2026, 4:22:12 AM (7 days ago) Feb 6
to Alison Maher, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from Alison Maher

Ian Kilpatrick voted and added 1 comment

Votes added by Ian Kilpatrick

Code-Review+1

1 comment

File third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
Line 6609, Patchset 2 (Latest): auto* function = DynamicTo<CSSFunctionValue>(value);
Ian Kilpatrick . unresolved

.nit const

Open in Gerrit

Related details

Attention is currently required from:
  • Alison Maher
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: Ia1f01858cc277c0ab04f091df37021bb909fda1e
Gerrit-Change-Number: 7549426
Gerrit-PatchSet: 2
Gerrit-Owner: Alison Maher <alm...@microsoft.com>
Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-Attention: Alison Maher <alm...@microsoft.com>
Gerrit-Comment-Date: Fri, 06 Feb 2026 09:21:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Alison Maher (Gerrit)

unread,
Feb 6, 2026, 12:28:56 PM (7 days ago) Feb 6
to Ian Kilpatrick, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

Alison Maher voted and added 1 comment

Votes added by Alison Maher

Commit-Queue+2

1 comment

File third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
Line 6609, Patchset 2: auto* function = DynamicTo<CSSFunctionValue>(value);
Ian Kilpatrick . resolved

.nit const

Alison Maher

Done (and added const to a few other similar spots)

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: Ia1f01858cc277c0ab04f091df37021bb909fda1e
    Gerrit-Change-Number: 7549426
    Gerrit-PatchSet: 3
    Gerrit-Owner: Alison Maher <alm...@microsoft.com>
    Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Comment-Date: Fri, 06 Feb 2026 17:28:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Ian Kilpatrick <ikilp...@chromium.org>
    satisfied_requirement
    open
    diffy

    Blink W3C Test Autoroller (Gerrit)

    unread,
    Feb 6, 2026, 12:37:54 PM (7 days ago) Feb 6
    to Alison Maher, Ian Kilpatrick, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

    Message from Blink W3C Test Autoroller

    Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/57622.

    When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.

    WPT Export docs:
    https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process

    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: Ia1f01858cc277c0ab04f091df37021bb909fda1e
    Gerrit-Change-Number: 7549426
    Gerrit-PatchSet: 3
    Gerrit-Owner: Alison Maher <alm...@microsoft.com>
    Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Comment-Date: Fri, 06 Feb 2026 17:37:47 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Feb 6, 2026, 1:40:43 PM (7 days ago) Feb 6
    to Alison Maher, Blink W3C Test Autoroller, Ian Kilpatrick, Menard, Alexis, chromium...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

    Chromium LUCI CQ submitted the change with unreviewed changes

    Unreviewed changes

    2 is the latest approved patch-set.
    The change was submitted with unreviewed changes in the following files:

    ```
    The name of the file: third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
    Insertions: 4, Deletions: 4.

    @@ -6575,14 +6575,14 @@
    }

    bool IsGridBreadthIntrinsicSized(const CSSValue& value) {
    - if (auto* identifier_value = DynamicTo<CSSIdentifierValue>(value)) {
    + if (const auto* identifier_value = DynamicTo<CSSIdentifierValue>(value)) {
    CSSValueID value_id = identifier_value->GetValueID();
    return value_id == CSSValueID::kAuto ||
    value_id == CSSValueID::kMinContent ||
    value_id == CSSValueID::kMaxContent;
    }

    - if (auto* function = DynamicTo<CSSFunctionValue>(value)) {
    + if (const auto* function = DynamicTo<CSSFunctionValue>(value)) {
    return function->FunctionType() == CSSValueID::kFitContent;
    }

    @@ -6594,7 +6594,7 @@
    }

    bool IsGridTrackFixedSized(const CSSValue& value) {
    - auto* function = DynamicTo<CSSFunctionValue>(value);
    + const auto* function = DynamicTo<CSSFunctionValue>(value);
    if (function && function->FunctionType() != CSSValueID::kFitContent) {
    const CSSValue& min_value = function->Item(0);
    const CSSValue& max_value = function->Item(1);
    @@ -6606,7 +6606,7 @@
    }

    bool IsGridTrackIntrinsicSized(const CSSValue& value) {
    - auto* function = DynamicTo<CSSFunctionValue>(value);
    + const auto* function = DynamicTo<CSSFunctionValue>(value);
    if (function && function->FunctionType() != CSSValueID::kFitContent) {
    const CSSValue& min_value = function->Item(0);
    const CSSValue& max_value = function->Item(1);
    ```

    Change information

    Commit message:
    [Masonry] Parse auto repeat with intrinsic minmax()

    In grid-lanes, we support intrinsic auto repeats. This means we need to
    support auto repeats with minmax() and intrinsic values for both the min
    and max breadth.

    For example, repeat(auto-fill, minmax(auto, auto).

    This change adds parsing support for this addition. The implementation
    of this will be done in a follow up change.
    Bug: 465744009, 343257585
    Change-Id: Ia1f01858cc277c0ab04f091df37021bb909fda1e
    Commit-Queue: Alison Maher <alm...@microsoft.com>
    Reviewed-by: Ian Kilpatrick <ikilp...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1580970}
    Files:
    • M third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
    • M third_party/blink/renderer/core/style/grid_track_size.h
    • M third_party/blink/web_tests/external/wpt/css/css-grid/parsing/grid-template-columns-invalid.html
    • M third_party/blink/web_tests/external/wpt/css/css-grid/parsing/grid-template-columns-repeat-intrinsic-valid.tentative.html
    • M third_party/blink/web_tests/external/wpt/css/css-grid/parsing/grid-template-rows-invalid.html
    • M third_party/blink/web_tests/external/wpt/css/css-grid/parsing/grid-template-rows-repeat-intrinsic-valid.tentative.html
    • M third_party/blink/web_tests/virtual/disable-css-grid-lanes-layout/external/wpt/css/css-grid/parsing/grid-template-columns-repeat-intrinsic-valid.tentative-expected.txt
    • M third_party/blink/web_tests/virtual/disable-css-grid-lanes-layout/external/wpt/css/css-grid/parsing/grid-template-rows-repeat-intrinsic-valid.tentative-expected.txt
    Change size: M
    Delta: 8 files changed, 59 insertions(+), 11 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Ian Kilpatrick
    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: Ia1f01858cc277c0ab04f091df37021bb909fda1e
    Gerrit-Change-Number: 7549426
    Gerrit-PatchSet: 4
    Gerrit-Owner: Alison Maher <alm...@microsoft.com>
    Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    open
    diffy
    satisfied_requirement

    Blink W3C Test Autoroller (Gerrit)

    unread,
    Feb 12, 2026, 12:35:29 PM (17 hours ago) Feb 12
    to Chromium LUCI CQ, Alison Maher, Ian Kilpatrick, Menard, Alexis, chromium...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

    Message from Blink W3C Test Autoroller

    The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/57622

    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: Ia1f01858cc277c0ab04f091df37021bb909fda1e
    Gerrit-Change-Number: 7549426
    Gerrit-PatchSet: 4
    Gerrit-Owner: Alison Maher <alm...@microsoft.com>
    Gerrit-Reviewer: Alison Maher <alm...@microsoft.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Comment-Date: Thu, 12 Feb 2026 17:35:24 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages