| Index: LayoutTests/animations/base-render-style-font-selector-version-assert.html
|
| diff --git a/LayoutTests/animations/base-render-style-font-selector-version-assert.html b/LayoutTests/animations/base-render-style-font-selector-version-assert.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..14ec6e1235a0cacf079d852c4258a12aed0977c6
|
| --- /dev/null
|
| +++ b/LayoutTests/animations/base-render-style-font-selector-version-assert.html
|
| @@ -0,0 +1,37 @@
|
| +<!DOCTYPE html>
|
| +<style id="emptyStyle"></style>
|
| +<style>
|
| +@font-face {
|
| + font-family: dummy;
|
| + src: local(dummy);
|
| +}
|
| +
|
| +#animated {
|
| + font-family: serif;
|
| + transition: background-color 1s;
|
| + background: white;
|
| +}
|
| +
|
| +#animated.green {
|
| + background-color: green;
|
| +}
|
| +</style>
|
| +<p>PASS if no assert.</p>
|
| +<div id="animated"></div>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.waitUntilDone();
|
| +
|
| +onload = function() {
|
| + animated.className = "green";
|
| + requestAnimationFrame(function(){
|
| + requestAnimationFrame(function(){
|
| + requestAnimationFrame(function(){
|
| + emptyStyle.parentNode.removeChild(emptyStyle);
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + });
|
| + });
|
| + });
|
| +};
|
| +</script>
|
|
|