New dialog focus steps using Flat Tree [chromium/src : main]

0 views
Skip to first unread message

Di Zhang (Gerrit)

unread,
Feb 21, 2025, 7:53:09 PMFeb 21
to AyeAye, chromium...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org

Di Zhang voted and added 1 comment

Votes added by Di Zhang

Commit-Queue+1

1 comment

File third_party/blink/renderer/platform/runtime_enabled_features.json5
Line 1503, Patchset 6 (Latest): status: "stable",
Di Zhang . unresolved

WIP: Turning it on to make sure the UI tests are passing.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 6
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Comment-Date: Sat, 22 Feb 2025 00:53:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Di Zhang (Gerrit)

unread,
Feb 27, 2025, 6:08:42 PMFeb 27
to Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org
Attention needed from Joey Arhar

Di Zhang added 1 comment

File third_party/blink/renderer/platform/runtime_enabled_features.json5
Line 1503, Patchset 6: status: "stable",
Di Zhang . resolved

WIP: Turning it on to make sure the UI tests are passing.

Di Zhang

Looks like some tests weirdly fail on "linux-chromeos-rel", but it seems to be because of how the bot is ran. Moving back to experimental for now.

Open in Gerrit

Related details

Attention is currently required from:
  • Joey Arhar
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 10
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Attention: Joey Arhar <jar...@chromium.org>
Gerrit-Comment-Date: Thu, 27 Feb 2025 23:08:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Di Zhang <dizh...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Joey Arhar (Gerrit)

unread,
Feb 27, 2025, 6:22:25 PMFeb 27
to Di Zhang, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org
Attention needed from Di Zhang

Joey Arhar voted and added 2 comments

Votes added by Joey Arhar

Code-Review+1

2 comments

File third_party/blink/renderer/core/dom/container_node.cc
File-level comment, Patchset 10 (Latest):
Joey Arhar . unresolved

Do the changes in this file need to be flag guarded?

File third_party/blink/web_tests/external/wpt/html/semantics/interactive-elements/the-dialog-element/dialog-focus-assigned-slot.html
File-level comment, Patchset 10 (Latest):
Joey Arhar . unresolved

Can we just make this a test case of dialog-focus-shadow.html? Or are you trying to keep that one marked as passing in the other browsers?

Open in Gerrit

Related details

Attention is currently required from:
  • Di Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 10
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Attention: Di Zhang <dizh...@chromium.org>
Gerrit-Comment-Date: Thu, 27 Feb 2025 23:22:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Di Zhang (Gerrit)

unread,
Feb 27, 2025, 6:33:19 PMFeb 27
to Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org
Attention needed from Joey Arhar

Di Zhang added 1 comment

File third_party/blink/web_tests/external/wpt/html/semantics/interactive-elements/the-dialog-element/dialog-focus-assigned-slot.html
Joey Arhar . unresolved

Can we just make this a test case of dialog-focus-shadow.html? Or are you trying to keep that one marked as passing in the other browsers?

Di Zhang

Everything in that test file has the shadow tree inside the dialog. This test is for when the dialog is inside the shadow tree. So the query for focus-me is outside the dialog. But yes, I can also rewrite that test file a bit and make this work. :)

Open in Gerrit

Related details

Attention is currently required from:
  • Joey Arhar
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 10
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Attention: Joey Arhar <jar...@chromium.org>
Gerrit-Comment-Date: Thu, 27 Feb 2025 23:33:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Joey Arhar <jar...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Di Zhang (Gerrit)

unread,
Feb 27, 2025, 7:37:31 PMFeb 27
to Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org
Attention needed from Joey Arhar

Di Zhang voted and added 2 comments

Votes added by Di Zhang

Commit-Queue+1

2 comments

File third_party/blink/renderer/core/dom/container_node.cc

Do the changes in this file need to be flag guarded?

Di Zhang

Good point, added.

File third_party/blink/web_tests/external/wpt/html/semantics/interactive-elements/the-dialog-element/dialog-focus-assigned-slot.html

Can we just make this a test case of dialog-focus-shadow.html? Or are you trying to keep that one marked as passing in the other browsers?

Di Zhang

Everything in that test file has the shadow tree inside the dialog. This test is for when the dialog is inside the shadow tree. So the query for focus-me is outside the dialog. But yes, I can also rewrite that test file a bit and make this work. :)

Di Zhang

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Joey Arhar
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 11
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Attention: Joey Arhar <jar...@chromium.org>
Gerrit-Comment-Date: Fri, 28 Feb 2025 00:37:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Joey Arhar <jar...@chromium.org>
Comment-In-Reply-To: Di Zhang <dizh...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Joey Arhar (Gerrit)

unread,
Feb 28, 2025, 11:59:55 AMFeb 28
to Di Zhang, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org
Attention needed from Di Zhang

Joey Arhar voted and added 2 comments

Votes added by Joey Arhar

Code-Review+1

2 comments

File chrome/browser/resources/new_tab_page/voice_search_overlay.html
File-level comment, Patchset 11 (Latest):
Joey Arhar . unresolved

I'm guessing this makes a test pass when the new behavior is enabled. Does it affect the behavior without the new flag enabled? I'm worried that this could break the new tab page on stable if the tabindex=-1 does something important with the flag turned off.

File third_party/blink/web_tests/external/wpt/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow.html
File-level comment, Patchset 11 (Latest):
Joey Arhar . unresolved

Hmm since the other browsers currently pass this test and it was part of interop before, maybe we shouldn't change it in wpt itself until we have agreement. I could imagine people getting unhappy that we made other browsers start failing these tests.

Sorry that I just asked you to move the other subtest into here, I wasn't sure that the current state of things was 😅

Open in Gerrit

Related details

Attention is currently required from:
  • Di Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 11
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Attention: Di Zhang <dizh...@chromium.org>
Gerrit-Comment-Date: Fri, 28 Feb 2025 16:59:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Di Zhang (Gerrit)

unread,
Feb 28, 2025, 5:10:58 PMFeb 28
to Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org
Attention needed from Joey Arhar

Di Zhang voted and added 2 comments

Votes added by Di Zhang

Commit-Queue+1

2 comments

File chrome/browser/resources/new_tab_page/voice_search_overlay.html

I'm guessing this makes a test pass when the new behavior is enabled. Does it affect the behavior without the new flag enabled? I'm worried that this could break the new tab page on stable if the tabindex=-1 does something important with the flag turned off.

Di Zhang

Good point, I have decided to move the webui test changes to a separate CL:
https://chromium-review.googlesource.com/c/chromium/src/+/6127288

I will ask them how safe this change is or if there is a better way around it...

File third_party/blink/web_tests/external/wpt/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow.html

Hmm since the other browsers currently pass this test and it was part of interop before, maybe we shouldn't change it in wpt itself until we have agreement. I could imagine people getting unhappy that we made other browsers start failing these tests.

Sorry that I just asked you to move the other subtest into here, I wasn't sure that the current state of things was 😅

Di Zhang

Yeah, adding that test would make this test fail. But so would the existing changes I just made. Either way, we will need their ok. I definitely don't want to merge this until the spec has agreement. But this is the first step...

I will keep this as is for now so they can see all the failing subtests.

Open in Gerrit

Related details

Attention is currently required from:
  • Joey Arhar
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 12
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Attention: Joey Arhar <jar...@chromium.org>
Gerrit-Comment-Date: Fri, 28 Feb 2025 22:10:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Joey Arhar <jar...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Joey Arhar (Gerrit)

unread,
Feb 28, 2025, 5:23:37 PMFeb 28
to Di Zhang, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org
Attention needed from Di Zhang

Joey Arhar voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Di Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 12
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Attention: Di Zhang <dizh...@chromium.org>
Gerrit-Comment-Date: Fri, 28 Feb 2025 22:23:28 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Blink W3C Test Autoroller (Gerrit)

unread,
Feb 28, 2025, 5:32:42 PMFeb 28
to Di Zhang, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org
Attention needed from Di Zhang

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

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:
  • Di Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: I803849cc3bfd3b4221c04a91fe466db4b127691e
Gerrit-Change-Number: 6168969
Gerrit-PatchSet: 12
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
Gerrit-Attention: Di Zhang <dizh...@chromium.org>
Gerrit-Comment-Date: Fri, 28 Feb 2025 22:32:28 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Di Zhang (Gerrit)

unread,
Jun 24, 2025, 6:06:49 PMJun 24
to Blink W3C Test Autoroller, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, jimmyxgong+watch...@chromium.org, gavinwill+watch-...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, oshima...@chromium.org

Di Zhang abandoned this change

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: abandon
satisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages