From 2dce453f11d4e11431ead30a1bc8abdbcdd5b183 Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Sat, 2 Mar 2024 14:21:51 -0700 Subject: [PATCH] LibWeb: Begin adding a longhand properties test This obviously excludes all shorthand properties. Eventually this test should contain a property entry for all CSS value and animation types (lengths, colors, custom animated properties, etc). --- .../interpolation-longhand-properties.txt | 23 +++++ .../interpolation-longhand-properties.html | 83 +++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/interpolation-longhand-properties.txt create mode 100644 Tests/LibWeb/Text/input/interpolation-longhand-properties.html diff --git a/Tests/LibWeb/Text/expected/interpolation-longhand-properties.txt b/Tests/LibWeb/Text/expected/interpolation-longhand-properties.txt new file mode 100644 index 0000000000..b7926858ab --- /dev/null +++ b/Tests/LibWeb/Text/expected/interpolation-longhand-properties.txt @@ -0,0 +1,23 @@ + At time 400: + accent-color: rgb(78, 88, 99) + align-content: flex-start + animation-duration: auto + aspect-ratio: 1.54415 / 1 + background-color: rgb(78, 88, 99) + background-repeat: repeat no-repeat + bottom: auto + box-shadow: rgb(163, 82, 142) 40px 80px 126px 0px inset, rgba(0, 0, 72, 0.4) 20px 4px 8px 12px + color: rgb(163, 82, 142) + transform: matrix(1, 0, 0, 1, 40, 40) + +At time 750: + accent-color: rgb(147, 157, 168) + align-content: space-between + animation-duration: auto + aspect-ratio: 1.36506 / 1 + background-color: rgb(147, 157, 168) + background-repeat: space space + bottom: 100% + box-shadow: rgb(81, 71, 210) 75px 150px 227.5px 0px, rgba(0, 0, 174, 0.749) 37.5px 7.5px 15px 22.5px + color: rgb(81, 71, 210) + transform: matrix(1, 0, 0, 1, 75, 75) diff --git a/Tests/LibWeb/Text/input/interpolation-longhand-properties.html b/Tests/LibWeb/Text/input/interpolation-longhand-properties.html new file mode 100644 index 0000000000..273ba382ca --- /dev/null +++ b/Tests/LibWeb/Text/input/interpolation-longhand-properties.html @@ -0,0 +1,83 @@ + +
+ +