Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/abspos/abspos-containing-block-initial-001-ref.xht

Issue 2819853002: Import css21/abspos W3C CSS Test Suite (Closed)
Patch Set: remove unrelated changes Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
2 <title>CSS Test: Test for containing block for absolutely positioned elements be ing initial containing block</title>
3 <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
5 <style type="text/css">
6 body { margin:0; }
7 .pos { position:absolute; width:100px; height:100px; }
8 </style>
9 </head>
10 <body>
11 <div style="height:10000px; margin:0; margin:10px; border:20px solid black; padd ing:30px;"></div>
12 <script type="text/javascript">
13 window.scrollTo(0,50);
14 </script>
15 <div style="top:0; left:60px; background:yellow;" class="pos"></div>
16 <div style="right:0; top:60px; background:orange;" class="pos"></div>
17 <div style="bottom:0; left:60px; background:brown;" class="pos"></div>
18 <div style="left:0; top:60px; background:pink;" class="pos"></div>
19
20
21
22 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698