<!DOCTYPE HTML>
<head>
    <link rel="stylesheet" href="../resources/blending-style.css">
    <script src="../../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
</head>
<body>
    <p>This test checks that removing isolation from an element being stacking context for other reasons will not trigger any repaint.</p>
    <div id="target" class="stacking-context isolating lime box">
        <div class="fuchsia box difference" style="margin-left: 50px;"></div>
    </div>
    <script type="text/javascript">
    function repaintTest() {
        var target = document.getElementById("target");
        target.className = "stacking-context lime box";
    }
    window.onload = function() {
        if (window.testRunner)
            window.testRunner.dumpAsText(true);
        runRepaintTest();
    }
    </script>
</body>
