Skip to content

Truly independent web browser

LibWeb: Serialize computed corner shapes as superellipse() values

Andreas Kling6c0aad37b5ca
diff --git a/Libraries/LibWeb/Rust/src/css/animation.rs b/Libraries/LibWeb/Rust/src/css/animation.rs
index 7b0b9a2b8c0..5c5385bab20 100644
--- a/Libraries/LibWeb/Rust/src/css/animation.rs
+++ b/Libraries/LibWeb/Rust/src/css/animation.rs
@@ -8371,7 +8371,7 @@ mod tests {
}
#[test]
- fn resolves_halfway_superellipses_to_a_bevel() {
+ fn resolves_halfway_superellipses_to_superellipse_zero() {
let property = crate::css::property_metadata::property_id::CORNER_TOP_LEFT_SHAPE;
let (from, to) = (
parsed(property, "superellipse(-infinity)"),
@@ -8381,7 +8381,7 @@ mod tests {
assert!(result.handled);
let value = result.value.unwrap().into_arc();
let text = crate::css::serialize::serialize_resolved_style_value_to_utf16(&value);
- assert_eq!(String::from_utf16(&text).unwrap(), "bevel");
+ assert_eq!(String::from_utf16(&text).unwrap(), "superellipse(0)");
}
#[test]
diff --git a/Libraries/LibWeb/Rust/src/css/serialize.rs b/Libraries/LibWeb/Rust/src/css/serialize.rs
index 43e47a968cc..bba68e58aea 100644
--- a/Libraries/LibWeb/Rust/src/css/serialize.rs
+++ b/Libraries/LibWeb/Rust/src/css/serialize.rs
@@ -997,29 +997,8 @@ pub(crate) fn serialize_style_value(sink: &mut TextSink, value: &StyleValueData,
StyleValueData::Number { value } => Some(*value),
_ => None,
};
- if mode.is_resolved()
- && let Some(number) = number
- {
- let keyword = if number == 1.0 {
- Some("round")
- } else if number == 2.0 {
- Some("squircle")
- } else if number == f64::INFINITY {
- Some("square")
- } else if number == 0.0 {
- Some("bevel")
- } else if number == -1.0 {
- Some("scoop")
- } else if number == f64::NEG_INFINITY {
- Some("notch")
- } else {
- None
- };
- if let Some(keyword) = keyword {
- sink.push_ascii(keyword);
- return;
- }
- }
+ // https://drafts.csswg.org/css-borders-4/#corner-shape-props
+ // Computed value: the corresponding superellipse() value
sink.push_ascii("superellipse(");
match number {
Some(number) if number == f64::INFINITY => sink.push_ascii("infinity"),
diff --git a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
index 48d288f3668..34613fab332 100644
--- a/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
+++ b/Tests/LibWeb/Text/expected/css/CSSStyleProperties-all-supported-properties-and-default-values.txt
@@ -444,40 +444,40 @@ All supported properties and their default values exposed from CSSStylePropertie
'contentVisibility': 'visible'
'content-visibility': 'visible'
'continue': 'auto'
-'cornerBlockEndShape': 'round'
-'corner-block-end-shape': 'round'
-'cornerBlockStartShape': 'round'
-'corner-block-start-shape': 'round'
-'cornerBottomLeftShape': 'round'
-'corner-bottom-left-shape': 'round'
-'cornerBottomRightShape': 'round'
-'corner-bottom-right-shape': 'round'
-'cornerBottomShape': 'round'
-'corner-bottom-shape': 'round'
-'cornerEndEndShape': 'round'
-'corner-end-end-shape': 'round'
-'cornerEndStartShape': 'round'
-'corner-end-start-shape': 'round'
-'cornerInlineEndShape': 'round'
-'corner-inline-end-shape': 'round'
-'cornerInlineStartShape': 'round'
-'corner-inline-start-shape': 'round'
-'cornerLeftShape': 'round'
-'corner-left-shape': 'round'
-'cornerRightShape': 'round'
-'corner-right-shape': 'round'
-'cornerShape': 'round'
-'corner-shape': 'round'
-'cornerStartEndShape': 'round'
-'corner-start-end-shape': 'round'
-'cornerStartStartShape': 'round'
-'corner-start-start-shape': 'round'
-'cornerTopLeftShape': 'round'
-'corner-top-left-shape': 'round'
-'cornerTopRightShape': 'round'
-'corner-top-right-shape': 'round'
-'cornerTopShape': 'round'
-'corner-top-shape': 'round'
+'cornerBlockEndShape': 'superellipse(1)'
+'corner-block-end-shape': 'superellipse(1)'
+'cornerBlockStartShape': 'superellipse(1)'
+'corner-block-start-shape': 'superellipse(1)'
+'cornerBottomLeftShape': 'superellipse(1)'
+'corner-bottom-left-shape': 'superellipse(1)'
+'cornerBottomRightShape': 'superellipse(1)'
+'corner-bottom-right-shape': 'superellipse(1)'
+'cornerBottomShape': 'superellipse(1)'
+'corner-bottom-shape': 'superellipse(1)'
+'cornerEndEndShape': 'superellipse(1)'
+'corner-end-end-shape': 'superellipse(1)'
+'cornerEndStartShape': 'superellipse(1)'
+'corner-end-start-shape': 'superellipse(1)'
+'cornerInlineEndShape': 'superellipse(1)'
+'corner-inline-end-shape': 'superellipse(1)'
+'cornerInlineStartShape': 'superellipse(1)'
+'corner-inline-start-shape': 'superellipse(1)'
+'cornerLeftShape': 'superellipse(1)'
+'corner-left-shape': 'superellipse(1)'
+'cornerRightShape': 'superellipse(1)'
+'corner-right-shape': 'superellipse(1)'
+'cornerShape': 'superellipse(1)'
+'corner-shape': 'superellipse(1)'
+'cornerStartEndShape': 'superellipse(1)'
+'corner-start-end-shape': 'superellipse(1)'
+'cornerStartStartShape': 'superellipse(1)'
+'corner-start-start-shape': 'superellipse(1)'
+'cornerTopLeftShape': 'superellipse(1)'
+'corner-top-left-shape': 'superellipse(1)'
+'cornerTopRightShape': 'superellipse(1)'
+'corner-top-right-shape': 'superellipse(1)'
+'cornerTopShape': 'superellipse(1)'
+'corner-top-shape': 'superellipse(1)'
'counterIncrement': 'none'
'counter-increment': 'none'
'counterReset': 'none'
diff --git a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
index 3f8b78a1c16..061b731bc24 100644
--- a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
+++ b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt
@@ -176,14 +176,14 @@ container-type: normal
content: normal
content-visibility: visible
continue: auto
-corner-bottom-left-shape: round
-corner-bottom-right-shape: round
-corner-end-end-shape: round
-corner-end-start-shape: round
-corner-start-end-shape: round
-corner-start-start-shape: round
-corner-top-left-shape: round
-corner-top-right-shape: round
+corner-bottom-left-shape: superellipse(1)
+corner-bottom-right-shape: superellipse(1)
+corner-end-end-shape: superellipse(1)
+corner-end-start-shape: superellipse(1)
+corner-start-end-shape: superellipse(1)
+corner-start-start-shape: superellipse(1)
+corner-top-left-shape: superellipse(1)
+corner-top-right-shape: superellipse(1)
counter-increment: none
counter-reset: none
counter-set: none
diff --git a/Tests/LibWeb/Text/expected/css/native-corner-shape-computation.txt b/Tests/LibWeb/Text/expected/css/native-corner-shape-computation.txt
index 75d5560b806..d803d0661a5 100644
--- a/Tests/LibWeb/Text/expected/css/native-corner-shape-computation.txt
+++ b/Tests/LibWeb/Text/expected/css/native-corner-shape-computation.txt
@@ -1,4 +1,4 @@
-corner-top-left-shape: round
-corner-top-right-shape: squircle
-corner-bottom-right-shape: scoop
-corner-bottom-left-shape: squircle
+corner-top-left-shape: superellipse(1)
+corner-top-right-shape: superellipse(2)
+corner-bottom-right-shape: superellipse(-1)
+corner-bottom-left-shape: superellipse(2)
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-borders/border-shape/border-shape-ignore-radius-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-borders/border-shape/border-shape-ignore-radius-computed.txt
index f8945a88bd5..6e1d0316c1b 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-borders/border-shape/border-shape-ignore-radius-computed.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-borders/border-shape/border-shape-ignore-radius-computed.txt
@@ -2,5 +2,5 @@ Harness status: OK
Found 1 tests
-1 Fail
-Fail border-radius and corner-shape are NOT reset in computed style when border-shape is specified
\ No newline at end of file
+1 Pass
+Pass border-radius and corner-shape are NOT reset in computed style when border-shape is specified
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-borders/corner-shape/corner-shape-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-borders/corner-shape/corner-shape-interpolation.txt
index 82b65f74213..91d7a938def 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-borders/corner-shape/corner-shape-interpolation.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-borders/corner-shape/corner-shape-interpolation.txt
@@ -4,231 +4,231 @@ Found 478 tests
478 Pass
Pass CSS Transitions: property <corner-top-left-shape> from [round] to neutral at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions: property <corner-top-left-shape> from [round] to neutral at (0) should be [round]
+Pass CSS Transitions: property <corner-top-left-shape> from [round] to neutral at (0) should be [superellipse(1)]
Pass CSS Transitions: property <corner-top-left-shape> from [round] to neutral at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions: property <corner-top-left-shape> from [round] to neutral at (1) should be [bevel]
+Pass CSS Transitions: property <corner-top-left-shape> from [round] to neutral at (1) should be [superellipse(0)]
Pass CSS Transitions: property <corner-top-left-shape> from [round] to neutral at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to neutral at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to neutral at (0) should be [round]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to neutral at (0) should be [superellipse(1)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to neutral at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to neutral at (1) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to neutral at (1) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to neutral at (1.5) should be [superellipse(-0.46)]
Pass CSS Animations: property <corner-top-left-shape> from [round] to neutral at (-0.3) should be [superellipse(1.4)]
-Pass CSS Animations: property <corner-top-left-shape> from [round] to neutral at (0) should be [round]
+Pass CSS Animations: property <corner-top-left-shape> from [round] to neutral at (0) should be [superellipse(1)]
Pass CSS Animations: property <corner-top-left-shape> from [round] to neutral at (0.6) should be [superellipse(0.36)]
-Pass CSS Animations: property <corner-top-left-shape> from [round] to neutral at (1) should be [bevel]
+Pass CSS Animations: property <corner-top-left-shape> from [round] to neutral at (1) should be [superellipse(0)]
Pass CSS Animations: property <corner-top-left-shape> from [round] to neutral at (1.5) should be [superellipse(-0.46)]
Pass Web Animations: property <corner-top-left-shape> from [round] to neutral at (-0.3) should be [superellipse(1.4)]
-Pass Web Animations: property <corner-top-left-shape> from [round] to neutral at (0) should be [round]
+Pass Web Animations: property <corner-top-left-shape> from [round] to neutral at (0) should be [superellipse(1)]
Pass Web Animations: property <corner-top-left-shape> from [round] to neutral at (0.6) should be [superellipse(0.36)]
-Pass Web Animations: property <corner-top-left-shape> from [round] to neutral at (1) should be [bevel]
+Pass Web Animations: property <corner-top-left-shape> from [round] to neutral at (1) should be [superellipse(0)]
Pass Web Animations: property <corner-top-left-shape> from [round] to neutral at (1.5) should be [superellipse(-0.46)]
-Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (-0.3) should be [round]
-Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (0) should be [round]
-Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (0.6) should be [round]
-Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (1) should be [round]
-Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (1.5) should be [round]
-Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (-0.3) should be [round]
-Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (0) should be [round]
-Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (0.6) should be [round]
-Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (1) should be [round]
-Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (1.5) should be [round]
+Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (-0.3) should be [superellipse(1)]
+Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (0) should be [superellipse(1)]
+Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (0.6) should be [superellipse(1)]
+Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (1) should be [superellipse(1)]
+Pass Compositing CSS Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (1.5) should be [superellipse(1)]
+Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (-0.3) should be [superellipse(1)]
+Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (0) should be [superellipse(1)]
+Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (0.6) should be [superellipse(1)]
+Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (1) should be [superellipse(1)]
+Pass Compositing Web Animations: property <corner-bottom-left-shape> underlying [round] from replace [round] to replace [[object Object]] at (1.5) should be [superellipse(1)]
Pass CSS Transitions: property <corner-top-left-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions: property <corner-top-left-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Transitions: property <corner-top-left-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Transitions: property <corner-top-left-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions: property <corner-top-left-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Transitions: property <corner-top-left-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Transitions: property <corner-top-left-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Animations: property <corner-top-left-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Animations: property <corner-top-left-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Animations: property <corner-top-left-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Animations: property <corner-top-left-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Animations: property <corner-top-left-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Animations: property <corner-top-left-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Animations: property <corner-top-left-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass Web Animations: property <corner-top-left-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass Web Animations: property <corner-top-left-shape> from [round] to [bevel] at (0) should be [round]
+Pass Web Animations: property <corner-top-left-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass Web Animations: property <corner-top-left-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass Web Animations: property <corner-top-left-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass Web Animations: property <corner-top-left-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass Web Animations: property <corner-top-left-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions: property <corner-top-right-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions: property <corner-top-right-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Transitions: property <corner-top-right-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Transitions: property <corner-top-right-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions: property <corner-top-right-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Transitions: property <corner-top-right-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Transitions: property <corner-top-right-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Animations: property <corner-top-right-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Animations: property <corner-top-right-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Animations: property <corner-top-right-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Animations: property <corner-top-right-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Animations: property <corner-top-right-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Animations: property <corner-top-right-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Animations: property <corner-top-right-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass Web Animations: property <corner-top-right-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass Web Animations: property <corner-top-right-shape> from [round] to [bevel] at (0) should be [round]
+Pass Web Animations: property <corner-top-right-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass Web Animations: property <corner-top-right-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass Web Animations: property <corner-top-right-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass Web Animations: property <corner-top-right-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass Web Animations: property <corner-top-right-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions: property <corner-bottom-right-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions: property <corner-bottom-right-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Transitions: property <corner-bottom-right-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Transitions: property <corner-bottom-right-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions: property <corner-bottom-right-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Transitions: property <corner-bottom-right-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Transitions: property <corner-bottom-right-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass Web Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass Web Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (0) should be [round]
+Pass Web Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass Web Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass Web Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass Web Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass Web Animations: property <corner-bottom-right-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions: property <corner-bottom-left-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions: property <corner-bottom-left-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Transitions: property <corner-bottom-left-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Transitions: property <corner-bottom-left-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions: property <corner-bottom-left-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Transitions: property <corner-bottom-left-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Transitions: property <corner-bottom-left-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass CSS Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (0) should be [round]
+Pass CSS Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass CSS Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass CSS Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass CSS Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass CSS Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass Web Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (-0.3) should be [superellipse(1.4)]
-Pass Web Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (0) should be [round]
+Pass Web Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (0) should be [superellipse(1)]
Pass Web Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (0.6) should be [superellipse(0.36)]
-Pass Web Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (1) should be [bevel]
+Pass Web Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (1) should be [superellipse(0)]
Pass Web Animations: property <corner-bottom-left-shape> from [round] to [bevel] at (1.5) should be [superellipse(-0.46)]
Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Transitions: property <corner-top-left-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Animations: property <corner-top-left-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0) should be [round]
-Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass Web Animations: property <corner-top-left-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Transitions: property <corner-top-right-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Transitions with transition: all: property <corner-top-right-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Animations: property <corner-top-right-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0) should be [round]
-Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass Web Animations: property <corner-top-right-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Transitions: property <corner-bottom-right-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Transitions with transition: all: property <corner-bottom-right-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0) should be [round]
-Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass Web Animations: property <corner-bottom-right-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Transitions: property <corner-bottom-left-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Transitions with transition: all: property <corner-bottom-left-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0) should be [round]
-Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass CSS Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (-0.3) should be [superellipse(1.91)]
-Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0) should be [round]
-Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.5) should be [bevel]
+Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0) should be [superellipse(1)]
+Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.5) should be [superellipse(0)]
Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (0.6) should be [superellipse(-0.18)]
-Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (1) should be [scoop]
+Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (1) should be [superellipse(-1)]
Pass Web Animations: property <corner-bottom-left-shape> from [initial] to [scoop] at (1.5) should be [superellipse(-2.95)]
Pass CSS Transitions: property <corner-top-left-shape> from [inherit] to [squircle] at (-0.3) should be [superellipse(-0.45)]
-Pass CSS Transitions: property <corner-top-left-shape> from [inherit] to [squircle] at (0) should be [bevel]
+Pass CSS Transitions: property <corner-top-left-shape> from [inherit] to [squircle] at (0) should be [superellipse(0)]
Pass CSS Transitions: property <corner-top-left-shape> from [inherit] to [squircle] at (0.6) should be [superellipse(0.98)]
-Pass CSS Transitions: property <corner-top-left-shape> from [inherit] to [squircle] at (1) should be [squircle]
-Pass CSS Transitions: property <corner-top-left-shape> from [inherit] to [squircle] at (1.5) should be [square]
+Pass CSS Transitions: property <corner-top-left-shape> from [inherit] to [squircle] at (1) should be [superellipse(2)]
+Pass CSS Transitions: property <corner-top-left-shape> from [inherit] to [squircle] at (1.5) should be [superellipse(infinity)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [inherit] to [squircle] at (-0.3) should be [superellipse(-0.45)]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [inherit] to [squircle] at (0) should be [bevel]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [inherit] to [squircle] at (0) should be [superellipse(0)]
Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [inherit] to [squircle] at (0.6) should be [superellipse(0.98)]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [inherit] to [squircle] at (1) should be [squircle]
-Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [inherit] to [squircle] at (1.5) should be [square]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [inherit] to [squircle] at (1) should be [superellipse(2)]
+Pass CSS Transitions with transition: all: property <corner-top-left-shape> from [inherit] to [squircle] at (1.5) should be [superellipse(infinity)]
Pass CSS Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (-0.3) should be [superellipse(-0.45)]
-Pass CSS Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (0) should be [bevel]
+Pass CSS Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (0) should be [superellipse(0)]
Pass CSS Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (0.6) should be [superellipse(0.98)]
-Pass CSS Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (1) should be [squircle]
-Pass CSS Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (1.5) should be [square]
+Pass CSS Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (1) should be [superellipse(2)]
+Pass CSS Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (1.5) should be [superellipse(infinity)]
Pass Web Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (-0.3) should be [superellipse(-0.45)]
-Pass Web Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (0) should be [bevel]
+Pass Web Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (0) should be [superellipse(0)]
Pass Web Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (0.6) should be [superellipse(0.98)]
-Pass Web Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (1) should be [squircle]
-Pass Web Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (1.5) should be [square]
+Pass Web Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (1) should be [superellipse(2)]
+Pass Web Animations: property <corner-top-left-shape> from [inherit] to [squircle] at (1.5) should be [superellipse(infinity)]
Pass CSS Transitions: property <corner-top-right-shape> from [inherit] to [square] at (-0.3) should be [superellipse(-0.69)]
Pass CSS Transitions: property <corner-top-right-shape> from [inherit] to [square] at (0) should be [bevel]
Pass CSS Transitions: property <corner-top-right-shape> from [inherit] to [square] at (0.6) should be [superellipse(1.64)]
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-borders/corner-shape/corner-shape-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-borders/corner-shape/corner-shape-computed.html
index 679b452e8d4..87d62859a39 100644
--- a/Tests/LibWeb/Text/input/wpt-import/css/css-borders/corner-shape/corner-shape-computed.html
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-borders/corner-shape/corner-shape-computed.html
@@ -11,43 +11,43 @@
<div id="target"></div>
<script>
-test_computed_value("corner-top-left-shape", "round");
-test_computed_value("corner-top-left-shape", "scoop");
+test_computed_value("corner-top-left-shape", "round", "superellipse(1)");
+test_computed_value("corner-top-left-shape", "scoop", "superellipse(-1)");
test_computed_value("corner-top-left-shape", "superellipse(5)");
test_computed_value("corner-top-left-shape", "superellipse(0.2)");
-test_computed_value("corner-top-left-shape", "superellipse(-infinity)", "notch");
-test_computed_value("corner-top-left-shape", "superellipse(infinity)", "square");
-test_computed_value("corner-top-left-shape", "superellipse(1)", "round");
-test_computed_value("corner-top-left-shape", "superellipse(0)", "bevel");
-test_computed_value("corner-top-left-shape", "superellipse(2)", "squircle");
-test_computed_value("corner-top-left-shape", "superellipse( -1)", "scoop");
-test_computed_value("corner-top-right-shape", "round");
+test_computed_value("corner-top-left-shape", "superellipse(-infinity)");
+test_computed_value("corner-top-left-shape", "superellipse(infinity)");
+test_computed_value("corner-top-left-shape", "superellipse(1)");
+test_computed_value("corner-top-left-shape", "superellipse(0)");
+test_computed_value("corner-top-left-shape", "superellipse(2)");
+test_computed_value("corner-top-left-shape", "superellipse( -1)", "superellipse(-1)");
+test_computed_value("corner-top-right-shape", "round", "superellipse(1)");
test_computed_value("corner-top-right-shape", "superellipse(5)");
-test_computed_value("corner-bottom-right-shape", "scoop");
+test_computed_value("corner-bottom-right-shape", "scoop", "superellipse(-1)");
test_computed_value("corner-bottom-left-shape", "superellipse(5)");
-test_computed_value("corner-shape", "superellipse(5) round");
-test_computed_value("corner-shape", "round");
-test_computed_value("corner-shape", "bevel superellipse(0.1) round squircle");
+test_computed_value("corner-shape", "superellipse(5) round", "superellipse(5) superellipse(1)");
+test_computed_value("corner-shape", "round", "superellipse(1)");
+test_computed_value("corner-shape", "bevel superellipse(0.1) round squircle", "superellipse(0) superellipse(0.1) superellipse(1) superellipse(2)");
test_computed_value("corner-shape", "superellipse(-5) superellipse(3) superellipse(7) superellipse(-5.5)");
-test_computed_value("corner-shape", "round round round round", "round");
-test_computed_value("corner-shape", "round scoop");
-test_computed_value("corner-shape", "round scoop round scoop", "round scoop");
-test_computed_value("corner-shape", "bevel superellipse(1)", "bevel round");
-test_computed_value("corner-shape", "superellipse(-1) superellipse(3) square", "scoop superellipse(3) square");
-test_computed_value("corner-shape", "superellipse(-1) superellipse(3) superellipse(0)", "scoop superellipse(3) bevel");
-test_computed_value("corner-shape", "bevel superellipse(1) squircle round", "bevel round squircle");
-test_computed_value("corner-shape", "superellipse(-1) superellipse(3) superellipse(0) superellipse(infinity)", "scoop superellipse(3) bevel square");
-test_computed_value("corner-left-shape", "round scoop");
-test_computed_value("corner-top-shape", "round scoop");
+test_computed_value("corner-shape", "round round round round", "superellipse(1)");
+test_computed_value("corner-shape", "round scoop", "superellipse(1) superellipse(-1)");
+test_computed_value("corner-shape", "round scoop round scoop", "superellipse(1) superellipse(-1)");
+test_computed_value("corner-shape", "bevel superellipse(1)", "superellipse(0) superellipse(1)");
+test_computed_value("corner-shape", "superellipse(-1) superellipse(3) square", "superellipse(-1) superellipse(3) superellipse(infinity)");
+test_computed_value("corner-shape", "superellipse(-1) superellipse(3) superellipse(0)");
+test_computed_value("corner-shape", "bevel superellipse(1) squircle round", "superellipse(0) superellipse(1) superellipse(2)");
+test_computed_value("corner-shape", "superellipse(-1) superellipse(3) superellipse(0) superellipse(infinity)");
+test_computed_value("corner-left-shape", "round scoop", "superellipse(1) superellipse(-1)");
+test_computed_value("corner-top-shape", "round scoop", "superellipse(1) superellipse(-1)");
test_computed_value("corner-top-shape", "superellipse(4)");
test_computed_value("corner-right-shape", "superellipse(-1.5) superellipse(3)");
-test_computed_value("corner-right-shape", "superellipse(-1) superellipse(2)", "scoop squircle");
-test_computed_value("corner-bottom-shape", "scoop scoop", "scoop");
-test_computed_value("corner-inline-start-shape", "round scoop");
-test_computed_value("corner-block-start-shape", "round scoop");
+test_computed_value("corner-right-shape", "superellipse(-1) superellipse(2)", "superellipse(-1) superellipse(2)");
+test_computed_value("corner-bottom-shape", "scoop scoop", "superellipse(-1)");
+test_computed_value("corner-inline-start-shape", "round scoop", "superellipse(1) superellipse(-1)");
+test_computed_value("corner-block-start-shape", "round scoop", "superellipse(1) superellipse(-1)");
test_computed_value("corner-block-end-shape", "superellipse(4)");
test_computed_value("corner-inline-end-shape", "superellipse(-1.5) superellipse(3)");
-test_computed_value("corner-inline-start-shape", "superellipse(-1) superellipse(2)", "scoop squircle");
-test_computed_value("corner-block-end-shape", "scoop scoop", "scoop");
+test_computed_value("corner-inline-start-shape", "superellipse(-1) superellipse(2)", "superellipse(-1) superellipse(2)");
+test_computed_value("corner-block-end-shape", "scoop scoop", "superellipse(-1)");
</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-borders/corner-shape/corner-shape-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-borders/corner-shape/corner-shape-interpolation.html
index 8b012757afc..00cbd39d6b7 100644
--- a/Tests/LibWeb/Text/input/wpt-import/css/css-borders/corner-shape/corner-shape-interpolation.html
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-borders/corner-shape/corner-shape-interpolation.html
@@ -40,9 +40,9 @@ test_interpolation({
to: neutralKeyframe,
}, [
{at: -0.3, expect: 'superellipse(1.4)'},
- {at: 0, expect: 'round'},
+ {at: 0, expect: 'superellipse(1)'},
{at: 0.6, expect: 'superellipse(0.36)'},
- {at: 1, expect: 'bevel'},
+ {at: 1, expect: 'superellipse(0)'},
{at: 1.5, expect: 'superellipse(-0.46)'},
]);
@@ -52,11 +52,11 @@ test_composition({
replaceFrom: 'round',
replaceTo: neutralKeyframe,
}, [
- {at: -0.3, expect: 'round'},
- {at: 0, expect: 'round'},
- {at: 0.6, expect: 'round'},
- {at: 1, expect: 'round'},
- {at: 1.5, expect: 'round'},
+ {at: -0.3, expect: 'superellipse(1)'},
+ {at: 0, expect: 'superellipse(1)'},
+ {at: 0.6, expect: 'superellipse(1)'},
+ {at: 1, expect: 'superellipse(1)'},
+ {at: 1.5, expect: 'superellipse(1)'},
]);
test_corner_shape_interpolation({
@@ -64,9 +64,9 @@ test_corner_shape_interpolation({
to: 'bevel',
}, [
{at: -0.3, expect: 'superellipse(1.4)'},
- {at: 0, expect: 'round'},
+ {at: 0, expect: 'superellipse(1)'},
{at: 0.6, expect: 'superellipse(0.36)'},
- {at: 1, expect: 'bevel'},
+ {at: 1, expect: 'superellipse(0)'},
{at: 1.5, expect: 'superellipse(-0.46)'},
]);
test_corner_shape_interpolation({
@@ -74,10 +74,10 @@ test_corner_shape_interpolation({
to: 'scoop',
}, [
{at: -0.3, expect: 'superellipse(1.91)'},
- {at: 0, expect: 'round'},
- {at: 0.5, expect: 'bevel'},
+ {at: 0, expect: 'superellipse(1)'},
+ {at: 0.5, expect: 'superellipse(0)'},
{at: 0.6, expect: 'superellipse(-0.18)'},
- {at: 1, expect: 'scoop'},
+ {at: 1, expect: 'superellipse(-1)'},
{at: 1.5, expect: 'superellipse(-2.95)'},
]);
@@ -87,10 +87,10 @@ test_interpolation({
to: 'squircle',
}, [
{at: -0.3, expect: 'superellipse(-0.45)'},
- {at: 0, expect: 'bevel'},
+ {at: 0, expect: 'superellipse(0)'},
{at: 0.6, expect: 'superellipse(0.98)'},
- {at: 1, expect: 'squircle'},
- {at: 1.5, expect: 'square'},
+ {at: 1, expect: 'superellipse(2)'},
+ {at: 1.5, expect: 'superellipse(infinity)'},
]);
test_interpolation({
property: 'corner-top-right-shape',
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/support/parsing-testcommon.js b/Tests/LibWeb/Text/input/wpt-import/css/support/parsing-testcommon.js
index 93fd0090770..e2adffa4624 100644
--- a/Tests/LibWeb/Text/input/wpt-import/css/support/parsing-testcommon.js
+++ b/Tests/LibWeb/Text/input/wpt-import/css/support/parsing-testcommon.js
@@ -50,8 +50,9 @@ function test_invalid_value(property, value) {
}, "e.style['" + property + "'] = " + stringifiedValue + " should not set the property value");
}
-function test_valid_forgiving_selector(selector) {
- test_valid_selector(selector, selector, { onlyWhenForgiving: true });
+function test_valid_forgiving_selector(selector, serializedValue = null) {
+ test_valid_selector(selector, serializedValue ? serializedValue : selector,
+ {onlyWhenForgiving: true});
}
// serializedSelector can be the expected serialization of selector,