chromium/third_party/blink/web_tests/paint/invalidation/position/fixed-position-with-text.html

<!DOCTYPE html>
<html>
<head>
    <style>
        #div {
            position: fixed;
            float: left;
            z-index: 10;
        }
        span {
            display: inline-block;
            border: 1px solid black;
        }
        span:hover {
            color: green;
        }
    </style>
    <script src="../../../resources/run-after-layout-and-paint.js"></script>
    <script type="text/javascript">
        if (window.testRunner)
            testRunner.waitUntilDone();

        runAfterLayoutAndPaint(function() {
            document.body.style.height = "300px";
            document.getElementById("div").style.position = "relative";
            if (window.testRunner)
                testRunner.notifyDone();
        });
    </script>
</head>
<body>
<div id="div">
<span>This text should be in a box</span>
</div>
</body>
</html>