Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / display-none-inline-style-change-crash.html
blob933cae1efb1ae5f9bc2ff98f59b5b0c25f036d47
1 <style>
2 /* dummy descendant rule */
3 span li { color: red; }
4 </style>
5 <p>
6 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15887">http://bugs.webkit.org/show_bug.cgi?id=15887</a> REGRESSION (r27576): Crash in ComputedStyle::affectedByHoverRules clicking link on Digg</i>.
7 </p>
8 <p>
9 This test should not crash.
10 </p>
11 <div id="target" style="display: none;"></div>
12 <script>
13 if (window.testRunner)
14 testRunner.dumpAsText();
15 document.getElementById("target").style.color = "blue";
16 </script>