Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <link href="resources/width-keyword-classes.css" rel="stylesheet"> | |
| 3 <style> | |
| 4 .container { | |
| 5 position: relative; | |
| 6 border: 2px solid red; | |
| 7 } | |
| 8 .float { float: left; } | |
| 9 .positioned { position: absolute; } | |
| 10 .width-0 { width: 0px; } | |
| 11 </style> | |
| 12 <script src="../../resources/js-test.js"></script> | |
|
mstensho (USE GERRIT)
2016/08/09 11:35:26
Nothing is tested in this test, apart from the cra
jfernandez
2016/08/18 19:21:10
I think we can remove it, indeed.
| |
| 13 | |
| 14 <p>Ensure that intrinsic min-width size does not crash because of negative avail able width assertions.</p> | |
| 15 | |
| 16 <div class="container float"> | |
| 17 <canvas class="min-width-fit-content"></canvas> | |
| 18 </div> | |
| 19 | |
| 20 <div class="container width-0"> | |
| 21 <canvas class="min-width-fit-content"></canvas> | |
| 22 </div> | |
| 23 | |
| 24 <div class="container width-0"> | |
| 25 <div class="min-width-fit-content positioned"></div> | |
| 26 </div> | |
| 27 | |
| 28 <div class="container float"> | |
| 29 <div class="min-width-fit-content positioned"></div> | |
| 30 </div> | |
| 31 | |
| 32 <div class="container width-0"> | |
| 33 <div class="min-width-fit-content"></div> | |
| 34 </div> | |
| 35 | |
| 36 <div class="container float"> | |
| 37 <div class="min-width-fit-content"></div> | |
| 38 </div> | |
| 39 | |
| 40 | |
| OLD | NEW |