Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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 for behavior of the 'baseline' value for align-items (and |
michael@0 | 7 | align-self, implicitly). This test baseline-aligns various types of |
michael@0 | 8 | content, and the flexbox's vertical size depends on the aggregate |
michael@0 | 9 | post-alignment height of its children. This test also uses |
michael@0 | 10 | "flex-wrap: wrap-reverse" to make the cross-axis bottom-to-top instead |
michael@0 | 11 | of top-to-bottom. |
michael@0 | 12 | --> |
michael@0 | 13 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 14 | <head> |
michael@0 | 15 | <title>CSS Test: Baseline alignment of block flex items with 'baseline' value for 'align-items' / 'align-self' in a wrap-reverse flex container</title> |
michael@0 | 16 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/> |
michael@0 | 17 | <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#baseline-participation"/> |
michael@0 | 18 | <link rel="match" href="flexbox-align-self-baseline-horiz-1-ref.xhtml"/> |
michael@0 | 19 | <style> |
michael@0 | 20 | .flexbox { |
michael@0 | 21 | display: flex; |
michael@0 | 22 | align-items: baseline; |
michael@0 | 23 | flex-wrap: wrap-reverse; |
michael@0 | 24 | border: 1px dashed blue; |
michael@0 | 25 | font: 14px sans-serif; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | .big { |
michael@0 | 29 | height: 100px; |
michael@0 | 30 | font: 24px sans-serif; |
michael@0 | 31 | margin-top: 20px; |
michael@0 | 32 | } |
michael@0 | 33 | .super { |
michael@0 | 34 | vertical-align: super; |
michael@0 | 35 | font-size: 12px; |
michael@0 | 36 | } |
michael@0 | 37 | .sub { |
michael@0 | 38 | vertical-align: sub; |
michael@0 | 39 | font-size: 12px; |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | .lime { background: lime; } |
michael@0 | 43 | .yellow { background: yellow; } |
michael@0 | 44 | .orange { background: orange; } |
michael@0 | 45 | .pink { background: pink; } |
michael@0 | 46 | .aqua { background: aqua; } |
michael@0 | 47 | .tan { background: tan; } |
michael@0 | 48 | </style> |
michael@0 | 49 | </head> |
michael@0 | 50 | <body> |
michael@0 | 51 | <div class="flexbox"> |
michael@0 | 52 | <div class="lime">blk_1line</div> |
michael@0 | 53 | <div class="yellow">blk<br/>2lines</div> |
michael@0 | 54 | <div class="orange"><span class="super">super</span></div> |
michael@0 | 55 | <div class="pink"><span class="sub">sub</span></div> |
michael@0 | 56 | <div class="aqua big">big<br/>text<br/>3lines</div> |
michael@0 | 57 | <i class="tan">ital<br/>ic</i> |
michael@0 | 58 | </div> |
michael@0 | 59 | </body> |
michael@0 | 60 | </html> |