servo/tests/wpt/web-platform-tests/css/css-pseudo/cascade-highlight-001-ref.html

22 lines
533 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/">
<link rel="stylesheet" href="support/highlights.css">
<style>
div
{
background-color: green;
color: yellow;
display: inline;
font-size: 300%;
}
</style>
<p>Test passes if background color of "Text sample" is green and <strong>not red</strong>.
<div class="highlight_reftest">Text sample</div>