mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
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:
Notes:
github-actions[bot]
2025-12-15 14:31:43 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/38b02c79add Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7139
11
Tests/LibWeb/Ref/input/css/border-radius-slash-syntax.html
Normal file
11
Tests/LibWeb/Ref/input/css/border-radius-slash-syntax.html
Normal 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>
|
||||
Reference in New Issue
Block a user