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
{
background-color: yellow;
color: green;
display: inline;
font-size: 300%;
}
span
{
color: purple;
}
</style>
<p>Test passes if background color of "Selected Text" is yellow, if the "S" glyph is purple and if the other glyphs are green.
<div class="highlight_reftest"><span>S</span>elected Text</div>