Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <!-- Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ --> |
michael@0 | 4 | <html> |
michael@0 | 5 | <head> |
michael@0 | 6 | <style> |
michael@0 | 7 | .multicol { |
michael@0 | 8 | height: 10px; |
michael@0 | 9 | width: 100px; |
michael@0 | 10 | -moz-column-width: 20px; |
michael@0 | 11 | -moz-column-fill: auto; |
michael@0 | 12 | border: 2px solid orange; |
michael@0 | 13 | margin-bottom: 15px; /* (just for spacing between testcases) */ |
michael@0 | 14 | } |
michael@0 | 15 | .flexContainer { |
michael@0 | 16 | background: teal; |
michael@0 | 17 | border: 1px dashed black; |
michael@0 | 18 | } |
michael@0 | 19 | .item { |
michael@0 | 20 | display: block; |
michael@0 | 21 | width: 100%; |
michael@0 | 22 | height: 20px; |
michael@0 | 23 | } |
michael@0 | 24 | </style> |
michael@0 | 25 | </head> |
michael@0 | 26 | <body> |
michael@0 | 27 | <!-- auto-height container: --> |
michael@0 | 28 | <div class="multicol"> |
michael@0 | 29 | <div class="flexContainer"> |
michael@0 | 30 | <img src="" class="item"> |
michael@0 | 31 | </div> |
michael@0 | 32 | </div> |
michael@0 | 33 | |
michael@0 | 34 | <!-- fixed-height container, smaller than available height: --> |
michael@0 | 35 | <div class="multicol"> |
michael@0 | 36 | <div class="flexContainer" style="height: 8px"> |
michael@0 | 37 | <img src="" class="item"> |
michael@0 | 38 | </div> |
michael@0 | 39 | </div> |
michael@0 | 40 | |
michael@0 | 41 | <!-- fixed-height container, between available height and child height: --> |
michael@0 | 42 | <div class="multicol"> |
michael@0 | 43 | <div class="flexContainer" style="height: 15px"> |
michael@0 | 44 | <img src="" class="item"> |
michael@0 | 45 | </div> |
michael@0 | 46 | </div> |
michael@0 | 47 | |
michael@0 | 48 | <!-- fixed-height container, same as child height: --> |
michael@0 | 49 | <div class="multicol"> |
michael@0 | 50 | <div class="flexContainer" style="height: 20px"> |
michael@0 | 51 | <img src="" class="item"> |
michael@0 | 52 | </div> |
michael@0 | 53 | </div> |
michael@0 | 54 | |
michael@0 | 55 | <!-- fixed-height container, larger than child height: --> |
michael@0 | 56 | <div class="multicol"> |
michael@0 | 57 | <div class="flexContainer" style="height: 24px"> |
michael@0 | 58 | <img src="" class="item"> |
michael@0 | 59 | </div> |
michael@0 | 60 | </div> |
michael@0 | 61 | </body> |
michael@0 | 62 | </html> |