Index: third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..128a79b33793b501888dae2be3988a258de8f28c |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<style> |
+div { |
+ height: 100px; |
+ width: 100%; |
+} |
+.container { |
+ contain: paint; |
+ border: 1px solid black; |
+} |
+.overhangingContainer { |
+ height: 10px; |
+} |
+.overhangingFloat { |
+ float: left; |
+} |
+</style> |
+<body> |
+<div class="overhangingContainer"><div class="overhangingFloat"></div></div> |
+<div class="container" data-offset-y=108></div> |
+<script src="../../../resources/check-layout.js"></script> |
+<script> |
+checkLayout(".container"); |
+</script> |