diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-break/fragmented-autowidth-fc-root-beside-floats-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-break/fragmented-autowidth-fc-root-beside-floats-ref.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/fragmented-autowidth-fc-root-beside-floats-ref.html b/testing/web-platform/tests/css/css-break/fragmented-autowidth-fc-root-beside-floats-ref.html new file mode 100644 index 0000000000..5effc82452 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/fragmented-autowidth-fc-root-beside-floats-ref.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<style> + .fakecolumn { + float: left; + width: 200px; + height: 100px; + margin-left: 10px; + } + .fakecolumn:first-child { + margin-left: 0; + } + .part { + height: 100px; + background: hotpink; + } +</style> +<p>There should be (from left to right) a hotpink square, a thin hotpink + rectangle, then a wider hotpink rectangle.</p> +<div style="width:620px; height:100px;"> + <div class="fakecolumn"> + <div class="part" style="width:100px;"></div> + </div> + <div class="fakecolumn"> + <div class="part" style="width:10px;"></div> + </div> + <div class="fakecolumn"> + <div class="part" style="width:200px;"></div> + </div> +</div> |