Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / recalc-inherit-001.html
blobacd8f4b9d724c0c923a085de1523b75e233c1714
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();
28 description("Check that we don't do unnecessary style recalcs for inheritance.");
30 if (window.internals)
31 internals.updateStyleAndReturnAffectedElementCount();
33 document.getElementById("t").style.color = "pink";
35 if (window.internals)
36 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
37 </script>