diff options
Diffstat (limited to 'test/layout')
| -rw-r--r-- | test/layout/inline-float-breaks-line.expected | 4 | ||||
| -rw-r--r-- | test/layout/inline-float-breaks-line.html | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/test/layout/inline-float-breaks-line.expected b/test/layout/inline-float-breaks-line.expected new file mode 100644 index 00000000..c69cc18a --- /dev/null +++ b/test/layout/inline-float-breaks-line.expected @@ -0,0 +1,4 @@ +test1 test4 +test2 +test3 +test2 test3test1 test4 diff --git a/test/layout/inline-float-breaks-line.html b/test/layout/inline-float-breaks-line.html new file mode 100644 index 00000000..2bd74860 --- /dev/null +++ b/test/layout/inline-float-breaks-line.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<div style="display: flow-root"> +test1 +<div style="float: left; width: 100%"> +test2 +</div> +<div style="float: left"> +test3 +</div> +test4 +</div> +<div style="display: flow-root"> +test1 +<div style="float: left; width: 50%"> +test2 +</div> +<div style="float: left"> +test3 +</div> +test4 +</div> |