mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
parent
9aa1b1e408
commit
35c74aecc2
11290 changed files with 92400 additions and 49214 deletions
|
@ -7,10 +7,10 @@
|
|||
<link href="http://www.w3.org/TR/css3-transitions/#transition-events" rel="help" title="5. Transition Events">
|
||||
<link href="http://rodneyrehm.de/en/" rel="author" title="Rodney Rehm">
|
||||
<meta content="dom" name="flags">
|
||||
|
||||
|
||||
<script src="/resources/testharness.js" type="text/javascript"></script>
|
||||
<script src="/resources/testharnessreport.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
<script src="./support/vendorPrefix.js" type="text/javascript"></script>
|
||||
<script src="./support/helper.js" type="text/javascript"></script>
|
||||
<script src="./support/runParallelAsyncHarness.js" type="text/javascript"></script>
|
||||
|
@ -26,7 +26,7 @@
|
|||
height: 100000px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<script id="metadata_cache">/*
|
||||
{
|
||||
"property repetition / events": {},
|
||||
|
@ -45,21 +45,21 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="offscreen"></div>
|
||||
|
||||
|
||||
<!--
|
||||
SEE ./support/README.md for an abstract explanation of the test procedure
|
||||
http://test.csswg.org/source/contributors/rodneyrehm/submitted/css3-transitions/README.md
|
||||
-->
|
||||
|
||||
<script>
|
||||
// If a property is specified multiple times in the value of ‘transition-property’ (either on its own, via a shorthand that
|
||||
// contains it, or via the ‘all’ value), then the transition that starts uses the duration, delay, and timing function at
|
||||
// If a property is specified multiple times in the value of ‘transition-property’ (either on its own, via a shorthand that
|
||||
// contains it, or via the ‘all’ value), then the transition that starts uses the duration, delay, and timing function at
|
||||
// the index corresponding to the last item in the value of ‘transition-property’ that calls for animating that property.
|
||||
|
||||
|
||||
// this test takes its time, give it a minute to run
|
||||
var timeout = 60000;
|
||||
setup({timeout: timeout});
|
||||
|
||||
|
||||
var tests = [
|
||||
{
|
||||
name: "property repetition",
|
||||
|
@ -67,7 +67,7 @@
|
|||
from: {'padding-left': '1px'},
|
||||
to: {'padding-left': '10px'},
|
||||
expect: [
|
||||
'padding-left:0.15s'
|
||||
'padding-left:0.15s'
|
||||
]
|
||||
}, {
|
||||
name: "padding, padding-left",
|
||||
|
@ -75,7 +75,7 @@
|
|||
from: {'padding-left': '1px'},
|
||||
to: {'padding-left': '10px'},
|
||||
expect: [
|
||||
'padding-left:0.15s'
|
||||
'padding-left:0.15s'
|
||||
]
|
||||
}, {
|
||||
name: "padding-left, padding",
|
||||
|
@ -83,11 +83,11 @@
|
|||
from: {'padding-left': '1px'},
|
||||
to: {'padding-left': '10px'},
|
||||
expect: [
|
||||
'padding-left:0.15s'
|
||||
'padding-left:0.15s'
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
// general transition-duration
|
||||
var duration = '0.5s';
|
||||
|
||||
|
@ -108,7 +108,7 @@
|
|||
'.container': {},
|
||||
'.container.to': {},
|
||||
'.container.how': {},
|
||||
|
||||
|
||||
'.transition': data.from,
|
||||
'.transition.to' : data.to,
|
||||
'.transition.how' : {transition: data.transitions}
|
||||
|
@ -142,4 +142,5 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue