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

Side by Side Diff: third_party/WebKit/LayoutTests/css2.1/20110323/block-replaced-height-004.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: Block replaced elements without intrinsic ratios and 'h eight' set to 'auto'</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#inline-re placed-height">
7 <meta name="flags" content="">
8 <meta name="assert" content="For block replaced elements the 'height' is set to the largest rectangle that has a 2:1 ratio that is not greater than 150p x and has a 'width' not greater than the device width.">
9 <style type="text/css">
10 div
11 {
12 position: relative;
13 }
14 div div
15 {
16 border: solid green;
17 height: 150px;
18 position: absolute;
19 top: 0;
20 width: 300px;
21 }
22 iframe
23 {
24 border: solid red;
25 display: block;
26 height: auto;
27 width: auto;
28 }
29 </style>
30 </head>
31 <body>
32 <p>Test passes if there is no red visible on the page.</p>
33 <div>
34 <iframe></iframe>
35 <div></div>
36 </div>
37 </body>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698