summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/display-none-inline-style-change-crash.html
blob: 3d562735a0b6d25dd6e4e64344dc4418fc1f0826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<style>
    /* dummy descendant rule */
    span li { color: red; }
</style>
<p>
    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 RenderStyle::affectedByHoverRules clicking link on Digg</i>.
</p>
<p>
    This test should not crash.
</p>
<div id="target" style="display: none;"></div>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    document.getElementById("target").style.color = "blue";
</script>