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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/normal-flow/block-non-replaced-height-005.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 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: Block-level non-replaced elements in normal flow when ' overflow' computes to 'visible' and 'height' is 'auto' adjust based on the line box height</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/ BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 -->
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#normal-bl ock" />
8 <link rel="match" href="block-non-replaced-height-005-ref.xht" / >
9
10 <meta name="flags" content="ahem" />
11 <meta name="assert" content="The 'height' is the distance from the topmo st to the bottommost line box when a block-level non-replaced element is in norm al flow and 'overflow' computes to 'visible'." />
12 <style type="text/css">
13 div
14 {
15 position: relative;
16 }
17 #div1
18 {
19 background: red;
20 width: 200px;
21 }
22 span
23 {
24 color: blue;
25 display: inline;
26 font: 100px/1 Ahem;
27 }
28 #div2
29 {
30 background: orange;
31 height: 200px;
32 left: 200px;
33 position: absolute;
34 top: 0;
35 width: 200px;
36 }
37 </style>
38 </head>
39 <body>
40 <p>Test passes if the blue and orange squares have the same height and i f there is <strong>no red</strong>.</p>
41 <div>
42 <div id="div1">
43 <span>XX XX</span>
44 </div>
45 <div id="div2"></div>
46 </div>
47 </body>
48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698