Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / base-render-style-font-selector-version-assert.html
blob14ec6e1235a0cacf079d852c4258a12aed0977c6
1 <!DOCTYPE html>
2 <style id="emptyStyle"></style>
3 <style>
4 @font-face {
5 font-family: dummy;
6 src: local(dummy);
9 #animated {
10 font-family: serif;
11 transition: background-color 1s;
12 background: white;
15 #animated.green {
16 background-color: green;
18 </style>
19 <p>PASS if no assert.</p>
20 <div id="animated"></div>
21 <script>
22 if (window.testRunner)
23 testRunner.waitUntilDone();
25 onload = function() {
26 animated.className = "green";
27 requestAnimationFrame(function(){
28 requestAnimationFrame(function(){
29 requestAnimationFrame(function(){
30 emptyStyle.parentNode.removeChild(emptyStyle);
31 if (window.testRunner)
32 testRunner.notifyDone();
33 });
34 });
35 });
37 </script>