mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,34 @@
|
|||
<!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="mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
||||
<style>
|
||||
#region {
|
||||
counter-reset: para 0;
|
||||
}
|
||||
#region p {
|
||||
counter-increment: para;
|
||||
margin: 1em 0;
|
||||
}
|
||||
#region p::before {
|
||||
content: "(" counter(para) ") ";
|
||||
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 five lines of text in it. Each line of text 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 paragraph no. 1</p>
|
||||
<p>This is numbered paragraph no. 2</p>
|
||||
<p>This is numbered paragraph no. 3</p>
|
||||
<p>This is numbered paragraph no. 4</p>
|
||||
<p>This is numbered paragraph no. 5</p>
|
||||
</div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue