Source code
Revision control
Copy as Markdown
Other Tools
<!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/">
<link rel="stylesheet" href="../support/highlights.css">
<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 class="highlight_reftest"><span id="first">1st selected text</span></div>
<div class="highlight_reftest"><span id="second">2nd selected text</span></div>