[list-style-position-quirk] Change `<li>` to match the spec [chromium/src : main]

1 view
Skip to first unread message

Koji Ishii (Gerrit)

unread,
Jul 4, 2025, 2:09:03 AM7/4/25
to Anders Hartvoll Ruud, AyeAye, Chromium LUCI CQ, Alexis Menard, chromium...@chromium.org, zol...@webkit.org, feature-me...@chromium.org, blink-revi...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
Attention needed from Anders Hartvoll Ruud

Koji Ishii voted and added 2 comments

Votes added by Koji Ishii

Commit-Queue+1

2 comments

Patchset-level comments
File third_party/blink/renderer/core/html/resources/quirks.css
Line 66, Patchset 12 (Latest): /* The `:is()` hits `DCHECK(default_html_quirks_style_->UniversalRules().empty())` */
Koji Ishii . unresolved

I'm not sure why `:is()` in `quirks.css` causes `DCHECK(default_html_quirks_style_->UniversalRules().empty())` in `VerifyUniversalRuleCount()`. `:is()` isn't a universal selector, is it? Also, `html.css` has `:is()` without problems. Can you advise?

Open in Gerrit

Related details

Attention is currently required from:
  • Anders Hartvoll Ruud
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: I0333a2d9b236ab7258a4a05d60344456e77e2551
Gerrit-Change-Number: 6704424
Gerrit-PatchSet: 12
Gerrit-Owner: Koji Ishii <ko...@chromium.org>
Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
Gerrit-Reviewer: Koji Ishii <ko...@chromium.org>
Gerrit-CC: Alexis Menard <alexis...@intel.com>
Gerrit-Attention: Anders Hartvoll Ruud <and...@chromium.org>
Gerrit-Comment-Date: Fri, 04 Jul 2025 06:08:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Anders Hartvoll Ruud (Gerrit)

unread,
Jul 4, 2025, 5:05:46 AM7/4/25
to Koji Ishii, AyeAye, Chromium LUCI CQ, Alexis Menard, chromium...@chromium.org, zol...@webkit.org, feature-me...@chromium.org, blink-revi...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
Attention needed from Koji Ishii

Anders Hartvoll Ruud voted and added 4 comments

Votes added by Anders Hartvoll Ruud

Code-Review+1

4 comments

Commit Message
Line 17, Patchset 12 (Latest):This patch changes to match the WebKit. In particular:
Anders Hartvoll Ruud . unresolved

```suggestion
This patch changes to match the WebKit behavior. In particular:
```

Line 21, Patchset 12 (Latest):* Implements the styles for quirks mode in the [HTML spec][1]
to mitigate the risk of web-compat. ~0.8%[3] still hits the
code path.
Anders Hartvoll Ruud . unresolved

And despite this, you're comfortable doing this without running it by API_OWNERS since it's aligning with both others browsers, I assume.

File third_party/blink/renderer/core/html/resources/quirks.css
Line 66, Patchset 12 (Latest): /* The `:is()` hits `DCHECK(default_html_quirks_style_->UniversalRules().empty())` */
Koji Ishii . resolved

I'm not sure why `:is()` in `quirks.css` causes `DCHECK(default_html_quirks_style_->UniversalRules().empty())` in `VerifyUniversalRuleCount()`. `:is()` isn't a universal selector, is it? Also, `html.css` has `:is()` without problems. Can you advise?

Anders Hartvoll Ruud

Yeah, the `UniversalRules` _bucket_ contains more than just universal rules; it contains any rule that we were not able to place in a more narrow bucket. For example, the selector `:not(.a)` isn't strictly _universal_, but it still goes in the universal bucket, since we have no concept of bucketing for "consider everything except .a".

`:is(dir, menu, ol, ul)` can not be placed in a more narrow bucket, because we need to place it in _exactly one_ of the [dir, menu, ol, ul] buckets; we don't yet have a concept of "multi-bucketing", though sesse@ has been considering something like that lately.

Also, html.css has :is() without problems.

That's because it's using `:is()` in a non-subject position; only the rightmost compound selector matters for bucketing. This means that you should able to refactor your last selector list behemoth into the following without hitting a DCHECK:

```
:is(dir, menu, ol, ul) dir,
:is(dir, menu, ol, ul) menu,
:is(dir, menu, ol, ul) ol,
:is(dir, menu, ol, ul) ul,
:is(dir, menu, ol, ul) li
```

I'll leave it up to you whether or not you think that's an improvement. :-)

File third_party/blink/renderer/platform/runtime_enabled_features.json5
Line 2864, Patchset 12 (Latest): name: "ListStylePositionQuirk",
Anders Hartvoll Ruud . unresolved

The name was a bit confusing at first. If I understand this correctly, disabling this flag doesn't remove the quirk (from quirks mode), but instead applies the quirky behavior (the old behavior) to standards mode _as well_.

I would at least comment that this doesn't just toggle behavior in quirks mode, but also affects whether or not we follow the standard in regular mode.

Open in Gerrit

Related details

Attention is currently required from:
  • Koji Ishii
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I0333a2d9b236ab7258a4a05d60344456e77e2551
    Gerrit-Change-Number: 6704424
    Gerrit-PatchSet: 12
    Gerrit-Owner: Koji Ishii <ko...@chromium.org>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Koji Ishii <ko...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Attention: Koji Ishii <ko...@chromium.org>
    Gerrit-Comment-Date: Fri, 04 Jul 2025 09:05:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Koji Ishii <ko...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Koji Ishii (Gerrit)

    unread,
    Jul 4, 2025, 6:02:36 AM7/4/25
    to Anders Hartvoll Ruud, AyeAye, Chromium LUCI CQ, Alexis Menard, chromium...@chromium.org, zol...@webkit.org, feature-me...@chromium.org, blink-revi...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org

    Koji Ishii added 5 comments

    Patchset-level comments
    File-level comment, Patchset 15 (Latest):
    Koji Ishii . resolved

    Thank you for the prompt review as always.

    Commit Message
    Line 17, Patchset 12:This patch changes to match the WebKit. In particular:
    Anders Hartvoll Ruud . resolved

    ```suggestion
    This patch changes to match the WebKit behavior. In particular:
    ```

    Koji Ishii

    Done

    Line 21, Patchset 12:* Implements the styles for quirks mode in the [HTML spec][1]

    to mitigate the risk of web-compat. ~0.8%[3] still hits the
    code path.
    Anders Hartvoll Ruud . resolved

    And despite this, you're comfortable doing this without running it by API_OWNERS since it's aligning with both others browsers, I assume.

    Koji Ishii

    Yes, I believe this is fine, this is an interop-2025 item.

    File third_party/blink/renderer/core/html/resources/quirks.css
    Line 66, Patchset 12: /* The `:is()` hits `DCHECK(default_html_quirks_style_->UniversalRules().empty())` */
    Koji Ishii . resolved

    I'm not sure why `:is()` in `quirks.css` causes `DCHECK(default_html_quirks_style_->UniversalRules().empty())` in `VerifyUniversalRuleCount()`. `:is()` isn't a universal selector, is it? Also, `html.css` has `:is()` without problems. Can you advise?

    Anders Hartvoll Ruud

    Yeah, the `UniversalRules` _bucket_ contains more than just universal rules; it contains any rule that we were not able to place in a more narrow bucket. For example, the selector `:not(.a)` isn't strictly _universal_, but it still goes in the universal bucket, since we have no concept of bucketing for "consider everything except .a".

    `:is(dir, menu, ol, ul)` can not be placed in a more narrow bucket, because we need to place it in _exactly one_ of the [dir, menu, ol, ul] buckets; we don't yet have a concept of "multi-bucketing", though sesse@ has been considering something like that lately.

    Also, html.css has :is() without problems.

    That's because it's using `:is()` in a non-subject position; only the rightmost compound selector matters for bucketing. This means that you should able to refactor your last selector list behemoth into the following without hitting a DCHECK:

    ```
    :is(dir, menu, ol, ul) dir,
    :is(dir, menu, ol, ul) menu,
    :is(dir, menu, ol, ul) ol,
    :is(dir, menu, ol, ul) ul,
    :is(dir, menu, ol, ul) li
    ```

    I'll leave it up to you whether or not you think that's an improvement. :-)

    Koji Ishii

    Understand, thank you for the explanation! I'll take your suggestion as it's easier to find errors for me.

    File third_party/blink/renderer/platform/runtime_enabled_features.json5
    Line 2864, Patchset 12: name: "ListStylePositionQuirk",
    Anders Hartvoll Ruud . resolved

    The name was a bit confusing at first. If I understand this correctly, disabling this flag doesn't remove the quirk (from quirks mode), but instead applies the quirky behavior (the old behavior) to standards mode _as well_.

    I would at least comment that this doesn't just toggle behavior in quirks mode, but also affects whether or not we follow the standard in regular mode.

    Koji Ishii

    Appended "Standard", and also added comment. Hope it's clearer.

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    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: I0333a2d9b236ab7258a4a05d60344456e77e2551
    Gerrit-Change-Number: 6704424
    Gerrit-PatchSet: 15
    Gerrit-Owner: Koji Ishii <ko...@chromium.org>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Koji Ishii <ko...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Comment-Date: Fri, 04 Jul 2025 10:02:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Koji Ishii <ko...@chromium.org>
    Comment-In-Reply-To: Anders Hartvoll Ruud <and...@chromium.org>
    satisfied_requirement
    open
    diffy

    Koji Ishii (Gerrit)

    unread,
    Jul 4, 2025, 8:49:52 AM7/4/25
    to Anders Hartvoll Ruud, AyeAye, Chromium LUCI CQ, Alexis Menard, chromium...@chromium.org, zol...@webkit.org, feature-me...@chromium.org, blink-revi...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org

    Koji Ishii 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
    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: I0333a2d9b236ab7258a4a05d60344456e77e2551
    Gerrit-Change-Number: 6704424
    Gerrit-PatchSet: 16
    Gerrit-Owner: Koji Ishii <ko...@chromium.org>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Koji Ishii <ko...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-Comment-Date: Fri, 04 Jul 2025 12:49:18 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jul 4, 2025, 8:53:10 AM7/4/25
    to Koji Ishii, Anders Hartvoll Ruud, AyeAye, Alexis Menard, chromium...@chromium.org, zol...@webkit.org, feature-me...@chromium.org, blink-revi...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org

    Chromium LUCI CQ submitted the change with unreviewed changes

    Unreviewed changes

    12 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/resolver/style_adjuster.cc
    Insertions: 1, Deletions: 1.

    @@ -610,7 +610,7 @@
    return;
    }

    - if (!RuntimeEnabledFeatures::ListStylePositionQuirkEnabled()) {
    + if (!RuntimeEnabledFeatures::ListStylePositionQuirkStandardEnabled()) {
    if (IsA<HTMLUListElement>(element) || IsA<HTMLOListElement>(element)) {
    builder.SetIsInsideListElement();
    return;
    ```
    ```
    The name of the file: third_party/blink/renderer/core/html/resources/quirks.css
    Insertions: 8, Deletions: 6.

    @@ -59,19 +59,21 @@
    margin-block-end: 1em
    }

    -@supports blink-feature(ListStylePositionQuirk) {
    +@supports blink-feature(ListStylePositionQuirkStandard) {
    /* https://html.spec.whatwg.org/multipage/rendering.html#lists */
    li { list-style-position: inside; }

    - /* The `:is()` hits `DCHECK(default_html_quirks_style_->UniversalRules().empty())` */
    + /* Expand `:is()` in the rightmost position because otherwise they hit
    + `DCHECK(default_html_quirks_style_->UniversalRules().empty())` */
    /* li :is(dir, menu, ol, ul) { list-style-position: outside; }*/
    li dir, li menu, li ol, li ul { list-style-position: outside; }

    /* :is(dir, menu, ol, ul) :is(dir, menu, ol, ul, li) { */
    - dir dir, dir menu, dir ol, dir ul, dir li,
    - menu dir, menu menu, menu ol, menu ul, menu li,
    - ol dir, ol menu, ol ol, ol ul, ol li,
    - ul dir, ul menu, ul ol, ul ul, ul li {
    + :is(dir, menu, ol, ul) dir,
    + :is(dir, menu, ol, ul) menu,
    + :is(dir, menu, ol, ul) ol,
    + :is(dir, menu, ol, ul) ul,
    + :is(dir, menu, ol, ul) li {
    list-style-position: unset;
    }
    }
    ```
    ```
    The name of the file: third_party/blink/renderer/core/style/computed_style_test.cc
    Insertions: 1, Deletions: 1.

    @@ -2148,7 +2148,7 @@
    }

    TEST_F(ComputedStyleTest, UseCountInsideListMarkerPositionQuirk) {
    - if (RuntimeEnabledFeatures::ListStylePositionQuirkEnabled()) {
    + if (RuntimeEnabledFeatures::ListStylePositionQuirkStandardEnabled()) {
    return;
    }
    Document& document = GetDocument();
    ```
    ```
    The name of the file: third_party/blink/renderer/core/style/computed_style.cc
    Insertions: 1, Deletions: 1.

    @@ -2775,7 +2775,7 @@
    ListStylePosition() == EListStylePosition::kInside) {
    return true;
    }
    - if (!RuntimeEnabledFeatures::ListStylePositionQuirkEnabled()) {
    + if (!RuntimeEnabledFeatures::ListStylePositionQuirkStandardEnabled()) {
    // Force the marker of <li> elements with no <ol> or <ul> ancestor to have
    // an inside position.
    // TODO(crbug.com/41241289): This quirk predates WebKit, it was added to
    ```
    ```
    The name of the file: third_party/blink/renderer/platform/runtime_enabled_features.json5
    Insertions: 3, Deletions: 1.

    @@ -1578,7 +1578,7 @@
    {
    // crbug.com/1463890: CSS `text-autospace` property
    name: "CSSTextAutoSpace",
    - status: "experimental",
    + status: "stable",
    },
    {
    // crbug.com/1463890, crbug.com/1463891: CSS `text-spacing` shorthand
    @@ -2861,7 +2861,9 @@
    status: "stable",
    },
    {
    - name: "ListStylePositionQuirk",
    + // Enabling this changes the `list-style-position` quirk to match the
    + // HTML standard spec.
    + name: "ListStylePositionQuirkStandard",
    status: "stable",
    },
    {
    ```

    Change information

    Commit message:
    [list-style-position-quirk] Change `<li>` to match the spec

    This patch changes the default styling of `<li>` elements when
    they are not parented by `<ol>` or `<ul>`.

    The behavior before this patch was inherited from WebKit,
    which copied the behavior from Internet Explorer 7. Since
    then, the [HTML spec][1] was updated, and Gecko and WebKit[2]
    matched the spec.


    This patch changes to match the WebKit behavior. In particular:
    * `<li>` not parented by `<ol>` or `<ul>` uses the same used
    value of `list-style-position` as when parented by `<ol>` or
    `<ul>`.

    * Implements the styles for quirks mode in the [HTML spec][1]
    to mitigate the risk of web-compat. ~0.8%[3] still hits the
    code path.

    Bug: 41241289
    Change-Id: I0333a2d9b236ab7258a4a05d60344456e77e2551
    Reviewed-by: Anders Hartvoll Ruud <and...@chromium.org>
    Commit-Queue: Koji Ishii <ko...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1482568}
    Files:
    • M third_party/blink/renderer/core/css/resolver/style_adjuster.cc
    • M third_party/blink/renderer/core/html/resources/quirks.css
    • M third_party/blink/renderer/core/layout/inline/inline_node_test.cc
    • M third_party/blink/renderer/core/layout/layout_text_combine_test.cc
    • M third_party/blink/renderer/core/style/computed_style.cc
    • M third_party/blink/renderer/core/style/computed_style_extra_fields.json5
    • M third_party/blink/renderer/core/style/computed_style_test.cc
    • M third_party/blink/renderer/platform/runtime_enabled_features.json5
    • M third_party/blink/web_tests/TestExpectations
    • A third_party/blink/web_tests/external/wpt/html/rendering/non-replaced-elements/lists/list-style-position-quirks-mode-ref.html
    • A third_party/blink/web_tests/external/wpt/html/rendering/non-replaced-elements/lists/list-style-position-quirks-mode.html
    • M third_party/blink/web_tests/external/wpt/html/rendering/non-replaced-elements/lists/lists-styles-quirks-expected.txt
    • M third_party/blink/web_tests/fast/lists/inline-before-content-after-list-marker.html
    • M third_party/blink/web_tests/fast/lists/list-marker-computed-display.html
    Change size: M
    Delta: 14 files changed, 99 insertions(+), 49 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Anders Hartvoll Ruud
    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: I0333a2d9b236ab7258a4a05d60344456e77e2551
    Gerrit-Change-Number: 6704424
    Gerrit-PatchSet: 17
    Gerrit-Owner: Koji Ishii <ko...@chromium.org>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Koji Ishii <ko...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    open
    diffy
    satisfied_requirement

    Blink W3C Test Autoroller (Gerrit)

    unread,
    Jul 4, 2025, 9:48:56 AM7/4/25
    to Koji Ishii, Chromium LUCI CQ, Anders Hartvoll Ruud, AyeAye, Alexis Menard, chromium...@chromium.org, zol...@webkit.org, feature-me...@chromium.org, blink-revi...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@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/53596

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    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: I0333a2d9b236ab7258a4a05d60344456e77e2551
    Gerrit-Change-Number: 6704424
    Gerrit-PatchSet: 17
    Gerrit-Owner: Koji Ishii <ko...@chromium.org>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Koji Ishii <ko...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Comment-Date: Fri, 04 Jul 2025 13:48:52 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    Oriol Brufau (Gerrit)

    unread,
    Jul 7, 2025, 2:36:49 PM7/7/25
    to Koji Ishii, Chromium LUCI CQ, Blink W3C Test Autoroller, Anders Hartvoll Ruud, AyeAye, Alexis Menard, chromium...@chromium.org, zol...@webkit.org, feature-me...@chromium.org, blink-revi...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
    Attention needed from Koji Ishii

    Oriol Brufau added 2 comments

    Commit Message
    Line 21, Patchset 12:* Implements the styles for quirks mode in the [HTML spec][1]

    to mitigate the risk of web-compat. ~0.8%[3] still hits the
    code path.
    Anders Hartvoll Ruud . resolved

    And despite this, you're comfortable doing this without running it by API_OWNERS since it's aligning with both others browsers, I assume.

    Koji Ishii

    Yes, I believe this is fine, this is an interop-2025 item.

    Oriol Brufau

    Note that when I added the counter, I didn't think about restricting it to non-quirks mode. Pages in quirks mode will probably not be affected because of the new CSS in quirks.css. So the relevant percentage might be lower.

    File third_party/blink/web_tests/fast/lists/list-marker-computed-display.html
    Line 20, Patchset 17 (Latest):<!-- <li> elements with no <ol> or <ul> ancestor are forced to have inside markers -->
    Oriol Brufau . unresolved

    This comment is no longer true.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Koji Ishii
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    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: I0333a2d9b236ab7258a4a05d60344456e77e2551
    Gerrit-Change-Number: 6704424
    Gerrit-PatchSet: 17
    Gerrit-Owner: Koji Ishii <ko...@chromium.org>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Koji Ishii <ko...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Oriol Brufau <obr...@igalia.com>
    Gerrit-Attention: Koji Ishii <ko...@chromium.org>
    Gerrit-Comment-Date: Mon, 07 Jul 2025 18:36:34 +0000
    satisfied_requirement
    open
    diffy

    Koji Ishii (Gerrit)

    unread,
    Jul 7, 2025, 11:50:20 PM7/7/25
    to Chromium LUCI CQ, Oriol Brufau, Blink W3C Test Autoroller, Anders Hartvoll Ruud, AyeAye, Alexis Menard, chromium...@chromium.org, zol...@webkit.org, feature-me...@chromium.org, blink-revi...@chromium.org, blink-revie...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org

    Koji Ishii added 2 comments

    Commit Message
    Line 21, Patchset 12:* Implements the styles for quirks mode in the [HTML spec][1]
    to mitigate the risk of web-compat. ~0.8%[3] still hits the
    code path.
    Anders Hartvoll Ruud . resolved

    And despite this, you're comfortable doing this without running it by API_OWNERS since it's aligning with both others browsers, I assume.

    Koji Ishii

    Yes, I believe this is fine, this is an interop-2025 item.

    Oriol Brufau

    Note that when I added the counter, I didn't think about restricting it to non-quirks mode. Pages in quirks mode will probably not be affected because of the new CSS in quirks.css. So the relevant percentage might be lower.

    Koji Ishii

    Thanks for your comment. I think I'm going to make the counter obsolete as we're no longer counting them when the runtime flag is on. Please let me know if you think otherwise.

    File third_party/blink/web_tests/fast/lists/list-marker-computed-display.html
    Line 20, Patchset 17 (Latest):<!-- <li> elements with no <ol> or <ul> ancestor are forced to have inside markers -->
    Oriol Brufau . resolved

    This comment is no longer true.

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    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: I0333a2d9b236ab7258a4a05d60344456e77e2551
    Gerrit-Change-Number: 6704424
    Gerrit-PatchSet: 17
    Gerrit-Owner: Koji Ishii <ko...@chromium.org>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Koji Ishii <ko...@chromium.org>
    Gerrit-CC: Alexis Menard <alexis...@intel.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Oriol Brufau <obr...@igalia.com>
    Gerrit-Comment-Date: Tue, 08 Jul 2025 03:49:58 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Koji Ishii <ko...@chromium.org>
    Comment-In-Reply-To: Oriol Brufau <obr...@igalia.com>
    satisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages