LibWeb/CSS: Allow a slash in border-radius longhand properties

`border-radius` requires a slash between the x/y components, but the
longhands like `border-top-left-radius` don't allow it. This spec
change allows authors to put a slash there for consistency.

Corresponds to:
e938d7d705
This commit is contained in:
Sam Atkins
2025-12-15 12:42:01 +00:00
parent 4ab9ac86a7
commit 38b02c79ad
Notes: github-actions[bot] 2025-12-15 14:31:43 +00:00
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<link rel="match" href="../../expected/css/border-radius-slash-syntax-ref.html" />
<style>
#target {
width: 100px;
height: 100px;
background-color: black;
border-top-left-radius: 20px / 40px;
}
</style>
<div id="target"></div>