Fix touch input in ListBox <select multiple> [chromium/src : main]

0 views
Skip to first unread message

Joey Arhar (Gerrit)

unread,
Sep 16, 2025, 6:31:51 PM (3 days ago) Sep 16
to Mason Freed, AyeAye, Chromium LUCI CQ, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Mason Freed

Joey Arhar added 1 comment

File third_party/blink/web_tests/wpt_internal/html/semantics/forms/the-select-element/select-listbox-touch.html
Line 10, Patchset 2 (Latest): appearance:auto event handling for listbox select elements. -->
Joey Arhar . unresolved

I kind of wonder if this should be an optional wpt instead of an internal wpt

Open in Gerrit

Related details

Attention is currently required from:
  • Mason Freed
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: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
Gerrit-Change-Number: 6952242
Gerrit-PatchSet: 2
Gerrit-Owner: Joey Arhar <jar...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Tue, 16 Sep 2025 22:31:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Mason Freed (Gerrit)

unread,
Sep 17, 2025, 5:57:08 PM (2 days ago) Sep 17
to AyeAye, Chromium LUCI CQ, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Joey Arhar

Mason Freed voted and added 2 comments

Votes added by Mason Freed

Code-Review+1

2 comments

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

LGTM!

File third_party/blink/web_tests/wpt_internal/html/semantics/forms/the-select-element/select-listbox-touch.html
Line 10, Patchset 2 (Latest): appearance:auto event handling for listbox select elements. -->
Joey Arhar . unresolved

I kind of wonder if this should be an optional wpt instead of an internal wpt

Mason Freed

+1 to making it optional. I'm not even sure how those are really used, but at least in that case it'll be on wpt.fyi.

Open in Gerrit

Related details

Attention is currently required from:
  • Joey Arhar
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: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
    Gerrit-Change-Number: 6952242
    Gerrit-PatchSet: 2
    Gerrit-Owner: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Joey Arhar <jar...@chromium.org>
    Gerrit-Comment-Date: Wed, 17 Sep 2025 21:56:59 +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,
    Sep 18, 2025, 2:08:51 PM (24 hours ago) Sep 18
    to Mason Freed, AyeAye, Chromium LUCI CQ, blink-rev...@chromium.org, blink-...@chromium.org

    Joey Arhar added 1 comment

    File third_party/blink/web_tests/wpt_internal/html/semantics/forms/the-select-element/select-listbox-touch.html
    Line 10, Patchset 2 (Latest): appearance:auto event handling for listbox select elements. -->
    Joey Arhar . resolved

    I kind of wonder if this should be an optional wpt instead of an internal wpt

    Mason Freed

    +1 to making it optional. I'm not even sure how those are really used, but at least in that case it'll be on wpt.fyi.

    Joey Arhar

    Done

    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: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
    Gerrit-Change-Number: 6952242
    Gerrit-PatchSet: 2
    Gerrit-Owner: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Comment-Date: Thu, 18 Sep 2025 18:08:39 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
    Comment-In-Reply-To: Joey Arhar <jar...@chromium.org>
    satisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    Sep 18, 2025, 4:45:23 PM (21 hours ago) Sep 18
    to AyeAye, Chromium LUCI CQ, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from Joey Arhar

    Mason Freed voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Joey Arhar
    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: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
    Gerrit-Change-Number: 6952242
    Gerrit-PatchSet: 3
    Gerrit-Owner: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Joey Arhar <jar...@chromium.org>
    Gerrit-Comment-Date: Thu, 18 Sep 2025 20:45:13 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Blink W3C Test Autoroller (Gerrit)

    unread,
    Sep 18, 2025, 4:53:27 PM (21 hours ago) Sep 18
    to Mason Freed, AyeAye, Chromium LUCI CQ, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from Joey Arhar

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

    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:
    • Joey Arhar
    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: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
    Gerrit-Change-Number: 6952242
    Gerrit-PatchSet: 3
    Gerrit-Owner: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Joey Arhar <jar...@chromium.org>
    Gerrit-Comment-Date: Thu, 18 Sep 2025 20:53:20 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    Joey Arhar (Gerrit)

    unread,
    Sep 18, 2025, 8:45:20 PM (17 hours ago) Sep 18
    to Blink W3C Test Autoroller, Mason Freed, AyeAye, Chromium LUCI CQ, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org

    Joey Arhar 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: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
    Gerrit-Change-Number: 6952242
    Gerrit-PatchSet: 3
    Gerrit-Owner: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Comment-Date: Fri, 19 Sep 2025 00:45:08 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Sep 18, 2025, 9:32:48 PM (16 hours ago) Sep 18
    to Blink W3C Test Autoroller, Mason Freed, AyeAye, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    Fix touch input in ListBox <select multiple>

    Before this patch, there was already code in ListBoxSelectType to not
    deselect other options when handling a gesturetap event, which happens
    when options are clicked with a touch input, which is necessary in order
    to select multiple options when no keyboard is present.

    When tapping the text node instead of empty space around the text,
    however, other options would get deselected due to some code which
    required that the event target is an Element rather than a Node. This
    patch removes that check and significantly improves the usability of
    <select multiple> on touch devices.
    Bug: 439964654
    Change-Id: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
    Reviewed-by: Mason Freed <mas...@chromium.org>
    Commit-Queue: Joey Arhar <jar...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1517685}
    Files:
    • M third_party/blink/renderer/core/html/forms/select_type.cc
    • A third_party/blink/web_tests/external/wpt/html/semantics/forms/the-select-element/select-listbox-touch.optional.html
    Change size: M
    Delta: 2 files changed, 59 insertions(+), 6 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +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: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
    Gerrit-Change-Number: 6952242
    Gerrit-PatchSet: 4
    Gerrit-Owner: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    open
    diffy
    satisfied_requirement

    Blink W3C Test Autoroller (Gerrit)

    unread,
    Sep 18, 2025, 11:33:53 PM (14 hours ago) Sep 18
    to Chromium LUCI CQ, Mason Freed, AyeAye, blink-revie...@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/54939

    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: I0ebfbe5243f4d6de59fbdecfbcc0b9202dfff644
    Gerrit-Change-Number: 6952242
    Gerrit-PatchSet: 4
    Gerrit-Owner: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Comment-Date: Fri, 19 Sep 2025 03:33:49 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages