| OLD | NEW |
| 1 <style> | 1 <style> |
| 2 /* dummy descendant rule */ | 2 /* dummy descendant rule */ |
| 3 span li { color: red; } | 3 span li { color: red; } |
| 4 </style> | 4 </style> |
| 5 <p> | 5 <p> |
| 6 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15887">http://bu
gs.webkit.org/show_bug.cgi?id=15887</a> REGRESSION (r27576): Crash in LayoutStyl
e::affectedByHoverRules clicking link on Digg</i>. | 6 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15887">http://bu
gs.webkit.org/show_bug.cgi?id=15887</a> REGRESSION (r27576): Crash in ComputedSt
yle::affectedByHoverRules clicking link on Digg</i>. |
| 7 </p> | 7 </p> |
| 8 <p> | 8 <p> |
| 9 This test should not crash. | 9 This test should not crash. |
| 10 </p> | 10 </p> |
| 11 <div id="target" style="display: none;"></div> | 11 <div id="target" style="display: none;"></div> |
| 12 <script> | 12 <script> |
| 13 if (window.testRunner) | 13 if (window.testRunner) |
| 14 testRunner.dumpAsText(); | 14 testRunner.dumpAsText(); |
| 15 document.getElementById("target").style.color = "blue"; | 15 document.getElementById("target").style.color = "blue"; |
| 16 </script> | 16 </script> |
| OLD | NEW |