Files
sousa-gecko/testing/web-platform/tests/html/rendering/support
Ian Kilpatrick b637e5cb56 Bug 2046590 [wpt PR 60536] - [forms] Make <select> use a UA-clip instead of a manual one., a=testonly
Automatic update from web-platform-tests
[forms] Make <select> use a UA-clip instead of a manual one.

This aligns with Firefox to implement the clip behaviour of the select
element in the UA-stylesheet. See:
https://searchfox.org/firefox-main/rev/f19dd05bb08e26d46137ce52924e35ff7a501dfe/layout/style/res/forms.css#211

This is currently unspecified, and there is an open issue on the HTML
spec here: https://github.com/whatwg/html/issues/10031

Behind the flag: SelectUsesUAClip

Additionally we need to specify overflow-clip-margin:content-box to
maintain our previous behaviour which differs slightly from Firefox.

Change-Id: Icdc61604603f5b15735958b1b95e408fb74e7b1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7916526
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1644964}

--

wpt-commits: b65827009f87c89d569fa442ec403d34a2b54f88
wpt-pr: 60536
2026-06-16 11:35:03 +00:00
..