diff options
Diffstat (limited to 'test/layout/inline-float-weirdness.html')
| -rw-r--r-- | test/layout/inline-float-weirdness.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/layout/inline-float-weirdness.html b/test/layout/inline-float-weirdness.html new file mode 100644 index 00000000..fee51504 --- /dev/null +++ b/test/layout/inline-float-weirdness.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<div style="display: inline-block; background: blue"> +test +<div style="float: left; width: 100%; background: red"> +test +</div> +test<br> +test +</div> +<div style="display: inline-block; background: blue"> +<div> +test +<div style="float: left; width: 100%; background: red"> +test +</div> +test<br> +test +</div> +</div> +<div style="display: inline-block; background: blue"> +<div style="float: left; width: 100%; background: red"> +test +</div> +test<br> +test +</div> +<div style="background: blue"> +test +<div style="float: left; width: 100%; background: red"> +test +</div> +test<br> +test +</div> |