Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html b/third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9ff9929fcf5a83fb744451416cbca8e25e7315a2 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/multicol/pushed-line-affected-by-float.html |
| @@ -0,0 +1,16 @@ |
| +<!DOCTYPE html> |
| +<script src="../../resources/check-layout.js"></script> |
| +<style> |
| + #multicol { position:relative; columns:2; width:100px; line-height:20px; background:black; } |
| + #float { float:right; width:30px; height:30px; background:blue; break-inside:avoid; } |
| +</style> |
| +<p>There should be a blue box in the top right corner of the black box.</p> |
| +<div data-expected-height="40" id="multicol"> |
|
eae
2016/04/21 16:44:21
This might be better as a reftest as it currently
mstensho (USE GERRIT)
2016/04/21 18:56:59
Yeah, that's the weakness about check-layout tests
|
| + x<br> |
| + <div data-offset-y="0" id="float"></div> |
| + x<br> |
| + x<br> |
| +</div> |
| +<script> |
| + checkLayout("#multicol"); |
| +</script> |