mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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">/*
|
||||
{
|
||||
"transition:all, changing padding-left / events": {},
|
||||
|
@ -51,21 +51,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>
|
||||
// For the keyword ‘all’, or if one of the identifiers listed is a shorthand property, implementations must
|
||||
// start transitions for any of its longhand sub-properties that are animatable (or, for ‘all’, all animatable
|
||||
// For the keyword ‘all’, or if one of the identifiers listed is a shorthand property, implementations must
|
||||
// start transitions for any of its longhand sub-properties that are animatable (or, for ‘all’, all animatable
|
||||
// properties), using the duration, delay, and timing function at the index corresponding to the shorthand.
|
||||
|
||||
|
||||
// this test takes its time, give it a minute to run
|
||||
var timeout = 60000;
|
||||
setup({timeout: timeout});
|
||||
|
||||
|
||||
var tests = [
|
||||
{
|
||||
name: "transition:all, changing padding-left",
|
||||
|
@ -73,7 +73,7 @@
|
|||
from: {'padding-left': '1px'},
|
||||
to: {'padding-left': '10px'},
|
||||
expect: [
|
||||
'padding-left:0.1s'
|
||||
'padding-left:0.1s'
|
||||
]
|
||||
}, {
|
||||
name: "transition:all, changing padding",
|
||||
|
@ -151,7 +151,7 @@
|
|||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
// general transition-duration
|
||||
var duration = '0.5s';
|
||||
|
||||
|
@ -172,7 +172,7 @@
|
|||
'.container': {},
|
||||
'.container.to': {},
|
||||
'.container.how': {},
|
||||
|
||||
|
||||
'.transition': data.from,
|
||||
'.transition.to' : data.to,
|
||||
'.transition.how' : {transition: data.transitions}
|
||||
|
@ -206,4 +206,5 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue