Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
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 | <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> |
michael@0 | 9 | <meta charset="utf-8"> |
michael@0 | 10 | <style> |
michael@0 | 11 | .container { |
michael@0 | 12 | width: 30px; |
michael@0 | 13 | height: 100px; |
michael@0 | 14 | border: 1px solid black; |
michael@0 | 15 | float: left; |
michael@0 | 16 | margin: 2px; |
michael@0 | 17 | } |
michael@0 | 18 | .itemA { |
michael@0 | 19 | width: 22px; |
michael@0 | 20 | height: 22px; |
michael@0 | 21 | background: purple; |
michael@0 | 22 | border: 4px solid indigo; |
michael@0 | 23 | } |
michael@0 | 24 | .itemB { |
michael@0 | 25 | width: 20px; |
michael@0 | 26 | height: 40px; |
michael@0 | 27 | background: teal; |
michael@0 | 28 | border: 5px solid lightblue; |
michael@0 | 29 | } |
michael@0 | 30 | </style> |
michael@0 | 31 | </head> |
michael@0 | 32 | <body> |
michael@0 | 33 | <!-- FIRST ROW --> |
michael@0 | 34 | <!-- 1 inflexible item --> |
michael@0 | 35 | <div class="container"> |
michael@0 | 36 | <div class="itemA"></div> |
michael@0 | 37 | </div> |
michael@0 | 38 | <!-- 1 flexible item --> |
michael@0 | 39 | <div class="container"> |
michael@0 | 40 | <div class="itemA" style="height: 92px"></div> |
michael@0 | 41 | </div> |
michael@0 | 42 | |
michael@0 | 43 | <div style="clear: both"></div> |
michael@0 | 44 | |
michael@0 | 45 | <!-- SECOND ROW --> |
michael@0 | 46 | <!-- 2 inflexible items --> |
michael@0 | 47 | <div class="container"> |
michael@0 | 48 | <div class="itemA"></div> |
michael@0 | 49 | <div class="itemB"></div> |
michael@0 | 50 | </div> |
michael@0 | 51 | <!-- 2 flexible items --> |
michael@0 | 52 | <div class="container"> |
michael@0 | 53 | <div class="itemA" style="height: 32px"></div> |
michael@0 | 54 | <div class="itemB" style="height: 50px"></div> |
michael@0 | 55 | </div> |
michael@0 | 56 | </body> |
michael@0 | 57 | </html> |