Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef

This commit is contained in:
Ms2ger 2015-12-09 01:48:05 -05:00
parent 9aa1b1e408
commit 35c74aecc2
11290 changed files with 92400 additions and 49214 deletions

View file

@ -6,10 +6,10 @@
<link href="http://www.w3.org/TR/css3-transitions/#starting" rel="help" title="3. Starting of transitions">
<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>
@ -25,7 +25,7 @@
height: 100000px;
}
</style>
<script id="metadata_cache">/*
{
"background-position length-em(em) / values": {},
@ -101,7 +101,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
@ -109,14 +109,14 @@
<script>
// http://www.w3.org/TR/css3-transitions/#starting
// Implementations also must not start a transition when the computed value changes because
// Implementations also must not start a transition when the computed value changes because
// it is inherited (directly or indirectly) from another element that is transitioning the same property.
// Note: "indirectly" could mean "font-size" on parent, "em-based" on element
// this test takes its time, give it a minute to run
var timeout = 60000;
setup({timeout: timeout});
var tests = getFontSizeRelativePropertyTests();
// for testing, limit to a couple of iterations
// tests = tests.slice(10, 30);
@ -124,7 +124,7 @@
// tests = filterPropertyTests(tests, "background-color color(rgba)");
// tests = filterPropertyTests(tests, ["background-color color(rgba)", ...]);
// tests = filterPropertyTests(tests, /^background-color/);
// general transition-duration
var duration = '0.5s';
@ -146,12 +146,12 @@
var styles = {
// as we're testing inheritance, #fixture is our new parent
'.fixture': data.parentStyle,
'.container': from,
'.container.to': {'font-size': '30px'},
// transition font-size on parent
'.container.how': {transition: 'font-size ' + duration + ' linear 0s'},
'.transition': data.from,
'.transition.to' : {},
// transition font-size dependent property on child
@ -180,7 +180,7 @@
assert_not_equals(data.transition.from, data.transition.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.transition.computedStyle(data.property);
@ -206,4 +206,5 @@
});
</script>
</body></html>