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

Side by Side Diff: third_party/WebKit/LayoutTests/css2.1/20110323/absolute-replaced-height-033.htm

Issue 2827713002: Delete duplicated LayoutTests from css2.1/20110323 (Closed)
Patch Set: 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 HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Absolute replaced elements with percentage based intrin sic height set to 'auto' and over-constrained values</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#abs-repla ced-height">
7 <meta name="flags" content="">
8 <meta name="assert" content="An absolutely positioned replaced element w ith percentage intrinsic height resolves based on the containing block height wh en percentage is explicitly specified.">
9 <style type="text/css">
10 #div1
11 {
12 position: relative;
13 height: 2in;
14 }
15 div div
16 {
17 border: solid green;
18 height: 1in;
19 position: absolute;
20 top: 1in;
21 width: 300px;
22 }
23 iframe
24 {
25 border: solid red;
26 bottom: 1in;
27 margin-bottom: 0.5in;
28 margin-top: 0.5in;
29 position: absolute;
30 top: 0.5in;
31 width: auto;
32 }
33 </style>
34 </head>
35 <body>
36 <p>Test passes if there is no red visible on the page.</p>
37 <div id="div1">
38 <iframe height="50%"></iframe>
39 <div></div>
40 </div>
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698