Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee

This commit is contained in:
WPT Sync Bot 2018-04-23 21:13:37 -04:00
parent c5f7c9ccf3
commit e891345f26
1328 changed files with 36632 additions and 20588 deletions

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Manish Goregaokar" href="mailto:manishearth@gmail.com">
<style>
#box {
background:red;
width: 200px;
height: 200px;
transform: translate(100px, 0px);
}
</style>
</head>
<body>
<div id=box></div>
</body>
</html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Animating between translates where one has an implied `y` value</title>
<link rel="author" title="Manish Goregaokar" href="mailto:manishearth@gmail.com">
<meta name="assert" content='This tests that translate(x) is animated as if it were translate(x, 0px)'>
<link rel=match href=css-transform-animate-translate-implied-y-ref.html>
<link rel="help" href="https://drafts.csswg.org/css-transforms-1/#funcdef-transform-translate">
<style>
#box {
background:red;
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<div id=box></div>
<script>
let anim = document.getElementById('box').animate([
{ transform: 'translate(180px)' },
{ transform: 'translate(20px, 0px)' }
], {
duration: 1000,
});
anim.pause();
anim.currentTime = 500;
</script>
</body>
</html>

View file

@ -19,7 +19,6 @@ test_invalid_value("perspective-origin", "bottom 10% top 20%");
// The following were supported in an earlier version of the spec.
// https://github.com/w3c/csswg-drafts/issues/2140
// Deprecated in Blink with support to be removed in M68, around July 2018.
test_invalid_value("perspective-origin", "center left 1px");
test_invalid_value("perspective-origin", "center top 2px");
test_invalid_value("perspective-origin", "right 3% center");