mirror of
https://github.com/servo/servo.git
synced 2025-06-26 18:14:34 +01:00
33 lines
No EOL
913 B
HTML
33 lines
No EOL
913 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Reftest Reference</title>
|
|
<link href="mibalan@adobe.com" rel="author" title="Mihai Balan">
|
|
<style>
|
|
span {
|
|
counter-increment: spans 1;
|
|
}
|
|
#region {
|
|
counter-reset: spans 0;
|
|
}
|
|
span::before {
|
|
display: inline-block;
|
|
content: counter(spans) ".";
|
|
width: 2em;
|
|
margin: 0 .5em;
|
|
background: green;
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
#region {
|
|
background-color: lightblue;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you see a light blue rectangle below, with three blocks of black text on a single line. Each block of text should be numbered from 1 to 3 and contain the text “Visible text <em>n</em>” with <em>n</em> ranging from 1 to 3. The numbering should be white on a green background.</p>
|
|
<div id="region">
|
|
<span>Visible text 1</span><span>Visible text 2</span><span>Visible text 3</span>
|
|
</div>
|
|
|
|
</body></html> |