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 with a variety of 'display: flex' examples |
michael@0 | 7 | with margin-top and/or margin-bottom set to 'auto' on flex items. --> |
michael@0 | 8 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 9 | <head> |
michael@0 | 10 | <title>CSS Reftest Reference</title> |
michael@0 | 11 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/> |
michael@0 | 12 | <style> |
michael@0 | 13 | div.flexbox { |
michael@0 | 14 | border: 2px dotted black; |
michael@0 | 15 | display: flex; |
michael@0 | 16 | margin-bottom: 2px; |
michael@0 | 17 | width: 100px; |
michael@0 | 18 | } |
michael@0 | 19 | div.fixedSize { |
michael@0 | 20 | width: 20px; |
michael@0 | 21 | height: 20px; |
michael@0 | 22 | } |
michael@0 | 23 | div.gray { background: gray; } |
michael@0 | 24 | div.green { background: green; } |
michael@0 | 25 | div.pink { background: pink; } |
michael@0 | 26 | div.blue { background: blue; } |
michael@0 | 27 | </style> |
michael@0 | 28 | </head> |
michael@0 | 29 | <body> |
michael@0 | 30 | |
michael@0 | 31 | <!-- fixed-height flexbox, with items that have auto margins --> |
michael@0 | 32 | <div class="flexbox" style="height: 100px"> |
michael@0 | 33 | <div class="fixedSize green" style="margin-top: 80px"/> |
michael@0 | 34 | <div class="fixedSize pink"/> |
michael@0 | 35 | <div class="fixedSize blue" style="margin-top: 40px"/> |
michael@0 | 36 | </div> |
michael@0 | 37 | <!-- fixed-height flexbox, with items that have auto & fixed margins --> |
michael@0 | 38 | <div class="flexbox" style="height: 100px"> |
michael@0 | 39 | <div class="fixedSize green" style="margin-top: 70px"/> |
michael@0 | 40 | <div class="fixedSize pink" style="margin-top: 10px"/> |
michael@0 | 41 | </div> |
michael@0 | 42 | |
michael@0 | 43 | <!-- height-shrinkwrapping flexbox, sized by item w/ fixed height & margins, |
michael@0 | 44 | with other items that have auto margins --> |
michael@0 | 45 | <div class="flexbox" style="height: 50px"> |
michael@0 | 46 | <div class="fixedSize green" style="margin-top: 30px"/> |
michael@0 | 47 | <div class="fixedSize pink"/> |
michael@0 | 48 | <div class="fixedSize blue" style="margin-top: 15px"/> |
michael@0 | 49 | <div class="gray" style="width: 10px; height: 30px; margin-top: 10px"/> |
michael@0 | 50 | </div> |
michael@0 | 51 | |
michael@0 | 52 | <!-- height-shrinkwrapping flexbox, sized by item w/ fixed height & margins, |
michael@0 | 53 | with other items that have auto & fixed margins --> |
michael@0 | 54 | <div class="flexbox" style="height: 50px"> |
michael@0 | 55 | <div class="fixedSize green" style="margin-top: 20px"/> |
michael@0 | 56 | <div class="fixedSize pink" style="margin-top: 10px"/> |
michael@0 | 57 | <div class="gray" style="width: 10px; height: 30px; margin-top: 10px"/> |
michael@0 | 58 | </div> |
michael@0 | 59 | |
michael@0 | 60 | </body> |
michael@0 | 61 | </html> |