Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: LayoutTests/animations/base-render-style-font-selector-version-assert.html

Issue 1038193002: Clear baseLayoutStyle when the font selector version has increased. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed review issues Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/animations/base-render-style-font-selector-version-assert-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style id="emptyStyle"></style>
3 <style>
4 @font-face {
5 font-family: dummy;
6 src: local(dummy);
7 }
8
9 #animated {
10 font-family: serif;
11 transition: background-color 1s;
12 background: white;
13 }
14
15 #animated.green {
16 background-color: green;
17 }
18 </style>
19 <p>PASS if no assert.</p>
20 <div id="animated"></div>
21 <script>
22 if (window.testRunner)
23 testRunner.waitUntilDone();
24
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 });
36 };
37 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/base-render-style-font-selector-version-assert-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698