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 | <!-- Testcase to ensure we handle ::before and ::after pseudo-elements on |
michael@0 | 7 | a flex container and treat them as flex items (e.g. honoring "align-self", |
michael@0 | 8 | and not merging them into anonymous flex items formed around text). |
michael@0 | 9 | --> |
michael@0 | 10 | <html> |
michael@0 | 11 | <head> |
michael@0 | 12 | <title>CSS Test: Testing that generated content nodes are treated as a flex items</title> |
michael@0 | 13 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> |
michael@0 | 14 | <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#flex-items"> |
michael@0 | 15 | <link rel="match" href="flexbox-with-pseudo-elements-1-ref.html"> |
michael@0 | 16 | <meta charset="utf-8"> |
michael@0 | 17 | <style> |
michael@0 | 18 | .flexContainer { |
michael@0 | 19 | display: flex; |
michael@0 | 20 | align-items: flex-end; |
michael@0 | 21 | justify-content: space-between; |
michael@0 | 22 | height: 50px; |
michael@0 | 23 | width: 300px; |
michael@0 | 24 | margin-bottom: 2px; |
michael@0 | 25 | background: lightgray; |
michael@0 | 26 | } |
michael@0 | 27 | div.withBefore::before { |
michael@0 | 28 | align-self: center; |
michael@0 | 29 | content: 'b'; |
michael@0 | 30 | background: yellow; |
michael@0 | 31 | } |
michael@0 | 32 | div.withAfter::after { |
michael@0 | 33 | align-self: center; |
michael@0 | 34 | content: 'a'; |
michael@0 | 35 | background: lightblue; |
michael@0 | 36 | } |
michael@0 | 37 | </style> |
michael@0 | 38 | </head> |
michael@0 | 39 | <body> |
michael@0 | 40 | <div class="flexContainer withBefore"> |
michael@0 | 41 | x |
michael@0 | 42 | <div>y</div> |
michael@0 | 43 | z |
michael@0 | 44 | </div> |
michael@0 | 45 | <div class="flexContainer withAfter"> |
michael@0 | 46 | x |
michael@0 | 47 | <div>y</div> |
michael@0 | 48 | z |
michael@0 | 49 | </div> |
michael@0 | 50 | <div class="flexContainer withBefore withAfter"> |
michael@0 | 51 | x |
michael@0 | 52 | <div>y</div> |
michael@0 | 53 | z |
michael@0 | 54 | </div> |
michael@0 | 55 | </body> |
michael@0 | 56 | </html> |