Thu, 15 Jan 2015 21:13:52 +0100
Remove forgotten relic of ABI crash risk averse overloaded method change.
michael@0 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
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 | <!-- Testcase with blocks as flex items in a horizontal flex container, with |
michael@0 | 7 | various "flex" values and various combinations of the items. --> |
michael@0 | 8 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 9 | <head> |
michael@0 | 10 | <title>CSS Test: Testing flexbox layout algorithm property on block flex items in a horizontal flex container</title> |
michael@0 | 11 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/> |
michael@0 | 12 | <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#layout-algorithm"/> |
michael@0 | 13 | <link rel="match" href="flexbox-basic-block-horiz-1-ref.xhtml"/> |
michael@0 | 14 | <style> |
michael@0 | 15 | div { height: 100px; } |
michael@0 | 16 | div.flexbox { |
michael@0 | 17 | border: 1px dashed blue; |
michael@0 | 18 | width: 200px; |
michael@0 | 19 | font-size: 10px; |
michael@0 | 20 | display: flex; |
michael@0 | 21 | } |
michael@0 | 22 | div.a { |
michael@0 | 23 | flex: 1 0 30px; |
michael@0 | 24 | background: lightgreen; |
michael@0 | 25 | } |
michael@0 | 26 | div.b { |
michael@0 | 27 | flex: 2 0 20px; |
michael@0 | 28 | background: yellow; |
michael@0 | 29 | } |
michael@0 | 30 | div.c { |
michael@0 | 31 | flex: 3 0 40px; |
michael@0 | 32 | background: orange; |
michael@0 | 33 | } |
michael@0 | 34 | div.flexNone { |
michael@0 | 35 | flex: none; |
michael@0 | 36 | background: pink; |
michael@0 | 37 | } |
michael@0 | 38 | div.flexBasis { |
michael@0 | 39 | flex: 0 0 20px; |
michael@0 | 40 | background: gray; |
michael@0 | 41 | } |
michael@0 | 42 | div.spacer { |
michael@0 | 43 | display: inline-block; |
michael@0 | 44 | width: 15px; |
michael@0 | 45 | height: 15px; |
michael@0 | 46 | background: purple; |
michael@0 | 47 | } |
michael@0 | 48 | </style> |
michael@0 | 49 | </head> |
michael@0 | 50 | <body> |
michael@0 | 51 | <div class="flexbox"><div class="a"></div><div class="b"/></div> |
michael@0 | 52 | <div class="flexbox"><div class="a"/><div class="c"/></div> |
michael@0 | 53 | <div class="flexbox"><div class="a"/> |
michael@0 | 54 | <div class="flexNone"><div class="spacer"/></div> |
michael@0 | 55 | </div> |
michael@0 | 56 | <div class="flexbox"><div class="b"/><div class="c"/></div> |
michael@0 | 57 | <div class="flexbox"><div class="b"/> |
michael@0 | 58 | <div class="flexNone"><div class="spacer"/><div class="spacer"/></div> |
michael@0 | 59 | </div> |
michael@0 | 60 | |
michael@0 | 61 | <div class="flexbox"> |
michael@0 | 62 | <div class="a"/><div class="b"/><div class="flexBasis"/><div class="c"/> |
michael@0 | 63 | </div> |
michael@0 | 64 | </body> |
michael@0 | 65 | </html> |