Treat static video controls as replaced normal-flow stacking [chromium/src : main]

0 views
Skip to first unread message

jj (Gerrit)

unread,
Feb 28, 2026, 3:58:42 PM (6 days ago) Feb 28
to Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Xianzhu Wang

New activity on the change

Open in Gerrit

Related details

Attention is currently required from:
  • Xianzhu 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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
Gerrit-Change-Number: 7617187
Gerrit-PatchSet: 18
Gerrit-Owner: jj <j...@chromium.org>
Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
Gerrit-Reviewer: jj <j...@chromium.org>
Gerrit-CC: Alex Keng <shi...@microsoft.com>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Fredrik Söderquist <f...@opera.com>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Stephen Chenney <sche...@chromium.org>
Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
Gerrit-Attention: Xianzhu Wang <wangx...@chromium.org>
Gerrit-Comment-Date: Sat, 28 Feb 2026 20:58:24 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Xianzhu Wang (Gerrit)

unread,
Feb 28, 2026, 7:45:12 PM (6 days ago) Feb 28
to Mason Freed, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Mason Freed and jj

Xianzhu Wang added 4 comments

Patchset-level comments
File-level comment, Patchset 18 (Latest):
Xianzhu Wang . resolved

+Mason for the style and html parts of this CL.

File third_party/blink/renderer/core/layout/layout_video.cc
File third_party/blink/renderer/core/paint/paint_layer.cc
Line 1846, Patchset 18 (Latest): if (child_layer->GetLayoutObject().IsSVGForeignObject()) {
Xianzhu Wang . unresolved

I would like a comment here. I'm not very sure how that works. Can you create a test case with a stacked child under an SVG foreign object, and check the stack when the stacked child is hit tested? The stack will help us put correct comment here.

File third_party/blink/renderer/core/paint/paint_layer_painter.cc
Line 607, Patchset 18 (Latest): if (child->GetLayoutObject().IsSVGForeignObject()) {
Xianzhu Wang . unresolved

I would like a comment here. I'm not very sure how that works. Can you create a test case with a stacked child under an SVG foreign object, and check the stack when the stacked child is painted? The stack will help us put correct comment here.

Open in Gerrit

Related details

Attention is currently required from:
  • Mason Freed
  • jj
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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
    Gerrit-Change-Number: 7617187
    Gerrit-PatchSet: 18
    Gerrit-Owner: jj <j...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
    Gerrit-Reviewer: jj <j...@chromium.org>
    Gerrit-CC: Alex Keng <shi...@microsoft.com>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: jj <j...@chromium.org>
    Gerrit-Comment-Date: Sun, 01 Mar 2026 00:45:07 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Mar 2, 2026, 5:41:45 PM (4 days ago) Mar 2
    to Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from jj

    Mason Freed voted and added 3 comments

    Votes added by Mason Freed

    Code-Review+1

    3 comments

    Patchset-level comments
    Mason Freed . resolved

    third_party/blink/renderer/core/css/resolver/style_adjuster.cc and third_party/blink/renderer/core/html/media/html_video_element_test.cc
    LGTM

    File third_party/blink/renderer/core/css/resolver/style_adjuster.cc
    Line 1211, Patchset 18 (Latest): element && element->FastHasAttribute(html_names::kControlsAttr);
    Mason Freed . unresolved

    You shouldn't have to check `element` here, if `is_video_element` is true.

    File third_party/blink/renderer/core/paint/README.md
    Line 44, Patchset 18 (Latest): The difference between these elements and regular stacking contexts is that
    Mason Freed . unresolved

    nit: line wrapping

    Open in Gerrit

    Related details

    Attention is currently required from:
    • jj
    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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
    Gerrit-Change-Number: 7617187
    Gerrit-PatchSet: 18
    Gerrit-Owner: jj <j...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
    Gerrit-Reviewer: jj <j...@chromium.org>
    Gerrit-CC: Alex Keng <shi...@microsoft.com>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: jj <j...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 22:41:38 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    jj (Gerrit)

    unread,
    Mar 4, 2026, 4:00:24 AM (3 days ago) Mar 4
    to Mason Freed, Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from Xianzhu Wang

    jj voted and added 3 comments

    Votes added by jj

    Commit-Queue+1

    3 comments

    File third_party/blink/renderer/core/css/resolver/style_adjuster.cc
    Line 1211, Patchset 18: element && element->FastHasAttribute(html_names::kControlsAttr);
    Mason Freed . resolved

    You shouldn't have to check `element` here, if `is_video_element` is true.

    jj

    Good catch, thanks!

    File third_party/blink/renderer/core/layout/layout_video.cc
    Line 43, Patchset 18: if (IsStackingContext() && !IsStacked()) {
    Xianzhu Wang . resolved
    jj

    Done

    File third_party/blink/renderer/core/paint/README.md
    Line 44, Patchset 18: The difference between these elements and regular stacking contexts is that
    Mason Freed . resolved

    nit: line wrapping

    jj

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Xianzhu Wang
    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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
    Gerrit-Change-Number: 7617187
    Gerrit-PatchSet: 20
    Gerrit-Owner: jj <j...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
    Gerrit-Reviewer: jj <j...@chromium.org>
    Gerrit-CC: Alex Keng <shi...@microsoft.com>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: Xianzhu Wang <wangx...@chromium.org>
    Gerrit-Comment-Date: Wed, 04 Mar 2026 09:00:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
    Comment-In-Reply-To: Xianzhu Wang <wangx...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    jj (Gerrit)

    unread,
    Mar 4, 2026, 11:35:38 AM (2 days ago) Mar 4
    to Mason Freed, Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from Xianzhu Wang

    jj added 1 comment

    File third_party/blink/renderer/core/paint/paint_layer.cc
    Line 1846, Patchset 18: if (child_layer->GetLayoutObject().IsSVGForeignObject()) {
    Xianzhu Wang . unresolved

    I would like a comment here. I'm not very sure how that works. Can you create a test case with a stacked child under an SVG foreign object, and check the stack when the stacked child is hit tested? The stack will help us put correct comment here.

    jj

    My understanding of the original conditions was that foreign objects had hit tests and painting handled elsewhere (with the hit tests applying some coordinate transformations) and the skip prevented them from being tested/painted twice. I narrowed it to just foreign objects, since video controls do not have any special handling for hit tests/painting.

    I did a small test for this: https://gist.github.com/556a1a1e2845c11cc032493bb373a836

    The normal iteration is skipped and instead hit tested by LayoutSVGForeignObject::NodeAtPointFromSVG. The other `if(...)` should be a similar situation, where the specific logic is handled instead by SVGForeignObjectPainter.

    Gerrit-Comment-Date: Wed, 04 Mar 2026 16:35:20 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Xianzhu Wang <wangx...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    jj (Gerrit)

    unread,
    Mar 4, 2026, 11:44:17 AM (2 days ago) Mar 4
    to Mason Freed, Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from Xianzhu Wang

    jj added 1 comment

    Patchset-level comments
    File-level comment, Patchset 21 (Latest):
    jj . unresolved

    By the way, do you think it would be appropriate to killswitch this change too? The other changes were killswitched, and I think this could be breaking enough to warrant flagging as well.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Xianzhu Wang
    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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
    Gerrit-Change-Number: 7617187
    Gerrit-PatchSet: 21
    Gerrit-Owner: jj <j...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
    Gerrit-Reviewer: jj <j...@chromium.org>
    Gerrit-CC: Alex Keng <shi...@microsoft.com>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
    Gerrit-Attention: Xianzhu Wang <wangx...@chromium.org>
    Gerrit-Comment-Date: Wed, 04 Mar 2026 16:44:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Xianzhu Wang (Gerrit)

    unread,
    Mar 4, 2026, 11:12:40 PM (2 days ago) Mar 4
    to Mason Freed, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from jj

    Xianzhu Wang added 2 comments

    File third_party/blink/renderer/core/css/resolver/style_adjuster.cc
    Line 1209, Patchset 21 (Latest): bool is_replaced_normal_flow_video =
    Xianzhu Wang . unresolved

    Please put it behind a killswitch (can be same flag as the previous CL).

    File third_party/blink/renderer/core/paint/paint_layer.cc
    Line 1846, Patchset 18: if (child_layer->GetLayoutObject().IsSVGForeignObject()) {
    Xianzhu Wang . unresolved

    I would like a comment here. I'm not very sure how that works. Can you create a test case with a stacked child under an SVG foreign object, and check the stack when the stacked child is hit tested? The stack will help us put correct comment here.

    jj

    My understanding of the original conditions was that foreign objects had hit tests and painting handled elsewhere (with the hit tests applying some coordinate transformations) and the skip prevented them from being tested/painted twice. I narrowed it to just foreign objects, since video controls do not have any special handling for hit tests/painting.

    I did a small test for this: https://gist.github.com/556a1a1e2845c11cc032493bb373a836

    The normal iteration is skipped and instead hit tested by LayoutSVGForeignObject::NodeAtPointFromSVG. The other `if(...)` should be a similar situation, where the specific logic is handled instead by SVGForeignObjectPainter.

    Xianzhu Wang

    Thanks for investigation. I would like a comment here like:
    ```
    // Hit-testing of whole subtree of an SVG foreignObject, including
    // stacked children, are handled by LayoutSVGForeignObject, so don't
    // hit test stacked children here.
    ```
    and a similar comment in paint_layer_painter.cc.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • jj
    Gerrit-Attention: jj <j...@chromium.org>
    Gerrit-Comment-Date: Thu, 05 Mar 2026 04:12:33 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: jj <j...@chromium.org>
    Comment-In-Reply-To: Xianzhu Wang <wangx...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    jj (Gerrit)

    unread,
    Mar 5, 2026, 2:46:59 AM (yesterday) Mar 5
    to Mason Freed, Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from Mason Freed and Xianzhu Wang

    jj added 4 comments

    Patchset-level comments

    By the way, do you think it would be appropriate to killswitch this change too? The other changes were killswitched, and I think this could be breaking enough to warrant flagging as well.

    jj

    Resolving.

    File third_party/blink/renderer/core/css/resolver/style_adjuster.cc
    Line 1209, Patchset 21: bool is_replaced_normal_flow_video =
    Xianzhu Wang . resolved

    Please put it behind a killswitch (can be same flag as the previous CL).

    jj

    Done

    File third_party/blink/renderer/core/paint/paint_layer.cc
    Line 1846, Patchset 18: if (child_layer->GetLayoutObject().IsSVGForeignObject()) {
    Xianzhu Wang . resolved

    I would like a comment here. I'm not very sure how that works. Can you create a test case with a stacked child under an SVG foreign object, and check the stack when the stacked child is hit tested? The stack will help us put correct comment here.

    jj

    My understanding of the original conditions was that foreign objects had hit tests and painting handled elsewhere (with the hit tests applying some coordinate transformations) and the skip prevented them from being tested/painted twice. I narrowed it to just foreign objects, since video controls do not have any special handling for hit tests/painting.

    I did a small test for this: https://gist.github.com/556a1a1e2845c11cc032493bb373a836

    The normal iteration is skipped and instead hit tested by LayoutSVGForeignObject::NodeAtPointFromSVG. The other `if(...)` should be a similar situation, where the specific logic is handled instead by SVGForeignObjectPainter.

    Xianzhu Wang

    Thanks for investigation. I would like a comment here like:
    ```
    // Hit-testing of whole subtree of an SVG foreignObject, including
    // stacked children, are handled by LayoutSVGForeignObject, so don't
    // hit test stacked children here.
    ```
    and a similar comment in paint_layer_painter.cc.

    jj

    Done

    File third_party/blink/renderer/core/paint/paint_layer_painter.cc
    Line 607, Patchset 18: if (child->GetLayoutObject().IsSVGForeignObject()) {
    Xianzhu Wang . resolved

    I would like a comment here. I'm not very sure how that works. Can you create a test case with a stacked child under an SVG foreign object, and check the stack when the stacked child is painted? The stack will help us put correct comment here.

    jj

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mason Freed
    • Xianzhu Wang
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
      Gerrit-Change-Number: 7617187
      Gerrit-PatchSet: 23
      Gerrit-Owner: jj <j...@chromium.org>
      Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
      Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
      Gerrit-Reviewer: jj <j...@chromium.org>
      Gerrit-CC: Alex Keng <shi...@microsoft.com>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Fredrik Söderquist <f...@opera.com>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
      Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
      Gerrit-Attention: Mason Freed <mas...@chromium.org>
      Gerrit-Attention: Xianzhu Wang <wangx...@chromium.org>
      Gerrit-Comment-Date: Thu, 05 Mar 2026 07:46:44 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Xianzhu Wang (Gerrit)

      unread,
      Mar 5, 2026, 6:24:42 PM (yesterday) Mar 5
      to Mason Freed, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
      Attention needed from Mason Freed and jj

      Xianzhu Wang voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Mason Freed
      • jj
      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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
        Gerrit-Change-Number: 7617187
        Gerrit-PatchSet: 23
        Gerrit-Owner: jj <j...@chromium.org>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-Reviewer: jj <j...@chromium.org>
        Gerrit-CC: Alex Keng <shi...@microsoft.com>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Fredrik Söderquist <f...@opera.com>
        Gerrit-CC: Menard, Alexis <alexis...@intel.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
        Gerrit-Attention: Mason Freed <mas...@chromium.org>
        Gerrit-Attention: jj <j...@chromium.org>
        Gerrit-Comment-Date: Thu, 05 Mar 2026 23:24:37 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Blink W3C Test Autoroller (Gerrit)

        unread,
        Mar 5, 2026, 6:27:56 PM (yesterday) Mar 5
        to Xianzhu Wang, Mason Freed, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
        Attention needed from Mason Freed and jj

        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/58304.

        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 is currently required from:
        • Mason Freed
        • jj
        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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
        Gerrit-Change-Number: 7617187
        Gerrit-PatchSet: 23
        Gerrit-Owner: jj <j...@chromium.org>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-Reviewer: jj <j...@chromium.org>
        Gerrit-CC: Alex Keng <shi...@microsoft.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Fredrik Söderquist <f...@opera.com>
        Gerrit-CC: Menard, Alexis <alexis...@intel.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
        Gerrit-Attention: Mason Freed <mas...@chromium.org>
        Gerrit-Attention: jj <j...@chromium.org>
        Gerrit-Comment-Date: Thu, 05 Mar 2026 23:27:49 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy

        Mason Freed (Gerrit)

        unread,
        3:40 PM (8 hours ago) 3:40 PM
        to Blink W3C Test Autoroller, Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
        Attention needed from jj

        Mason Freed voted and added 1 comment

        Votes added by Mason Freed

        Code-Review+1

        1 comment

        Patchset-level comments
        File-level comment, Patchset 23 (Latest):
        Mason Freed . resolved

        third_party/blink/renderer/core/css/resolver/style_adjuster.cc and third_party/blink/renderer/core/html/media/html_video_element_test.cc
        still LGTM

        Open in Gerrit

        Related details

        Attention is currently required from:
        • jj
        Gerrit-Attention: jj <j...@chromium.org>
        Gerrit-Comment-Date: Fri, 06 Mar 2026 20:40:32 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        jj (Gerrit)

        unread,
        3:51 PM (7 hours ago) 3:51 PM
        to Mason Freed, Blink W3C Test Autoroller, Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org

        jj voted Commit-Queue+2

        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention set is empty
        Gerrit-Comment-Date: Fri, 06 Mar 2026 20:50:54 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        5:51 PM (5 hours ago) 5:51 PM
        to Mason Freed, Blink W3C Test Autoroller, Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Menard, Alexis, chromium...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org

        Chromium LUCI CQ submitted the change

        Change information

        Commit message:
        Treat static video controls as replaced normal-flow stacking

        Static video controls create stacked paint layers, which paint after
        inline siblings, causing positioned elements (e.g. buttons) placed on
        top of the video to be painted over by the controls.

        Fix this by treating static <video controls> as a replaced normal-flow
        stacking element.

        The hit-test and paint child-skip in PaintLayer is narrowed from
        IsReplacedNormalFlowStacking() to IsSVGForeignObject(), since the skip
        logic relies on SVG-specific coordinate transforms that don't apply to
        video.
        Fixed: 40591804
        Change-Id: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
        Reviewed-by: Xianzhu Wang <wangx...@chromium.org>
        Commit-Queue: jj <j...@chromium.org>
        Reviewed-by: Mason Freed <mas...@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#1595707}
        Files:
        • M third_party/blink/renderer/core/css/resolver/style_adjuster.cc
        • M third_party/blink/renderer/core/html/media/html_video_element_test.cc
        • M third_party/blink/renderer/core/layout/layout_video.cc
        • M third_party/blink/renderer/core/layout/layout_video.h
        • M third_party/blink/renderer/core/paint/README.md
        • M third_party/blink/renderer/core/paint/paint_layer.cc
        • M third_party/blink/renderer/core/paint/paint_layer_painter.cc
        • M third_party/blink/renderer/core/paint/paint_layer_test.cc
        • A third_party/blink/web_tests/external/wpt/html/rendering/replaced-elements/embedded-content/video-controls-stacking-hit-test.html
        • A third_party/blink/web_tests/external/wpt/html/rendering/replaced-elements/embedded-content/video-controls-stacking-ref.html
        • A third_party/blink/web_tests/external/wpt/html/rendering/replaced-elements/embedded-content/video-controls-stacking.html
        • M third_party/blink/web_tests/platform/linux/virtual/dark-color-scheme/media/video-focus-ring-expected.png
        • M third_party/blink/web_tests/platform/mac/virtual/dark-color-scheme/media/video-focus-ring-expected.png
        • M third_party/blink/web_tests/platform/win/virtual/dark-color-scheme/media/video-focus-ring-expected.png
        Change size: M
        Delta: 14 files changed, 102 insertions(+), 7 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Xianzhu Wang, +1 by Mason Freed
        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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
        Gerrit-Change-Number: 7617187
        Gerrit-PatchSet: 24
        Gerrit-Owner: jj <j...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-Reviewer: jj <j...@chromium.org>
        Gerrit-CC: Alex Keng <shi...@microsoft.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        open
        diffy
        satisfied_requirement

        Blink W3C Test Autoroller (Gerrit)

        unread,
        7:47 PM (4 hours ago) 7:47 PM
        to Chromium LUCI CQ, Mason Freed, Xianzhu Wang, Alex Keng, srirama chandra sekhar, Fredrik Söderquist, Dirk Schulze, Stephen Chenney, AyeAye, Menard, Alexis, chromium...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, steimel+watch...@chromium.org, eric.c...@apple.com, blink-rev...@chromium.org, blink-revie...@chromium.org, feature-me...@chromium.org, mac-r...@chromium.org, zol...@webkit.org, kouhe...@chromium.org, pdr+svgw...@chromium.org, fmalit...@chromium.org, blink-revi...@chromium.org, apavlo...@chromium.org, blink-re...@chromium.org, blink-rev...@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/58304

        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: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
        Gerrit-Change-Number: 7617187
        Gerrit-PatchSet: 24
        Gerrit-Owner: jj <j...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-Reviewer: jj <j...@chromium.org>
        Gerrit-CC: Alex Keng <shi...@microsoft.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Fredrik Söderquist <f...@opera.com>
        Gerrit-CC: Menard, Alexis <alexis...@intel.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-CC: srirama chandra sekhar <srir...@samsung.com>
        Gerrit-Comment-Date: Sat, 07 Mar 2026 00:47:16 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages