Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / absolute-length-of-neg-666666.html
blob45423e09898e2841b1814ab832d0ab87df4ec6a2
1 <html>
2 <head>
3 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
4 <title>Test case for lengths of magic number '-666666'</title>
5 <style type="text/css">
6 #container { position: relative; }
7 #control { position: absolute; margin-left: auto; color: green; }
8 #test1 { position: absolute; top: 1em; margin-left: -666666px; color: red; }
9 #test2 { position: absolute; top: 2em; margin-left: -666665px; color: red; }
10 </style>
11 </head>
12 <body>
13 <p>In this test case you should only see one line green text. If there is any red the test has failed.</p>
14 <div id="container">
15 <div id="control">You should see this.</div>
16 <div id="test1">You should not see this!</div>
17 <div id="test2">You should not see this!</div>
18 </div>
19 </body>
20 </html>