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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/floats-clear/margin-collapse-135.xht

Issue 2818213003: Import css21/floats-clear W3C CSS Test Suite (Closed)
Patch Set: update TestExpectations 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 lang="en" xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: Margin Collapsing: negative margins with clear</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/block/marg in-collapse/035.html" type="text/html"/>
7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins" />
8 <link rel="match" href="margin-collapse-135-ref.xht" />
9
10 <style type="text/css">
11 .container { background: red; height: auto; border: 1em lime solid; }
12 div { clear: both; }
13 .a { margin-top: 1em; margin-bottom: 1em; }
14 .b { margin-top: 1em; margin-bottom: 1em; }
15 .c { margin-top: 1em; margin-bottom: 1em; }
16 .d { margin-top: 1em; margin-bottom: 1em; }
17 .e { margin-top: 1em; margin-bottom: -1em; }
18 .f { margin-top: 1em; margin-bottom: 1em; }
19 </style>
20 </head>
21 <body>
22 <p>Test passes if there is <strong>no red</strong>.</p>
23 <div class="container">
24 <div class="a">
25 <div class="b"> </div>
26 <div class="c"> </div>
27 </div>
28 <div class="d">
29 <div class="e"> </div>
30 <div class="f"> </div>
31 </div>
32 </div>
33
34
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698