Thu, 15 Jan 2015 21:13:52 +0100
Remove forgotten relic of ABI crash risk averse overloaded method change.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Any copyright is dedicated to the Public Domain. |
michael@0 | 4 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 5 | --> |
michael@0 | 6 | <html> |
michael@0 | 7 | <head> |
michael@0 | 8 | <title>CSS Reftest Reference</title> |
michael@0 | 9 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> |
michael@0 | 10 | <meta charset="utf-8"> |
michael@0 | 11 | <style> |
michael@0 | 12 | div.flexbox { |
michael@0 | 13 | border: 1px dashed black; |
michael@0 | 14 | width: 12px; |
michael@0 | 15 | height: 100px; |
michael@0 | 16 | margin-right: 2px; |
michael@0 | 17 | float: left; |
michael@0 | 18 | } |
michael@0 | 19 | div.halfMainSize { |
michael@0 | 20 | height: 48px; |
michael@0 | 21 | border: 1px solid blue; |
michael@0 | 22 | background: lightblue; |
michael@0 | 23 | } |
michael@0 | 24 | div.hugeMainSize { |
michael@0 | 25 | height: 148px; |
michael@0 | 26 | border: 1px solid purple; |
michael@0 | 27 | background: fuchsia; |
michael@0 | 28 | } |
michael@0 | 29 | div.fullCrossSize { |
michael@0 | 30 | width: 10px; |
michael@0 | 31 | } |
michael@0 | 32 | div.halfCrossSize { |
michael@0 | 33 | width: 4px; |
michael@0 | 34 | } |
michael@0 | 35 | </style> |
michael@0 | 36 | </head> |
michael@0 | 37 | <body> |
michael@0 | 38 | |
michael@0 | 39 | <!-- Single small flex item --> |
michael@0 | 40 | <div class="flexbox"> |
michael@0 | 41 | <div class="halfMainSize fullCrossSize"></div> |
michael@0 | 42 | </div> |
michael@0 | 43 | |
michael@0 | 44 | <!-- Single small flex item with 'margin-left' set to push it to protrude |
michael@0 | 45 | from the far edge of the container (and to shrink as a result) --> |
michael@0 | 46 | <div class="flexbox"> |
michael@0 | 47 | <div class="halfMainSize fullCrossSize" |
michael@0 | 48 | style="margin-top: 80px; height: 18px"></div> |
michael@0 | 49 | </div> |
michael@0 | 50 | |
michael@0 | 51 | <!-- Single small inflexible flex item with 'margin-left' set to push it to |
michael@0 | 52 | protrude from the far edge of the container --> |
michael@0 | 53 | <div class="flexbox"> |
michael@0 | 54 | <div class="halfMainSize fullCrossSize" |
michael@0 | 55 | style="margin-top: 80px"></div> |
michael@0 | 56 | </div> |
michael@0 | 57 | |
michael@0 | 58 | <!-- Two flex items, exactly large enough to fit in line (no wrapping): --> |
michael@0 | 59 | <div class="flexbox"> |
michael@0 | 60 | <div class="halfMainSize fullCrossSize"></div> |
michael@0 | 61 | <div class="halfMainSize fullCrossSize"></div> |
michael@0 | 62 | </div> |
michael@0 | 63 | |
michael@0 | 64 | <!-- and now with some margin on first item, to force second item to wrap: --> |
michael@0 | 65 | <div class="flexbox"> |
michael@0 | 66 | <div class="halfMainSize halfCrossSize" style="float: left"></div> |
michael@0 | 67 | <div class="halfMainSize halfCrossSize" style="float: left"></div> |
michael@0 | 68 | </div> |
michael@0 | 69 | |
michael@0 | 70 | <!-- and now with some margin on second item, again forcing it to wrap: --> |
michael@0 | 71 | <div class="flexbox"> |
michael@0 | 72 | <div class="halfMainSize halfCrossSize" style="float: left"></div> |
michael@0 | 73 | <div class="halfMainSize halfCrossSize" style="float: left"></div> |
michael@0 | 74 | </div> |
michael@0 | 75 | |
michael@0 | 76 | <!-- Single large flex item: overflows (but does not wrap) and is shrunk |
michael@0 | 77 | to fit container's main-size --> |
michael@0 | 78 | <div class="flexbox"> |
michael@0 | 79 | <div class="hugeMainSize fullCrossSize" style="height: 98px"></div> |
michael@0 | 80 | </div> |
michael@0 | 81 | |
michael@0 | 82 | <!-- Single large flex item: overflows (but does not wrap) --> |
michael@0 | 83 | <div class="flexbox"> |
michael@0 | 84 | <div class="hugeMainSize fullCrossSize"></div> |
michael@0 | 85 | </div> |
michael@0 | 86 | |
michael@0 | 87 | <!-- Small flex item, followed by large flex item (which wraps to |
michael@0 | 88 | its own line and then shrink to container's main-size) --> |
michael@0 | 89 | <div class="flexbox"> |
michael@0 | 90 | <div class="halfMainSize halfCrossSize" style="float: left"></div> |
michael@0 | 91 | <div class="hugeMainSize halfCrossSize" style="float: left; height: 98px"></div> |
michael@0 | 92 | </div> |
michael@0 | 93 | |
michael@0 | 94 | <!-- Small flex item, followed by large inflexible flex item (which wraps to |
michael@0 | 95 | its own line and then shrink to container's main-size) --> |
michael@0 | 96 | <div class="flexbox"> |
michael@0 | 97 | <div class="halfMainSize halfCrossSize" style="float: left"></div> |
michael@0 | 98 | <div class="hugeMainSize halfCrossSize" style="float: left"></div> |
michael@0 | 99 | </div> |
michael@0 | 100 | |
michael@0 | 101 | </body> |
michael@0 | 102 | </html> |