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 | <title>CSS Test: Test for vertical-align:calc()</title> |
michael@0 | 5 | <link rel="author" title="L. David Baron" href="http://dbaron.org/"> |
michael@0 | 6 | <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation"> |
michael@0 | 7 | <meta name="flags" content=""> |
michael@0 | 8 | |
michael@0 | 9 | <div style="line-height: 100px; margin-top: 100px"> |
michael@0 | 10 | <span>x</span> |
michael@0 | 11 | <span style="vertical-align: calc(50px)">x</span> |
michael@0 | 12 | <span style="vertical-align: calc(50%)">x</span> |
michael@0 | 13 | <span style="vertical-align: calc(25px + 50%)">x</span> |
michael@0 | 14 | <span style="vertical-align: calc(150% / 2 - 30px)">x</span> |
michael@0 | 15 | <span style="vertical-align: calc(40px + 10% - 20% / 2)">x</span> |
michael@0 | 16 | <span style="vertical-align: calc(40px - 10%)">x</span> |
michael@0 | 17 | </div> |
michael@0 | 18 | </body> |
michael@0 | 19 | </html> |