Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/check-layout.js"></script> | |
| 3 <style> | |
| 4 #multicol { position:relative; columns:2; width:100px; line-height:20px; bac kground:black; } | |
| 5 #float { float:right; width:30px; height:30px; background:blue; break-inside :avoid; } | |
| 6 </style> | |
| 7 <p>There should be a blue box in the top right corner of the black box.</p> | |
| 8 <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
| |
| 9 x<br> | |
| 10 <div data-offset-y="0" id="float"></div> | |
| 11 x<br> | |
| 12 x<br> | |
| 13 </div> | |
| 14 <script> | |
| 15 checkLayout("#multicol"); | |
| 16 </script> | |
| OLD | NEW |