From 2553e3c632c2481adc4bd443d7e73218b688f1d3 Mon Sep 17 00:00:00 2001 From: Daniil Sakhapov Date: Tue, 14 Apr 2026 07:27:11 -0700 Subject: [PATCH] [border-shape] Disable border-radius and corner-shape with border-shape https://drafts.csswg.org/css-borders-4/#border-shape-radius-interaction The border-shape property is not compatible with border-radius and corner-shape, so disable it explicitly instead of doing so in layout/ paint. Fixed: 501626908 Change-Id: I34eb29d8de2c8c4049e0b7e315b5cc0e640ff67c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7748831 Reviewed-by: Rune Lillesveen Commit-Queue: Daniil Sakhapov Cr-Commit-Position: refs/heads/main@{#1614410} --- .../border-shape-ignore-radius-computed.html | 27 +++++++++++++++++++ .../border-shape-ignore-radius-ref.html | 17 ++++++++++++ .../border-shape-ignore-radius.html | 20 ++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 css/css-borders/border-shape/border-shape-ignore-radius-computed.html create mode 100644 css/css-borders/border-shape/border-shape-ignore-radius-ref.html create mode 100644 css/css-borders/border-shape/border-shape-ignore-radius.html diff --git a/css/css-borders/border-shape/border-shape-ignore-radius-computed.html b/css/css-borders/border-shape/border-shape-ignore-radius-computed.html new file mode 100644 index 00000000000000..2e8e2c8589bbd9 --- /dev/null +++ b/css/css-borders/border-shape/border-shape-ignore-radius-computed.html @@ -0,0 +1,27 @@ + +CSS Border Shape: border-radius is ignored in computed style when border-shape is specified + + + + +
+ diff --git a/css/css-borders/border-shape/border-shape-ignore-radius-ref.html b/css/css-borders/border-shape/border-shape-ignore-radius-ref.html new file mode 100644 index 00000000000000..f5e1a93db17b8b --- /dev/null +++ b/css/css-borders/border-shape/border-shape-ignore-radius-ref.html @@ -0,0 +1,17 @@ + + +
diff --git a/css/css-borders/border-shape/border-shape-ignore-radius.html b/css/css-borders/border-shape/border-shape-ignore-radius.html new file mode 100644 index 00000000000000..5f4458871baaa5 --- /dev/null +++ b/css/css-borders/border-shape/border-shape-ignore-radius.html @@ -0,0 +1,20 @@ + +CSS Border Shape: border-radius is ignored when border-shape is specified + + + +