mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
35 lines
683 B
HTML
35 lines
683 B
HTML
<!DOCTYPE html>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>CSS Reftest Reference</title>
|
|
|
|
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
|
|
|
<style>
|
|
div
|
|
{
|
|
font-size: 300%;
|
|
}
|
|
|
|
span
|
|
{
|
|
background-color: yellow;
|
|
}
|
|
|
|
span#first
|
|
{
|
|
color: purple;
|
|
}
|
|
|
|
span#second
|
|
{
|
|
color: green;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if both "selected text" have a yellow background, if the glyphs of "1st selected text" are purple and if the glyphs of "2nd selected text" are green.
|
|
|
|
<div><span id="first">1st selected text</span></div>
|
|
|
|
<div><span id="second">2nd selected text</span></div>
|