Index: Source/web/tests/data/subtree-layout.html |
diff --git a/Source/web/tests/data/subtree-layout.html b/Source/web/tests/data/subtree-layout.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c96b0a698ef3fbd72db4cf5a20fbd9e3dbbc3767 |
--- /dev/null |
+++ b/Source/web/tests/data/subtree-layout.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<style> |
+/* RenderObject::objectIsRelayoutBoundary() should be true */ |
+#relayoutBoundary { |
+ overflow: hidden; |
+ width: 100px; |
+ height: 100px; |
+} |
+</style> |
+<div id="relayoutBoundary"> |
+ <div id="layouter"></div> |
+</div> |
+<script> |
+document.body.offsetTop; |
+document.getElementById("layouter").style.position = "relative"; |
+document.body.offsetTop; |
+</script> |