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 Test: Testing that "min-width", "max-width", "min-height", and "max-height" are applied on absolutely positioned children of a vertical flex container</title> |
michael@0 | 9 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> |
michael@0 | 10 | <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#abspos-items"> |
michael@0 | 11 | <link rel="match" href="flexbox-abspos-child-1-ref.html"> |
michael@0 | 12 | <meta charset="utf-8"> |
michael@0 | 13 | <style> |
michael@0 | 14 | .flexContainer { |
michael@0 | 15 | display: flex; |
michael@0 | 16 | flex-direction: column; |
michael@0 | 17 | height: 10px; |
michael@0 | 18 | width: 10px; |
michael@0 | 19 | background: purple; |
michael@0 | 20 | margin-bottom: 15px; |
michael@0 | 21 | position: relative; |
michael@0 | 22 | } |
michael@0 | 23 | .absPos { |
michael@0 | 24 | position: absolute; |
michael@0 | 25 | background: teal; |
michael@0 | 26 | } |
michael@0 | 27 | .testMinWidth { |
michael@0 | 28 | width: 10px; |
michael@0 | 29 | height: 20px; |
michael@0 | 30 | min-width: 20px; |
michael@0 | 31 | } |
michael@0 | 32 | .testMaxWidth { |
michael@0 | 33 | width: 50px; |
michael@0 | 34 | height: 20px; |
michael@0 | 35 | max-width: 20px; |
michael@0 | 36 | } |
michael@0 | 37 | .testMinHeight { |
michael@0 | 38 | width: 20px; |
michael@0 | 39 | height: 10px; |
michael@0 | 40 | min-height: 20px; |
michael@0 | 41 | } |
michael@0 | 42 | .testMaxHeight { |
michael@0 | 43 | width: 20px; |
michael@0 | 44 | height: 50px; |
michael@0 | 45 | max-height: 20px; |
michael@0 | 46 | } |
michael@0 | 47 | </style> |
michael@0 | 48 | </head> |
michael@0 | 49 | <body> |
michael@0 | 50 | <div class="flexContainer"><div class="absPos testMinWidth"></div></div> |
michael@0 | 51 | <div class="flexContainer"><div class="absPos testMaxWidth"></div></div> |
michael@0 | 52 | <div class="flexContainer"><div class="absPos testMinHeight"></div></div> |
michael@0 | 53 | <div class="flexContainer"><div class="absPos testMaxHeight"></div></div> |
michael@0 | 54 | </body> |
michael@0 | 55 | </html> |