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

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: Don't abuse timeline tests 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 <html>
3 <head>
4 <title>Elements affected by LocalStyleChange Inherit</title>
esprehn 2014/01/23 18:38:02 We usually leave off the <html>, <head>, <body> an
rune 2014/01/23 21:10:27 Done.
5 <script>
6 window.onload = function(){
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 document.body.style.color = "pink";
11
12 var result = "Test not run.";
13 if (window.internals) {
14 var count = internals.updateStyleAndReturnAffectedElementCount() ;
15 if (count == 3)
16 result = "PASS";
17 else
18 result = "FAIL - expected 3 recalcs, got " + count;
esprehn 2014/01/23 18:38:02 Use the test framework. You want to include js-te
rune 2014/01/23 21:10:27 Done.
19 }
20 document.body.innerHTML = result;
21 }
22 </script>
23 <style>
24 div { color: black; }
25 </style>
26 </head>
27 <body>
28 <div>
29 <div></div>
30 <div></div>
31 <div></div>
32 <div></div>
33 <div></div>
34 <div></div>
35 <div></div>
36 <div></div>
37 <div></div>
38 <div></div>
39 <div></div>
40 <div></div>
41 <div></div>
42 <div></div>
43 </div>
44 </body>
45 </html>
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