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 | <!-- This testcase checks that we correctly handle the "overflow" property on |
michael@0 | 7 | a horizontal flex container. --> |
michael@0 | 8 | <html> |
michael@0 | 9 | <head> |
michael@0 | 10 | <title>CSS Test: Testing 'overflow' property on a horizontal flex container, with contents not overflowing</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/#flex-containers"> |
michael@0 | 13 | <link rel="match" href="flexbox-overflow-horiz-1-ref.html"> |
michael@0 | 14 | <style> |
michael@0 | 15 | .flexContainer { |
michael@0 | 16 | background: purple; |
michael@0 | 17 | display: flex; |
michael@0 | 18 | width: 70px; |
michael@0 | 19 | height: 70px; |
michael@0 | 20 | float: left; |
michael@0 | 21 | margin-right: 5px; |
michael@0 | 22 | } |
michael@0 | 23 | .bigItem { |
michael@0 | 24 | background: blue; |
michael@0 | 25 | height: 200px; |
michael@0 | 26 | flex: 3; |
michael@0 | 27 | } |
michael@0 | 28 | .smallItem { |
michael@0 | 29 | background: teal; |
michael@0 | 30 | margin-bottom: 10px; |
michael@0 | 31 | flex: 1; |
michael@0 | 32 | } |
michael@0 | 33 | .scroll { overflow: scroll } |
michael@0 | 34 | .auto { overflow: auto } |
michael@0 | 35 | .hidden { overflow: hidden } |
michael@0 | 36 | </style> |
michael@0 | 37 | </head> |
michael@0 | 38 | <body> |
michael@0 | 39 | <div class="flexContainer"><!-- (overflow un-set) --> |
michael@0 | 40 | <div class="bigItem"></div> |
michael@0 | 41 | <div class="smallItem"></div> |
michael@0 | 42 | </div> |
michael@0 | 43 | <div class="flexContainer hidden"> |
michael@0 | 44 | <div class="bigItem"></div> |
michael@0 | 45 | <div class="smallItem"></div> |
michael@0 | 46 | </div> |
michael@0 | 47 | <div class="flexContainer scroll"> |
michael@0 | 48 | <div class="bigItem"></div> |
michael@0 | 49 | <div class="smallItem"></div> |
michael@0 | 50 | </div> |
michael@0 | 51 | <div class="flexContainer auto"> |
michael@0 | 52 | <div class="bigItem"></div> |
michael@0 | 53 | <div class="smallItem"></div> |
michael@0 | 54 | </div> |
michael@0 | 55 | </body> |
michael@0 | 56 | </html> |