mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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
|
@ -8,10 +8,10 @@
|
|||
<link href="http://www.w3.org/TR/css3-content/" rel="help" title="CSS3 Generated and Replaced Content Module">
|
||||
<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>
|
||||
|
@ -27,7 +27,7 @@
|
|||
height: 100000px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<script id="metadata_cache">/*
|
||||
{
|
||||
"transition padding-left on :before / values": {},
|
||||
|
@ -47,7 +47,7 @@
|
|||
</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
|
||||
|
@ -58,7 +58,7 @@
|
|||
// this test takes its time, give it a minute to run
|
||||
var timeout = 60000;
|
||||
setup({timeout: timeout});
|
||||
|
||||
|
||||
var tests = [
|
||||
{
|
||||
name: "transition padding-left on :before",
|
||||
|
@ -90,7 +90,7 @@
|
|||
to: {'padding-left': '10px', 'content': '"2"'}
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
// general transition-duration
|
||||
var duration = '0.5s';
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
|||
// prepare individual test
|
||||
setup: function(data, options) {
|
||||
generalParallelTest.setup(data, options);
|
||||
|
||||
|
||||
var styles = {};
|
||||
styles['.fixture'] = {};
|
||||
styles['.container'] = data.parentStyle;
|
||||
|
@ -138,7 +138,7 @@
|
|||
assert_not_equals(data.pseudo.from, data.pseudo.to, "initial and target values may not match");
|
||||
// kick off the transition
|
||||
generalParallelTest.startTransition(data);
|
||||
|
||||
|
||||
// make sure we didn't get the target value immediately.
|
||||
// If we did, there wouldn't be a transition!
|
||||
var current = data.pseudo.computedStyle(data.property);
|
||||
|
@ -155,4 +155,5 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue