summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/implicit-attach-marking.html
blob: 201a2d789aa5eef16045fc90fa44293aea9e7792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>

<script>jsTestIsAsync = true;</script>
<script src="../../resources/js-test.js"></script>

<div id="root"></div>

<script>
onload = function() {
    requestAnimationFrame(function() {
        div = root.appendChild(document.createElement("div"));
        div.textContent = "Test that implicit attach marks all ancestors on insert.";
        shouldBeTrue("div.offsetTop > 0");
        finishJSTest();
    });
};
</script>