diff --git a/css/CSS2/floats/float-after-block-with-collapsed-margin-inside-inline.html b/css/CSS2/floats/float-after-block-with-collapsed-margin-inside-inline.html new file mode 100644 index 00000000000000..60812994647978 --- /dev/null +++ b/css/CSS2/floats/float-after-block-with-collapsed-margin-inside-inline.html @@ -0,0 +1,30 @@ + +CSS Test: A float after a block which collapses its top margin with its grandparent, where the parent is an inline box + + + + + + + + + + +

Test passes if there is a filled green square and no red.

+ +
+ +
+ +
+ +
+
+
+
diff --git a/css/CSS2/floats/new-fc-separates-from-float-4.html b/css/CSS2/floats/new-fc-separates-from-float-4.html new file mode 100644 index 00000000000000..bd2e0ee6834bb1 --- /dev/null +++ b/css/CSS2/floats/new-fc-separates-from-float-4.html @@ -0,0 +1,29 @@ + +A new formatting context that doesn't fit beside a float make the float non-adjoining + + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+ +
+
+