aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-transforms
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-11-18 10:33:06 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-11-18 15:04:31 +0000
commita68b59d35aea81cd85ae80fead1c998420ac91b6 (patch)
treeafc9da7fc97d9a83a3e5aa931a3ff5ac50fa2f2d /tests/wpt/web-platform-tests/css/css-transforms
parentdfa78986a6f74176bc36f4ba29969ec421a8730c (diff)
downloadservo-a68b59d35aea81cd85ae80fead1c998420ac91b6.tar.gz
servo-a68b59d35aea81cd85ae80fead1c998420ac91b6.zip
Update web-platform-tests to revision b624f9b794b1fbc6672fb744bb0ed18819be4d44
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-transforms')
-rw-r--r--tests/wpt/web-platform-tests/css/css-transforms/animation/scale-interpolation.html34
-rw-r--r--tests/wpt/web-platform-tests/css/css-transforms/animation/translate-interpolation.html8
-rw-r--r--tests/wpt/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html4
-rw-r--r--tests/wpt/web-platform-tests/css/css-transforms/parsing/translate-parsing-valid.html5
4 files changed, 22 insertions, 29 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-transforms/animation/scale-interpolation.html b/tests/wpt/web-platform-tests/css/css-transforms/animation/scale-interpolation.html
index e71b134ce5f..29999d49ccf 100644
--- a/tests/wpt/web-platform-tests/css/css-transforms/animation/scale-interpolation.html
+++ b/tests/wpt/web-platform-tests/css/css-transforms/animation/scale-interpolation.html
@@ -92,12 +92,12 @@
from: '-10 5 1',
to: '1',
}, [
- {at: -1, expect: '-21 9 1'},
- {at: 0, expect: '-10 5 1'},
- {at: 0.25, expect: '-7.25 4 1'},
- {at: 0.75, expect: '-1.75 2 1'},
+ {at: -1, expect: '-21 9'},
+ {at: 0, expect: '-10 5'},
+ {at: 0.25, expect: '-7.25 4'},
+ {at: 0.75, expect: '-1.75 2'},
{at: 1, expect: '1'},
- {at: 2, expect: '12 -3 1'},
+ {at: 2, expect: '12 -3'},
]);
// Handling of the none value.
@@ -148,12 +148,12 @@
from: 'initial',
to: '2 0.5 1',
}, [
- {at: -1, expect: '0 1.5 1'},
+ {at: -1, expect: '0 1.5'},
{at: 0, expect: 'none'},
- {at: 0.25, expect: '1.25 0.875 1'},
- {at: 0.75, expect: '1.75 0.625 1'},
- {at: 1, expect: '2 0.5 1'},
- {at: 2, expect: '3 0 1'},
+ {at: 0.25, expect: '1.25 0.875'},
+ {at: 0.75, expect: '1.75 0.625'},
+ {at: 1, expect: '2 0.5'},
+ {at: 2, expect: '3 0'},
]);
test_interpolation({
@@ -161,12 +161,12 @@
from: '2 0.5 1',
to: 'initial',
}, [
- {at: -1, expect: '3 0 1'},
- {at: 0, expect: '2 0.5 1'},
- {at: 0.25, expect: '1.75 0.6251 1'},
- {at: 0.75, expect: '1.25 0.875 1'},
+ {at: -1, expect: '3 0'},
+ {at: 0, expect: '2 0.5'},
+ {at: 0.25, expect: '1.75 0.6251'},
+ {at: 0.75, expect: '1.25 0.875'},
{at: 1, expect: 'none'},
- {at: 2, expect: '0 1.5 1'},
+ {at: 2, expect: '0 1.5'},
]);
@@ -194,7 +194,7 @@
{at: 0, expect: '0.5 1 2'},
{at: 0.25, expect: '0.875 0.875 1.75'},
{at: 0.75, expect: '1.625 0.625 1.25'},
- {at: 1, expect: '2 0.5 1'},
+ {at: 1, expect: '2 0.5'},
{at: 2, expect: '3.5 0 0'},
]);
@@ -204,7 +204,7 @@
to: 'inherit',
}, [
{at: -1, expect: '3.5 0 0'},
- {at: 0, expect: '2 0.5 1'},
+ {at: 0, expect: '2 0.5'},
{at: 0.25, expect: '1.625 0.625 1.25'},
{at: 0.75, expect: '0.875 0.875 1.75'},
{at: 1, expect: '0.5 1 2'},
diff --git a/tests/wpt/web-platform-tests/css/css-transforms/animation/translate-interpolation.html b/tests/wpt/web-platform-tests/css/css-transforms/animation/translate-interpolation.html
index 3d40863b3b4..1764df3e967 100644
--- a/tests/wpt/web-platform-tests/css/css-transforms/animation/translate-interpolation.html
+++ b/tests/wpt/web-platform-tests/css/css-transforms/animation/translate-interpolation.html
@@ -9,14 +9,6 @@
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/interpolation-testcommon.js"></script>
<style>
- body {
- width: 500px;
- height: 500px;
- }
- div {
- width: 10px;
- height: 10px;
- }
.parent {
translate: 100px 200px 300px;
}
diff --git a/tests/wpt/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html b/tests/wpt/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html
index ac23a17b013..bbd443a717a 100644
--- a/tests/wpt/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html
+++ b/tests/wpt/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html
@@ -17,10 +17,10 @@ test_valid_value("scale", "1");
test_valid_value("scale", "100");
test_valid_value("scale", "100 100", "100");
-test_valid_value("scale", "100 100 1");
+test_valid_value("scale", "100 100 1", "100");
test_valid_value("scale", "100 200");
-test_valid_value("scale", "100 200 1");
+test_valid_value("scale", "100 200 1", "100 200");
test_valid_value("scale", "100 200 300");
</script>
</body>
diff --git a/tests/wpt/web-platform-tests/css/css-transforms/parsing/translate-parsing-valid.html b/tests/wpt/web-platform-tests/css/css-transforms/parsing/translate-parsing-valid.html
index 17699ccc1c2..f15fdf0c4fb 100644
--- a/tests/wpt/web-platform-tests/css/css-transforms/parsing/translate-parsing-valid.html
+++ b/tests/wpt/web-platform-tests/css/css-transforms/parsing/translate-parsing-valid.html
@@ -23,14 +23,15 @@ test_valid_value("translate", "100px calc(10px - 10%)", "100px calc(10px - 10%)"
test_valid_value("translate", "100px 200%");
test_valid_value("translate", "100% 200px");
-test_valid_value("translate", "100px 200px 0px");
+test_valid_value("translate", "100px 200px 0px", "100px 200px");
+test_valid_value("translate", "100px 0px 0px", "100px");
test_valid_value("translate", "100px 200px 300px");
test_valid_value("translate", "100% 200% 300px");
test_valid_value("translate", "calc(10% + 10px) calc(20% + 20px) calc(30em + 30px)");
test_valid_value("translate", "0", "0px");
-test_valid_value("translate", "1px 2px 0", "1px 2px 0px");
+test_valid_value("translate", "1px 2px 0", "1px 2px");
</script>
</body>
</html>