mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
29 lines
1.4 KiB
HTML
29 lines
1.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>CSS Test: margin-left</title>
|
|
<style type="text/css">
|
|
@page { font: italic 8pt sans-serif; color: gray;
|
|
margin: 7%;
|
|
counter-increment: page;
|
|
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
|
@top-right { content: "Test c5504-mrgn-l-002"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
<link rel="help" href="http://www.w3.org/TR/REC-CSS1#margin-left"/>
|
|
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
|
|
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
|
<meta name="flags" content="image scroll should"/>
|
|
<style type="text/css"><![CDATA[
|
|
html { margin: 0; padding: 0; }
|
|
body { margin: 0; padding: 0; }
|
|
.five { margin-left: -2em; padding-left: 2em; color: navy;
|
|
background: url(support/swatch-green.png) no-repeat left; }
|
|
]]></style>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties" title="8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', and 'margin'"/>
|
|
</head>
|
|
<body>
|
|
<p class="five">Test passes if you can scroll to the left and see a green box.</p>
|
|
</body>
|
|
</html> |