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 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | .separator { |
michael@0 | 6 | height: 20px; |
michael@0 | 7 | background-color: blue; |
michael@0 | 8 | } |
michael@0 | 9 | .spacer { |
michael@0 | 10 | height: 20px; |
michael@0 | 11 | } |
michael@0 | 12 | #overflow { |
michael@0 | 13 | overflow-y: auto; |
michael@0 | 14 | height: 200px; |
michael@0 | 15 | background-color: lightgreen; |
michael@0 | 16 | } |
michael@0 | 17 | .margin { |
michael@0 | 18 | height: 40px; |
michael@0 | 19 | } |
michael@0 | 20 | #child { |
michael@0 | 21 | height: 160px; |
michael@0 | 22 | background-color: green; |
michael@0 | 23 | } |
michael@0 | 24 | </style> |
michael@0 | 25 | </head> |
michael@0 | 26 | <body> |
michael@0 | 27 | <div class="separator"></div> |
michael@0 | 28 | <div class="spacer"></div> |
michael@0 | 29 | <div id="overflow"> |
michael@0 | 30 | <div class="margin"></div> |
michael@0 | 31 | <div id="child"></div> |
michael@0 | 32 | <div class="margin"></div> |
michael@0 | 33 | </div> |
michael@0 | 34 | <div class="spacer"></div> |
michael@0 | 35 | <div class="separator"></div> |
michael@0 | 36 | </body> |
michael@0 | 37 | </html> |