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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/positioning/position-relative-022.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
3 <html xmlns="http://www.w3.org/1999/xhtml">
4
5 <head>
6
7 <title>CSS Test: Relative positioning and overflow: auto</title>
8
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB ugsSection/css21testsuite/" />
10 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#relative-positi oning" />
11
12 <meta name="flags" content="interact" />
13 <meta name="assert" content="If relative positioning causes overflow to an con taining ancestor, then the user agent needs to provide a scrolling mechanism to all of the content at its offset position. In this test, div#taller-and-wider-re l-pos generates a 1.75in wide by 1.75in tall box." />
14
15 <style type="text/css"><![CDATA[
16 div#containing-ancestor
17 {
18 height: 1.5in;
19 overflow: auto;
20 width: 1.5in;
21 }
22
23 div#taller-and-wider-rel-pos
24 {
25 border: blue solid 5px;
26 height: 1in;
27 left: 0.75in;
28 position: relative;
29 top: 0.75in;
30 width: 1in;
31 }
32 ]]></style>
33
34 </head>
35
36 <body>
37
38 <p>Test passes if, after scrolling down and to the right, all four edges of a blue square are visible.</p>
39
40 <div id="containing-ancestor">
41 <div id="taller-and-wider-rel-pos"></div>
42 </div>
43
44 </body>
45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698