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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/positioning/position-fixed-006.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 id="test" xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: Non-static position on the root element</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-p osition" />
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#choose-po sition" />
8 <meta name="flags" content="dom may" />
9 <meta name="assert" content="Root elements may treat non-static position s as 'static'." />
10 <style type="text/css">
11 html
12 {
13 position: fixed;
14 }
15 </style>
16 </head>
17 <body>
18 <p>Test passes if the word "fixed" or "static" is below this text.</p>
19 <script type="text/javascript">
20 var el = document.getElementById('test');
21 document.body.appendChild(document.createTextNode(window.getComputed Style(el, null).position));
22 </script>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698