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

Side by Side Diff: third_party/WebKit/LayoutTests/css2.1/20110323/inline-replaced-height-001.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//EN" "http://www.w3.org/TR/html4/st rict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Inline replaced elements with 'margin-top' and 'margin- bottom' as '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="image">
8 <meta name="assert" content="An inline replaced elements' used value of 'margin-top' and/or 'margin-bottom' set to 'auto' is '0'.">
9 <style type="text/css">
10 div
11 {
12 border-bottom: solid orange;
13 border-top: solid orange;
14 line-height: 0;
15 width: 1in;
16 }
17 img
18 {
19 display: inline;
20 margin-bottom: auto;
21 margin-top: auto;
22 }
23 </style>
24 </head>
25 <body>
26 <p>Test passes if there is no white space between the blue box below and the orange lines.</p>
27 <div>
28 <img alt="blue 15x15" src="resources/blue15x15.png">
29 </div>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698