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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/normal-flow/max-width-108.xht

Issue 2818243002: Import css21/normal-flow 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: max-width - float and overflow</title>
8
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB ugsSection/css21testsuite/" />
10 <link rel="author" title="Hilbrand Edskes" href="http://edskes.com/" />
11 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#min-max-widths" />
12 <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#overflow" />
13 <meta content="ahem" name="flags" />
14 <meta name="assert" content="'max-width' specifies a fixed maximum used width. If the used width is greater than max-width, then the computed value of max-wid th is used as the computed value for width." />
15
16 <style type="text/css"><![CDATA[
17 div
18 {
19 font: 200px/1 Ahem;
20 height: 200px;
21 max-width: 200px;
22 overflow: auto;
23 }
24
25 #test-red-overlapped
26 {
27 color: red;
28 float: left;
29 }
30
31 #control-green-overlapping
32 {
33 clear: left;
34 color: green;
35 position: relative;
36 top: -200px;
37 }
38 ]]></style>
39
40 </head>
41
42 <body>
43
44 <p>PREREQUISITE: User agent needs to support scrollbars as the scrolling mecha nism. If it does not, then this test case does not apply to this user agent.</p>
45
46 <p>Test passes if there is a green square and <strong>no red</strong>. Such gr een square should have active horizontal and vertical scrollbars.</p>
47
48 <div id="test-red-overlapped">XX</div>
49
50 <div id="control-green-overlapping">XX</div>
51
52 </body>
53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698