chromium/third_party/blink/web_tests/paint/invalidation/position/absolute-position-changed.html

<html>
<head>
    <link rel="stylesheet" href="../resources/default.css">
    <style>
        ::-webkit-scrollbar {
            width: 0px;
            height: 0px;
        }
        html {
            overflow: scroll;
        }
    </style>
    <script src="../resources/text-based-repaint.js" type="text/javascript"></script>
    <script type="text/javascript">
        window.enablePixelTesting = true;
        window.onload = function() {
            window.scrollTo(0, 500);
            runRepaintTest();
        };

        function repaintTest()
        {
            document.getElementById('absoluteDiv').style.top = '700px';
        }
    </script>
</head>
<body style="height:2000px;">
    <!-- You should see 1 green rectangle in the output and no red. -->
    <div style="top: 200px; left: 100px;" class="fixed red"></div>
    <div id="absoluteDiv" style="top: 500px; left:100px;" class="absolute green"></div>
</body>
</html>