commit 11db4f4ff54da3e219e4fe421ddbc898fc89c530
parent 9f3e40ae71ad6a4cb72404f616a38c082df6ccf3
Author: Oriol Brufau <obrufau@igalia.com>
Date: Thu, 9 Oct 2025 16:29:56 +0000
Bug 1992096 [wpt PR 55124] - Prevent nesting-basic.html from depending on font metrics, a=testonly
Automatic update from web-platform-tests
Prevent nesting-basic.html from depending on font metrics
This test was broken by #55065 on some browsers or platforms, because
that change assumed that the string "text" with the default font would
not be wider than 30px. That's not a safe assumption.
In fact the text was completely unnecessary, since what was relevant
was just the background-color. So I'm just removing it.
--
wpt-commits: 384eaa206c6b8a9ed44d32552764f73cebd7d0a7
wpt-pr: 55124
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/testing/web-platform/tests/css/css-nesting/nesting-basic.html b/testing/web-platform/tests/css/css-nesting/nesting-basic.html
@@ -90,8 +90,7 @@
.test-13::before {
background-color: green;
- color: green;
- content: "text";
+ content: "";
}
.test-13::before {
& {