servo/tests/wpt/css-tests/css-regions-1_dev/xhtml1/reference/extract-numbered-paragraphs-divs-001-ref.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

40 lines
No EOL
1.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Reftest Reference</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
<style>
#region {
counter-reset: c 0;
}
#region p,
#region div {
counter-increment: c;
margin: 1em 0;
}
#region p::before,
#region div::before {
content: "(" counter(c) ") ";
background: darkblue;
color: white;
}
#region {
background-color: lightblue;
border: 1px solid lightblue;
}
</style>
</head>
<body>
<p>Test passes if you see a light blue rectangle below, with eight lines of text in it. The text on each line should be black and preceded by the line number between parantheses. The line numbers should be white on a dark blue background.</p>
<div id="region">
<p>This is numbered line of text no. 1</p>
<p>This is numbered line of text no. 2</p>
<div>This is numbered line of text no. 3</div>
<p>This is numbered line of text no. 4</p>
<div>This is numbered line of text no. 5</div>
<p>This is numbered line of text no. 6</p>
<div>This is numbered line of text no. 7</div>
<div>This is numbered line of text no. 8</div>
</div>
</body></html>