Index: third_party/WebKit/LayoutTests/fast/block/float/clear-intruding-floats-when-moving-to-inline-parent-2.html |
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/clear-intruding-floats-when-moving-to-inline-parent-2.html b/third_party/WebKit/LayoutTests/fast/block/float/clear-intruding-floats-when-moving-to-inline-parent-2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..eb4b105006e68eb84e2355a398053125ae37be84 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/block/float/clear-intruding-floats-when-moving-to-inline-parent-2.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<script src="../../../resources/js-test.js"></script> |
+<style> |
+.float { |
+ float: right; |
+ width: 100px; |
+ height: 100px; |
+} |
+</style> |
+<div> |
+ <div></div> |
+ <span></span> |
+ <div class="float"></div> |
+ <div id="block-flow-container"> |
+ <div></div> |
+ </div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById("block-flow-container").style.position = 'absolute'; |
+ testPassed("crbug.com/562208: Clear intruding floats when moving child to inline parent. Passes if it doesn't crash."); |
+</script> |