tor-browser

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

commit 5a24424d151c1b1e4a72afb79b145ea98ebaf066
parent e7bb78e38058c4782ccd995f8e2443e1a122b9f2
Author: Oriol Brufau <obrufau@igalia.com>
Date:   Sat, 22 Nov 2025 21:12:01 +0000

Bug 2001444 [wpt PR 56153] - layout: Cleanup for replaced elements with widgets, a=testonly

Automatic update from web-platform-tests
Add test and nit

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

--

wpt-commits: e22ad036c30e8b61f5c6bec66812016a7bce6357
wpt-pr: 56153

Diffstat:
Atesting/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-049-ref.html | 12++++++++++++
Atesting/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-049.html | 16++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-049-ref.html b/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-049-ref.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<title>CSS aspect-ratio reference: video with controls</title> + +<style> +video { + display: block; + border: solid green; + width: 300px; + height: 300px; +} +</style> +<video controls></video> diff --git a/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-049.html b/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-049.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<title>CSS aspect-ratio: video with controls</title> +<link rel="author" title="Oriol Brufau" href="obrufau@igalia.com"> +<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"> +<link rel="help" href="https://github.com/servo/servo/issues/40770"> +<link rel="match" href="replaced-element-049-ref.html"> + +<style> +video { + display: block; + border: solid green; + width: 300px; + aspect-ratio: 1; +} +</style> +<video controls></video>