tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit fb29c72e98a4c75e3a9e851e0b47b6e16393fe93
parent 83d0e3f637b4b891bc0a3d24bea0c6140144bdc1
Author: Oriol Brufau <obrufau@igalia.com>
Date:   Mon, 27 Oct 2025 10:01:50 +0000

Bug 1995306 [wpt PR 55541] - layout: Handle `<select>` as a widget, a=testonly

Automatic update from web-platform-tests
layout: Handle `<select>` as a widget

For example, it will now be atomic with `display: inline`, so its
block-level contents won't be able to split it.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

--

wpt-commits: 4888812b90170539179e6da1fc43da50ecd4ec3f
wpt-pr: 55541

Diffstat:
Atesting/web-platform/tests/html/rendering/replaced-elements/the-select-element/select-display-inline-ref.html | 7+++++++
Atesting/web-platform/tests/html/rendering/replaced-elements/the-select-element/select-display-inline.html | 14++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/html/rendering/replaced-elements/the-select-element/select-display-inline-ref.html b/testing/web-platform/tests/html/rendering/replaced-elements/the-select-element/select-display-inline-ref.html @@ -0,0 +1,7 @@ +<!DOCTYPE html> +<title>Test Reference</title> +<link rel="author" title="Oriol Brufau" href="obrufau:obrufau@igalia.com"> + +<select style="margin-left: 100px"> + <option>option</option> +</select> diff --git a/testing/web-platform/tests/html/rendering/replaced-elements/the-select-element/select-display-inline.html b/testing/web-platform/tests/html/rendering/replaced-elements/the-select-element/select-display-inline.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<title>&lt;select&gt; with display:inline</title> +<link rel="author" title="Oriol Brufau" href="obrufau:obrufau@igalia.com"> +<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#the-select-element-2"> +<link rel="help" href="https://github.com/servo/servo/issues/39927"> +<link rel="match" href="select-display-inline-ref.html"> +<meta name="assert" content=" + A <select> is a widget, so it's atomic when it has display:inline. + In particular, this implies that it's transformable. +"> + +<select style="display: inline; transform: translateX(100px)"> + <option>option</option> +</select>