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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/positioning/abspos-023.xht

Issue 2824603002: Import css21/positioning W3C CSS Test Suite (Closed)
Patch Set: git rebase-update 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">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: left:auto for fixed-pos blocks inside abs-pos blocks</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
6 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.ne t/contact"/>
7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/absolute/0 21.html" type="text/html"/>
8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replace d-width"/>
9 <meta name="flags" content="may"/>
10 <style type="text/css">
11 body { color: navy; }
12 .control { margin-left: 50%; border-top: 1em solid red; width: 1em; }
13 .container { position: absolute; left: 50%; }
14 .test { position: fixed; left: auto; width: 1em; height: 1em;
15 background: green; color: white; }
16 </style>
17 </head>
18 <body>
19 <p>There should be a green square roughly centered below and no red.</p>
20 <div class="container">
21 <div class="test"> </div>
22 </div>
23 <div class="control"></div>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698