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 | <!-- |
michael@0 | 7 | Reference case - see documentation in corresponding testcase. |
michael@0 | 8 | This reference uses blocks where the testcase uses flexboxes. |
michael@0 | 9 | They should be sized the same, since they're basically just text |
michael@0 | 10 | with no special flex sizing properties in play. |
michael@0 | 11 | --> |
michael@0 | 12 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 13 | <head> |
michael@0 | 14 | <link rel="stylesheet" type="text/css" href="ahem.css" /> |
michael@0 | 15 | <style> |
michael@0 | 16 | table { |
michael@0 | 17 | width: 300px; |
michael@0 | 18 | font: 10px Ahem; |
michael@0 | 19 | margin-bottom: 2px; |
michael@0 | 20 | border: 1px dashed black; |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | div.a { background: lightgreen; } |
michael@0 | 24 | div.b { background: lightblue; } |
michael@0 | 25 | |
michael@0 | 26 | <!-- helper-classes for assigning pref / min / auto-width to our divs --> |
michael@0 | 27 | div.prefWidth { |
michael@0 | 28 | width: -moz-max-content; |
michael@0 | 29 | } |
michael@0 | 30 | div.minWidth { |
michael@0 | 31 | width: -moz-min-content; |
michael@0 | 32 | } |
michael@0 | 33 | div.autoWidth { |
michael@0 | 34 | width: auto; |
michael@0 | 35 | } |
michael@0 | 36 | </style> |
michael@0 | 37 | </head> |
michael@0 | 38 | <body> |
michael@0 | 39 | <!-- both auto width --> |
michael@0 | 40 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 41 | <td><div class="a autoWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 42 | <td><div class="b autoWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 43 | </tr></table> |
michael@0 | 44 | |
michael@0 | 45 | <!-- MIXING MIN WIDTH & AUTO --> |
michael@0 | 46 | <!-- both min width --> |
michael@0 | 47 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 48 | <td><div class="a minWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 49 | <td><div class="b minWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 50 | </tr></table> |
michael@0 | 51 | <!-- min,auto --> |
michael@0 | 52 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 53 | <td><div class="a minWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 54 | <td><div class="b autoWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 55 | </tr></table> |
michael@0 | 56 | <!-- auto,min --> |
michael@0 | 57 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 58 | <td><div class="a autoWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 59 | <td><div class="b minWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 60 | </tr></table> |
michael@0 | 61 | |
michael@0 | 62 | <!-- MIXING PREF WIDTH & AUTO --> |
michael@0 | 63 | <!-- both prefWidth (NOTE: makes the table larger than it wants to be --> |
michael@0 | 64 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 65 | <td><div class="a prefWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 66 | <td><div class="b prefWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 67 | </tr></table> |
michael@0 | 68 | <!-- pref,auto --> |
michael@0 | 69 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 70 | <td><div class="a prefWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 71 | <td><div class="b autoWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 72 | </tr></table> |
michael@0 | 73 | <!-- auto,pref --> |
michael@0 | 74 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 75 | <td><div class="a autoWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 76 | <td><div class="b prefWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 77 | </tr></table> |
michael@0 | 78 | |
michael@0 | 79 | <!-- MIXING PREF WIDTH & MIN WIDTH --> |
michael@0 | 80 | <!-- min,pref --> |
michael@0 | 81 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 82 | <td><div class="a minWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 83 | <td><div class="b prefWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 84 | </tr></table> |
michael@0 | 85 | <!-- pref,min --> |
michael@0 | 86 | <table cellpadding="0" cellspacing="0"><tr> |
michael@0 | 87 | <td><div class="a prefWidth">aaaa aaaa aaaaa</div></td> |
michael@0 | 88 | <td><div class="b minWidth">bb bb b bb bb b bb b</div></td> |
michael@0 | 89 | </tr></table> |
michael@0 | 90 | </body> |
michael@0 | 91 | </html> |