mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision 912d5081b62d6e6a2f847935c82722e31cca7a1f
This commit is contained in:
parent
eeaca0b26d
commit
a44e48301c
75 changed files with 1894 additions and 292 deletions
|
@ -15,6 +15,7 @@
|
|||
<div id="test"></div>
|
||||
<script>
|
||||
|
||||
// Transition does not occur when the value is currentColor and color changes
|
||||
test(function() {
|
||||
var div = document.getElementById("test");
|
||||
var cs = getComputedStyle(div, "");
|
||||
|
@ -32,8 +33,7 @@ test(function() {
|
|||
assert_true(quarter_interpolated != quarter_reference &&
|
||||
quarter_interpolated == final_reference);
|
||||
},
|
||||
"currentcolortransition",
|
||||
{ assert: "Transition does not occur when the value is currentColor and color changes" });
|
||||
"currentcolortransition");
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -100,10 +100,8 @@
|
|||
|
||||
// create all the tests we need
|
||||
for (var i = 0; i < kANIMATABLE_CSS_PROPERTIES.length; i++) {
|
||||
testsIntermediate.push(async_test(kANIMATABLE_CSS_PROPERTIES[i][0] + " intermediate",
|
||||
{ assert: "property " + kANIMATABLE_CSS_PROPERTIES[i][0] + " is animatable" }));
|
||||
testsEnd.push(async_test(kANIMATABLE_CSS_PROPERTIES[i][0] + " end",
|
||||
{ assert: "property " + kANIMATABLE_CSS_PROPERTIES[i][0] + " has correct value after transition's end" }));
|
||||
testsIntermediate.push(async_test(kANIMATABLE_CSS_PROPERTIES[i][0] + " intermediate"));
|
||||
testsEnd.push(async_test(kANIMATABLE_CSS_PROPERTIES[i][0] + " end"));
|
||||
}
|
||||
|
||||
// getComputedStyle helper
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue