Open Bug 1972051 Opened 10 days ago Updated 8 hours ago

[wpt-sync] Sync PR 53088 - Implement base appearance select multiple popup

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 53088 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/53088
Details from upstream follow.

Joey Arhar <jarhar@chromium.org> wrote:

Implement base appearance select multiple popup

This patch implements several behaviors:

  1. Changes logic to determine whether \<select multiple> should be a
    MenuList or Listbox to be the same across platforms. No size
    attribute will be ListBox, explicit size=1 will make it MenuList, and
    all other size values are ListBox. I proposed this here:
    https://github.com/whatwg/html/issues/8189#issuecomment-2877242732
  2. Implements a MenuList \<select multiple> on desktop by reusing the
    appearance:base-select popover. This means that the popover is not
    only used when the \<select> has appearance:base-select, but also if
    it is appearance:auto on desktop with the multiple attribute.
  3. Adds UA styles for base appearance \<select multiple> with popup.

The UA stylesheet for appearance:auto \<select multiple> with popup will
need more work as a followup, it looks bad with this patch.

Bug: 357649033
Change-Id: Ia6e7a608c78b26e7ad8105fde61537cb524d7bcc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6546616
Commit-Queue: Joey Arhar \<jarhar@chromium.org>
Reviewed-by: Mason Freed \<masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1472738}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests

Status Summary

Firefox

OK : 3
PASS : 7
FAIL : 2

Chrome

OK : 3
PASS : 7
FAIL : 3

Safari

OK : 3
PASS : 7
FAIL : 2
TIMEOUT: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

You need to log in before you can comment on or make changes to this bug.