Bug 1729777 [wpt PR 30405] - Parsing for contain-intrinsic-size: auto <length>, a...
[gecko.git] / testing / web-platform / tests / css / CSS2 / margin-padding-clear / margin-top-055.xht
blobf910838640d84f987d6be1373befe1ee36054b73
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3     <head>
4         <title>CSS Test: Margin-top using millimeters with a nominal value, 25.4mm</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-08-20 -->
7         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-margin-top" />
8         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties" />
9                 <link rel="match" href="margin-top-043-ref.xht" />
11         <meta name="flags" content="" />
12         <meta name="assert" content="The 'margin-top' property sets a nominal length value in millimeters." />
13         <style type="text/css">
14             #div1
15             {
16                 border-top: 25.4mm solid red;
17                 margin-bottom: -50.8mm;
18             }
19             #div2
20             {
21                 border-top: 25.4mm solid black;
22                 margin-top: 25.4mm;
23             }
24         </style>
25     </head>
26     <body>
27         <p>Test passes if there is <strong>no red</strong>.</p>
28         <div id="div1"></div>
29         <div id="div2"></div>
30     </body>
31 </html>