diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.json index e3639bd40d9..eaba32db56a 100644 --- a/Libraries/LibWeb/CSS/Properties.json +++ b/Libraries/LibWeb/CSS/Properties.json @@ -994,7 +994,8 @@ ] }, "border-spacing": { - "animation-type": "discrete", + "_comment": "Follows the newer definition from: https://drafts.csswg.org/css-tables-3/#border-spacing-property", + "animation-type": "by-computed-value", "inherited": true, "initial": "0", "max-values": 2, diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-tables/animations/border-spacing-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-tables/animations/border-spacing-interpolation.txt new file mode 100644 index 00000000000..493419bd1f5 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-tables/animations/border-spacing-interpolation.txt @@ -0,0 +1,126 @@ +Harness status: OK + +Found 120 tests + +92 Pass +28 Fail +Pass CSS Transitions: property from neutral to [20px] at (-0.3) should be [7px 7px] +Pass CSS Transitions: property from neutral to [20px] at (0) should be [10px 10px] +Pass CSS Transitions: property from neutral to [20px] at (0.3) should be [13px 13px] +Pass CSS Transitions: property from neutral to [20px] at (0.6) should be [16px 16px] +Pass CSS Transitions: property from neutral to [20px] at (1) should be [20px 20px] +Pass CSS Transitions: property from neutral to [20px] at (1.5) should be [25px 25px] +Pass CSS Transitions with transition: all: property from neutral to [20px] at (-0.3) should be [7px 7px] +Pass CSS Transitions with transition: all: property from neutral to [20px] at (0) should be [10px 10px] +Pass CSS Transitions with transition: all: property from neutral to [20px] at (0.3) should be [13px 13px] +Pass CSS Transitions with transition: all: property from neutral to [20px] at (0.6) should be [16px 16px] +Pass CSS Transitions with transition: all: property from neutral to [20px] at (1) should be [20px 20px] +Pass CSS Transitions with transition: all: property from neutral to [20px] at (1.5) should be [25px 25px] +Fail CSS Animations: property from neutral to [20px] at (-0.3) should be [7px 7px] +Fail CSS Animations: property from neutral to [20px] at (0) should be [10px 10px] +Fail CSS Animations: property from neutral to [20px] at (0.3) should be [13px 13px] +Fail CSS Animations: property from neutral to [20px] at (0.6) should be [16px 16px] +Pass CSS Animations: property from neutral to [20px] at (1) should be [20px 20px] +Fail CSS Animations: property from neutral to [20px] at (1.5) should be [25px 25px] +Fail Web Animations: property from neutral to [20px] at (-0.3) should be [7px 7px] +Fail Web Animations: property from neutral to [20px] at (0) should be [10px 10px] +Fail Web Animations: property from neutral to [20px] at (0.3) should be [13px 13px] +Fail Web Animations: property from neutral to [20px] at (0.6) should be [16px 16px] +Pass Web Animations: property from neutral to [20px] at (1) should be [20px 20px] +Fail Web Animations: property from neutral to [20px] at (1.5) should be [25px 25px] +Fail CSS Transitions: property from [initial] to [20px] at (-0.3) should be [0px 0px] +Pass CSS Transitions: property from [initial] to [20px] at (0) should be [0px 0px] +Pass CSS Transitions: property from [initial] to [20px] at (0.3) should be [6px 6px] +Pass CSS Transitions: property from [initial] to [20px] at (0.6) should be [12px 12px] +Pass CSS Transitions: property from [initial] to [20px] at (1) should be [20px 20px] +Pass CSS Transitions: property from [initial] to [20px] at (1.5) should be [30px 30px] +Fail CSS Transitions with transition: all: property from [initial] to [20px] at (-0.3) should be [0px 0px] +Pass CSS Transitions with transition: all: property from [initial] to [20px] at (0) should be [0px 0px] +Pass CSS Transitions with transition: all: property from [initial] to [20px] at (0.3) should be [6px 6px] +Pass CSS Transitions with transition: all: property from [initial] to [20px] at (0.6) should be [12px 12px] +Pass CSS Transitions with transition: all: property from [initial] to [20px] at (1) should be [20px 20px] +Pass CSS Transitions with transition: all: property from [initial] to [20px] at (1.5) should be [30px 30px] +Fail CSS Animations: property from [initial] to [20px] at (-0.3) should be [0px 0px] +Pass CSS Animations: property from [initial] to [20px] at (0) should be [0px 0px] +Pass CSS Animations: property from [initial] to [20px] at (0.3) should be [6px 6px] +Pass CSS Animations: property from [initial] to [20px] at (0.6) should be [12px 12px] +Pass CSS Animations: property from [initial] to [20px] at (1) should be [20px 20px] +Pass CSS Animations: property from [initial] to [20px] at (1.5) should be [30px 30px] +Fail Web Animations: property from [initial] to [20px] at (-0.3) should be [0px 0px] +Pass Web Animations: property from [initial] to [20px] at (0) should be [0px 0px] +Pass Web Animations: property from [initial] to [20px] at (0.3) should be [6px 6px] +Pass Web Animations: property from [initial] to [20px] at (0.6) should be [12px 12px] +Pass Web Animations: property from [initial] to [20px] at (1) should be [20px 20px] +Pass Web Animations: property from [initial] to [20px] at (1.5) should be [30px 30px] +Pass CSS Transitions: property from [inherit] to [20px] at (-0.3) should be [33px 33px] +Pass CSS Transitions: property from [inherit] to [20px] at (0) should be [30px 30px] +Pass CSS Transitions: property from [inherit] to [20px] at (0.3) should be [27px 27px] +Pass CSS Transitions: property from [inherit] to [20px] at (0.6) should be [24px 24px] +Pass CSS Transitions: property from [inherit] to [20px] at (1) should be [20px 20px] +Pass CSS Transitions: property from [inherit] to [20px] at (1.5) should be [15px 15px] +Pass CSS Transitions with transition: all: property from [inherit] to [20px] at (-0.3) should be [33px 33px] +Pass CSS Transitions with transition: all: property from [inherit] to [20px] at (0) should be [30px 30px] +Pass CSS Transitions with transition: all: property from [inherit] to [20px] at (0.3) should be [27px 27px] +Pass CSS Transitions with transition: all: property from [inherit] to [20px] at (0.6) should be [24px 24px] +Pass CSS Transitions with transition: all: property from [inherit] to [20px] at (1) should be [20px 20px] +Pass CSS Transitions with transition: all: property from [inherit] to [20px] at (1.5) should be [15px 15px] +Pass CSS Animations: property from [inherit] to [20px] at (-0.3) should be [33px 33px] +Pass CSS Animations: property from [inherit] to [20px] at (0) should be [30px 30px] +Pass CSS Animations: property from [inherit] to [20px] at (0.3) should be [27px 27px] +Pass CSS Animations: property from [inherit] to [20px] at (0.6) should be [24px 24px] +Pass CSS Animations: property from [inherit] to [20px] at (1) should be [20px 20px] +Pass CSS Animations: property from [inherit] to [20px] at (1.5) should be [15px 15px] +Pass Web Animations: property from [inherit] to [20px] at (-0.3) should be [33px 33px] +Pass Web Animations: property from [inherit] to [20px] at (0) should be [30px 30px] +Pass Web Animations: property from [inherit] to [20px] at (0.3) should be [27px 27px] +Pass Web Animations: property from [inherit] to [20px] at (0.6) should be [24px 24px] +Pass Web Animations: property from [inherit] to [20px] at (1) should be [20px 20px] +Pass Web Animations: property from [inherit] to [20px] at (1.5) should be [15px 15px] +Pass CSS Transitions: property from [unset] to [20px] at (-0.3) should be [33px 33px] +Pass CSS Transitions: property from [unset] to [20px] at (0) should be [30px 30px] +Pass CSS Transitions: property from [unset] to [20px] at (0.3) should be [27px 27px] +Pass CSS Transitions: property from [unset] to [20px] at (0.6) should be [24px 24px] +Pass CSS Transitions: property from [unset] to [20px] at (1) should be [20px 20px] +Pass CSS Transitions: property from [unset] to [20px] at (1.5) should be [15px 15px] +Pass CSS Transitions with transition: all: property from [unset] to [20px] at (-0.3) should be [33px 33px] +Pass CSS Transitions with transition: all: property from [unset] to [20px] at (0) should be [30px 30px] +Pass CSS Transitions with transition: all: property from [unset] to [20px] at (0.3) should be [27px 27px] +Pass CSS Transitions with transition: all: property from [unset] to [20px] at (0.6) should be [24px 24px] +Pass CSS Transitions with transition: all: property from [unset] to [20px] at (1) should be [20px 20px] +Pass CSS Transitions with transition: all: property from [unset] to [20px] at (1.5) should be [15px 15px] +Fail CSS Animations: property from [unset] to [20px] at (-0.3) should be [33px 33px] +Fail CSS Animations: property from [unset] to [20px] at (0) should be [30px 30px] +Fail CSS Animations: property from [unset] to [20px] at (0.3) should be [27px 27px] +Fail CSS Animations: property from [unset] to [20px] at (0.6) should be [24px 24px] +Pass CSS Animations: property from [unset] to [20px] at (1) should be [20px 20px] +Fail CSS Animations: property from [unset] to [20px] at (1.5) should be [15px 15px] +Fail Web Animations: property from [unset] to [20px] at (-0.3) should be [33px 33px] +Fail Web Animations: property from [unset] to [20px] at (0) should be [30px 30px] +Fail Web Animations: property from [unset] to [20px] at (0.3) should be [27px 27px] +Fail Web Animations: property from [unset] to [20px] at (0.6) should be [24px 24px] +Pass Web Animations: property from [unset] to [20px] at (1) should be [20px 20px] +Fail Web Animations: property from [unset] to [20px] at (1.5) should be [15px 15px] +Fail CSS Transitions: property from [0px] to [10px] at (-0.3) should be [0px 0px] +Pass CSS Transitions: property from [0px] to [10px] at (0) should be [0px 0px] +Pass CSS Transitions: property from [0px] to [10px] at (0.3) should be [3px 3px] +Pass CSS Transitions: property from [0px] to [10px] at (0.6) should be [6px 6px] +Pass CSS Transitions: property from [0px] to [10px] at (1) should be [10px 10px] +Pass CSS Transitions: property from [0px] to [10px] at (1.5) should be [15px 15px] +Fail CSS Transitions with transition: all: property from [0px] to [10px] at (-0.3) should be [0px 0px] +Pass CSS Transitions with transition: all: property from [0px] to [10px] at (0) should be [0px 0px] +Pass CSS Transitions with transition: all: property from [0px] to [10px] at (0.3) should be [3px 3px] +Pass CSS Transitions with transition: all: property from [0px] to [10px] at (0.6) should be [6px 6px] +Pass CSS Transitions with transition: all: property from [0px] to [10px] at (1) should be [10px 10px] +Pass CSS Transitions with transition: all: property from [0px] to [10px] at (1.5) should be [15px 15px] +Fail CSS Animations: property from [0px] to [10px] at (-0.3) should be [0px 0px] +Pass CSS Animations: property from [0px] to [10px] at (0) should be [0px 0px] +Pass CSS Animations: property from [0px] to [10px] at (0.3) should be [3px 3px] +Pass CSS Animations: property from [0px] to [10px] at (0.6) should be [6px 6px] +Pass CSS Animations: property from [0px] to [10px] at (1) should be [10px 10px] +Pass CSS Animations: property from [0px] to [10px] at (1.5) should be [15px 15px] +Fail Web Animations: property from [0px] to [10px] at (-0.3) should be [0px 0px] +Pass Web Animations: property from [0px] to [10px] at (0) should be [0px 0px] +Pass Web Animations: property from [0px] to [10px] at (0.3) should be [3px 3px] +Pass Web Animations: property from [0px] to [10px] at (0.6) should be [6px 6px] +Pass Web Animations: property from [0px] to [10px] at (1) should be [10px 10px] +Pass Web Animations: property from [0px] to [10px] at (1.5) should be [15px 15px] \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-tables/animations/border-spacing-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-tables/animations/border-spacing-interpolation.html new file mode 100644 index 00000000000..786bcd89a35 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-tables/animations/border-spacing-interpolation.html @@ -0,0 +1,116 @@ + + +boder-spacing interpolation + + + + + + + + + + + + + +