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 left:calc() on relatively positioned elements</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 | <style type="text/css"> |
michael@0 | 9 | body { margin: 0 100px; width: 100px } |
michael@0 | 10 | div[style] { background: blue; position: relative; height: 3px; } |
michael@0 | 11 | </style> |
michael@0 | 12 | </head> |
michael@0 | 13 | <body> |
michael@0 | 14 | |
michael@0 | 15 | <div style="left: calc(50px)"></div> |
michael@0 | 16 | <div style="left: calc(-50%)"></div> |
michael@0 | 17 | <div style="left: calc(25px + 50%)"></div> |
michael@0 | 18 | <div style="left: calc(-150% / 2 + 30px)"></div> |
michael@0 | 19 | <div style="left: calc(40px + 10% - 20% / 2)"></div> |
michael@0 | 20 | <div style="left: calc(10% - 40px)"></div> |
michael@0 | 21 | </body> |
michael@0 | 22 | </html> |