Truly independent web browser
Meta+Tests/LibWeb: Restore upstream transform-interpolation-005
Shannon Booth54dc17b84706
diff --git a/Meta/import-wpt-test.py b/Meta/import-wpt-test.pyindex 7fd5ddecd9c..b6cdca4e2d7 100755--- a/Meta/import-wpt-test.py+++ b/Meta/import-wpt-test.py@@ -28,8 +28,6 @@ download_exclude_list = {"/resources/testdriver-vendor.js",# Modified to use a relative path, which the importer can't rewrite."/fonts/ahem.css",- # Modified to round the results of Math functions that appear in test names, since they differ between platforms.- "/css/css-transforms/animation/transform-interpolation-005.html",}visited_destinations = set()diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-transforms/animation/transform-interpolation-005.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-transforms/animation/transform-interpolation-005.txtindex 9ff1e8bfba6..e2e63482f0e 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-transforms/animation/transform-interpolation-005.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-transforms/animation/transform-interpolation-005.txt@@ -5,58 +5,58 @@ Found 384 tests384 PassPass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (-1) should be [matrix(0, 5, 1, 0, -6, -12)]Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0) should be [matrix(1, 0, 0, 1, 0, -6)]-Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.3333333333333333) should be [matrix(2.5980762113519997, 1.5, -0.5, 0.866025403784, 2, -4)]-Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.5) should be [matrix(2.828427124748, 2.828427124748, -0.707106781187, 0.707106781187, 3, -3)]-Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.6666666666666666) should be [matrix(2.5, 4.33012701892, -0.866025403784, 0.5, 4, -2)]+Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.3333333333333333) should be [matrix(2.598076211353316, 1.4999999999999998, -0.49999999999999994, 0.8660254037844387, 2, -4)]+Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.5) should be [matrix(2.8284271247461903, 2.82842712474619, -0.7071067811865475, 0.7071067811865476, 3, -3)]+Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.6666666666666666) should be [matrix(2.5000000000000004, 4.330127018922193, -0.8660254037844386, 0.5000000000000001, 4, -2)]Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (1) should be [matrix(0, 7, -1, 0, 6, 0)]Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (2) should be [matrix(-13, 0, 0, -1, 12, 6)]Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (-1) should be [matrix(0, 5, 1, 0, -6, -12)]Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0) should be [matrix(1, 0, 0, 1, 0, -6)]-Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.3333333333333333) should be [matrix(2.5980762113519997, 1.5, -0.5, 0.866025403784, 2, -4)]-Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.5) should be [matrix(2.828427124748, 2.828427124748, -0.707106781187, 0.707106781187, 3, -3)]-Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.6666666666666666) should be [matrix(2.5, 4.33012701892, -0.866025403784, 0.5, 4, -2)]+Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.3333333333333333) should be [matrix(2.598076211353316, 1.4999999999999998, -0.49999999999999994, 0.8660254037844387, 2, -4)]+Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.5) should be [matrix(2.8284271247461903, 2.82842712474619, -0.7071067811865475, 0.7071067811865476, 3, -3)]+Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.6666666666666666) should be [matrix(2.5000000000000004, 4.330127018922193, -0.8660254037844386, 0.5000000000000001, 4, -2)]Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (1) should be [matrix(0, 7, -1, 0, 6, 0)]Pass CSS Transitions with transition: all: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (2) should be [matrix(-13, 0, 0, -1, 12, 6)]Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (-1) should be [matrix(0, 5, 1, 0, -6, -12)]Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0) should be [matrix(1, 0, 0, 1, 0, -6)]-Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.3333333333333333) should be [matrix(2.5980762113519997, 1.5, -0.5, 0.866025403784, 2, -4)]-Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.5) should be [matrix(2.828427124748, 2.828427124748, -0.707106781187, 0.707106781187, 3, -3)]-Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.6666666666666666) should be [matrix(2.5, 4.33012701892, -0.866025403784, 0.5, 4, -2)]+Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.3333333333333333) should be [matrix(2.598076211353316, 1.4999999999999998, -0.49999999999999994, 0.8660254037844387, 2, -4)]+Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.5) should be [matrix(2.8284271247461903, 2.82842712474619, -0.7071067811865475, 0.7071067811865476, 3, -3)]+Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.6666666666666666) should be [matrix(2.5000000000000004, 4.330127018922193, -0.8660254037844386, 0.5000000000000001, 4, -2)]Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (1) should be [matrix(0, 7, -1, 0, 6, 0)]Pass CSS Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (2) should be [matrix(-13, 0, 0, -1, 12, 6)]Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (-1) should be [matrix(0, 5, 1, 0, -6, -12)]Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0) should be [matrix(1, 0, 0, 1, 0, -6)]-Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.3333333333333333) should be [matrix(2.5980762113519997, 1.5, -0.5, 0.866025403784, 2, -4)]-Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.5) should be [matrix(2.828427124748, 2.828427124748, -0.707106781187, 0.707106781187, 3, -3)]-Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.6666666666666666) should be [matrix(2.5, 4.33012701892, -0.866025403784, 0.5, 4, -2)]+Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.3333333333333333) should be [matrix(2.598076211353316, 1.4999999999999998, -0.49999999999999994, 0.8660254037844387, 2, -4)]+Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.5) should be [matrix(2.8284271247461903, 2.82842712474619, -0.7071067811865475, 0.7071067811865476, 3, -3)]+Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (0.6666666666666666) should be [matrix(2.5000000000000004, 4.330127018922193, -0.8660254037844386, 0.5000000000000001, 4, -2)]Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (1) should be [matrix(0, 7, -1, 0, 6, 0)]Pass Web Animations: property <transform> from [matrix(1, 0, 0, 1, 0, -6)] to [matrix(0, 7, -1, 0, 6, 0)] at (2) should be [matrix(-13, 0, 0, -1, 12, 6)]Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (-1) should be [matrix(-13, 0, 0, -1, 12, 6)]Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0) should be [matrix(0, 7, -1, 0, 6, 0)]-Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.3333333333333333) should be [matrix(2.5, 4.33012701892, -0.866025403784, 0.5, 4, -2)]-Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.5) should be [matrix(2.828427124748, 2.828427124748, -0.707106781187, 0.707106781187, 3, -3)]-Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.6666666666666666) should be [matrix(2.5980762113519997, 1.5, -0.5, 0.866025403784, 2, -4)]+Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.3333333333333333) should be [matrix(2.5000000000000004, 4.330127018922193, -0.8660254037844386, 0.5000000000000001, 4, -2)]+Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.5) should be [matrix(2.8284271247461903, 2.82842712474619, -0.7071067811865475, 0.7071067811865476, 3, -3)]+Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.6666666666666666) should be [matrix(2.598076211353316, 1.4999999999999998, -0.49999999999999994, 0.8660254037844387, 2, -4)]Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (1) should be [matrix(1, 0, 0, 1, 0, -6)]Pass CSS Transitions: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (2) should be [matrix(0, 5, 1, 0, -6, -12)]Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (-1) should be [matrix(-13, 0, 0, -1, 12, 6)]Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0) should be [matrix(0, 7, -1, 0, 6, 0)]-Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.3333333333333333) should be [matrix(2.5, 4.33012701892, -0.866025403784, 0.5, 4, -2)]-Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.5) should be [matrix(2.828427124748, 2.828427124748, -0.707106781187, 0.707106781187, 3, -3)]-Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.6666666666666666) should be [matrix(2.5980762113519997, 1.5, -0.5, 0.866025403784, 2, -4)]+Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.3333333333333333) should be [matrix(2.5000000000000004, 4.330127018922193, -0.8660254037844386, 0.5000000000000001, 4, -2)]+Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.5) should be [matrix(2.8284271247461903, 2.82842712474619, -0.7071067811865475, 0.7071067811865476, 3, -3)]+Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.6666666666666666) should be [matrix(2.598076211353316, 1.4999999999999998, -0.49999999999999994, 0.8660254037844387, 2, -4)]Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (1) should be [matrix(1, 0, 0, 1, 0, -6)]Pass CSS Transitions with transition: all: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (2) should be [matrix(0, 5, 1, 0, -6, -12)]Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (-1) should be [matrix(-13, 0, 0, -1, 12, 6)]Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0) should be [matrix(0, 7, -1, 0, 6, 0)]-Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.3333333333333333) should be [matrix(2.5, 4.33012701892, -0.866025403784, 0.5, 4, -2)]-Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.5) should be [matrix(2.828427124748, 2.828427124748, -0.707106781187, 0.707106781187, 3, -3)]-Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.6666666666666666) should be [matrix(2.5980762113519997, 1.5, -0.5, 0.866025403784, 2, -4)]+Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.3333333333333333) should be [matrix(2.5000000000000004, 4.330127018922193, -0.8660254037844386, 0.5000000000000001, 4, -2)]+Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.5) should be [matrix(2.8284271247461903, 2.82842712474619, -0.7071067811865475, 0.7071067811865476, 3, -3)]+Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.6666666666666666) should be [matrix(2.598076211353316, 1.4999999999999998, -0.49999999999999994, 0.8660254037844387, 2, -4)]Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (1) should be [matrix(1, 0, 0, 1, 0, -6)]Pass CSS Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (2) should be [matrix(0, 5, 1, 0, -6, -12)]Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (-1) should be [matrix(-13, 0, 0, -1, 12, 6)]Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0) should be [matrix(0, 7, -1, 0, 6, 0)]-Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.3333333333333333) should be [matrix(2.5, 4.33012701892, -0.866025403784, 0.5, 4, -2)]-Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.5) should be [matrix(2.828427124748, 2.828427124748, -0.707106781187, 0.707106781187, 3, -3)]-Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.6666666666666666) should be [matrix(2.5980762113519997, 1.5, -0.5, 0.866025403784, 2, -4)]+Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.3333333333333333) should be [matrix(2.5000000000000004, 4.330127018922193, -0.8660254037844386, 0.5000000000000001, 4, -2)]+Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.5) should be [matrix(2.8284271247461903, 2.82842712474619, -0.7071067811865475, 0.7071067811865476, 3, -3)]+Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (0.6666666666666666) should be [matrix(2.598076211353316, 1.4999999999999998, -0.49999999999999994, 0.8660254037844387, 2, -4)]Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (1) should be [matrix(1, 0, 0, 1, 0, -6)]Pass Web Animations: property <transform> from [matrix(0, 7, -1, 0, 6, 0)] to [matrix(1, 0, 0, 1, 0, -6)] at (2) should be [matrix(0, 5, 1, 0, -6, -12)]Pass CSS Transitions: property <transform> from [matrix(1, 0, 0, 7, 0, 0)] to [matrix(7, 0, 1, 1, 0, 0)] at (-1) should be [matrix(-5, 0, -13, 13, 0, 0)]diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-transforms/animation/transform-interpolation-005.html b/Tests/LibWeb/Text/input/wpt-import/css/css-transforms/animation/transform-interpolation-005.htmlindex a5aa873aca6..c49d86724fd 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-transforms/animation/transform-interpolation-005.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-transforms/animation/transform-interpolation-005.html@@ -52,15 +52,12 @@// See also webkit-transform-interpolation-005.html//-// NOTE: This is rounded for our import from WPT, since these are printed to the expectation file-// as part of the test names and are inconsistent across platforms at full precision.-const round = value => Number(value.toPrecision(12));-const cos30 = round(Math.cos(Math.PI / 6));-const sin30 = round(Math.sin(Math.PI / 6));-const cos45 = round(Math.cos(Math.PI / 4));-const sin45 = round(Math.sin(Math.PI / 4));-const cos60 = round(Math.cos(Math.PI / 3));-const sin60 = round(Math.sin(Math.PI / 3));+const cos30 = Math.cos(Math.PI / 6);+const sin30 = Math.sin(Math.PI / 6);+const cos45 = Math.cos(Math.PI / 4);+const sin45 = Math.sin(Math.PI / 4);+const cos60 = Math.cos(Math.PI / 3);+const sin60 = Math.sin(Math.PI / 3);// translateY(-6px) -> translateX(6px) rotate(90deg) scaleX(7)test_interpolation({