tor-browser

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

commit 71343510678cc1b8d2d8998348a20c9c8d58efb5
parent 331df6f3623311f5fa71adbc5d81999e95a03cdd
Author: Andy Paicu <andypaicu@chromium.org>
Date:   Tue, 21 Oct 2025 10:37:09 +0000

Bug 1995229 [wpt PR 55538] - [PEPC] Don't allow the CSS corner properties, a=testonly

Automatic update from web-platform-tests
[PEPC] Don't allow the CSS corner properties

They can be used to obscure quite a bit of the text, and they are also
just experimental.

Fixed: 450817267
Change-Id: Ieaad5988c3558e3547e12d39bd7d62f228be18b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7054364
Commit-Queue: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1532167}

--

wpt-commits: 122859e03434a2c41575e56f9bc2cf7b1c55408e
wpt-pr: 55538

Diffstat:
Mtesting/web-platform/tests/html/semantics/permission-element/invalid-css-properties.tentative.html | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/html/semantics/permission-element/invalid-css-properties.tentative.html b/testing/web-platform/tests/html/semantics/permission-element/invalid-css-properties.tentative.html @@ -20,6 +20,11 @@ cursor: none; content-visibility: hidden; contain: size; + corner-shape: notch; + corner-top-left-shape: scoop; + corner-top-right-shape: bevel; + corner-bottom-left-shape: squircle; + corner-bottom-right-shape: square; } </style> @@ -38,6 +43,11 @@ assert_equals(getComputedStyle(el_with_negatives).cursor, "pointer", "cursor"); assert_equals(getComputedStyle(el_with_negatives).contentVisibility, "visible", "content-visibility"); assert_equals(getComputedStyle(el_with_negatives).contain, "none", "contain"); + assert_equals(getComputedStyle(el_with_negatives).cornerShape, "round", "corner-shape"); + assert_equals(getComputedStyle(el_with_negatives).cornerTopLeftShape, "round", "corner-top-left-shape"); + assert_equals(getComputedStyle(el_with_negatives).cornerTopRightShape, "round", "corner-top-right-shape"); + assert_equals(getComputedStyle(el_with_negatives).cornerBottomLeftShape, "round", "corner-bottom-left-shape"); + assert_equals(getComputedStyle(el_with_negatives).cornerBottomRightShape, "round", "corner-bottom-right-shape"); }, "None of the listed properties should be applied"); </script> </body> \ No newline at end of file