mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision b'b3615436df24bedfdc4f14f959428307a86f74ce'
This commit is contained in:
parent
883dcbda45
commit
496ae4e174
66 changed files with 771 additions and 173 deletions
|
@ -69,6 +69,7 @@
|
|||
verifyPosition('box3', easeIn());
|
||||
verifyPosition('box4', easeOut());
|
||||
verifyPosition('box5', easeInOut());
|
||||
verifyPosition('box6', 400);
|
||||
});
|
||||
}, 'Ensure that transition easing functions are properly applied.');
|
||||
};
|
||||
|
@ -80,6 +81,7 @@
|
|||
<div id="box3" class="box" style="transition-timing-function: ease-in;"></div>
|
||||
<div id="box4" class="box" style="transition-timing-function: ease-out;"></div>
|
||||
<div id="box5" class="box" style="transition-timing-function: ease-in-out;"></div>
|
||||
<div id="box6" class="box" style="transition-timing-function: linear(0, 1, 0);"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
<body>
|
||||
<script>
|
||||
test_valid_value("transition-timing-function", "linear");
|
||||
test_valid_value("transition-timing-function", "linear(0 0%, 0.5 50%, 1 100%)");
|
||||
test_valid_value("transition-timing-function", "linear(0 0%, 10 10%, 10 50%, 25.4 75%, 100 100%)");
|
||||
test_valid_value("transition-timing-function", "linear(0 0%, 1 100%)");
|
||||
|
||||
test_valid_value("transition-timing-function", "ease");
|
||||
test_valid_value("transition-timing-function", "ease-in");
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
'1s 2s width ease-in' : ["width", "1s", "ease-in", "2s"],
|
||||
'1s ease-in 2s width' : ["width", "1s", "ease-in", "2s"],
|
||||
'width ease-in 1s 2s' : ["width", "1s", "ease-in", "2s"],
|
||||
'width .1s ease-in .2s' : ["width", "0.1s", "ease-in", "0.2s"]
|
||||
};
|
||||
'width .1s ease-in .2s' : ["width", "0.1s", "ease-in", "0.2s"],
|
||||
'1s width linear(0, .5 10% 20%, 1, .5 50%, 1) 2s' : ["width", "1s", "linear(0 0%, 0.5 10%, 0.5 20%, 1 35%, 0.5 50%, 1 100%)", "2s"]};
|
||||
|
||||
for (var key in values) {
|
||||
if (Object.prototype.hasOwnProperty.call(values, key)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue