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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/positioning/abspos-023.xht
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/CSS2/positioning/abspos-023.xht b/third_party/WebKit/LayoutTests/external/wpt/css/CSS2/positioning/abspos-023.xht
new file mode 100644
index 0000000000000000000000000000000000000000..e5cd4c424cb73ce484d4437df446b7b38d3c29b4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/CSS2/positioning/abspos-023.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>CSS Test: left:auto for fixed-pos blocks inside abs-pos blocks</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/absolute/021.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width"/>
+ <meta name="flags" content="may"/>
+ <style type="text/css">
+ body { color: navy; }
+ .control { margin-left: 50%; border-top: 1em solid red; width: 1em; }
+ .container { position: absolute; left: 50%; }
+ .test { position: fixed; left: auto; width: 1em; height: 1em;
+ background: green; color: white; }
+ </style>
+ </head>
+ <body>
+ <p>There should be a green square roughly centered below and no red.</p>
+ <div class="container">
+ <div class="test"> </div>
+ </div>
+ <div class="control"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698