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

Side by Side Diff: LayoutTests/fast/css/recalc-inherit-001.html

Issue 139743017: Don't propagate Inherit ad infinitum. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed test review issues. Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/recalc-inherit-001-expected.txt » ('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 <script src="../../resources/js-test.js"></script>
3 <style>
4 div { color: black; }
5 </style>
6 <div id="t">
7 <div>
8 <div></div>
9 <div></div>
10 <div></div>
11 <div></div>
12 <div></div>
13 <div></div>
14 <div></div>
15 <div></div>
16 <div></div>
17 <div></div>
18 <div></div>
19 <div></div>
20 <div></div>
21 <div></div>
22 </div>
23 </div>
24 <script>
25 if (window.testRunner)
26 testRunner.dumpAsText();
27
28 description("Check that we don't do unnecessary style recalcs for inheritance.") ;
29
30 if (window.internals)
31 internals.updateStyleAndReturnAffectedElementCount();
32
33 document.getElementById("t").style.color = "pink";
34
35 if (window.internals)
36 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
37 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/recalc-inherit-001-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698