servo/tests/wpt/web-platform-tests/css/css-pseudo/reference/selection-intercharacter-011-ref.html

29 lines
636 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: 48px;
letter-spacing: 1em;
}
span#yellow
{
background-color: yellow;
}
span#orange
{
background-color: orange;
}
</style>
<p>Test passes if the background of characters "c" and "t" is orange (and only those 2 characters) and if the space between those 2 characters is also orange.
<div><span id="yellow">Sele<span id="orange">ct</span>ed</span></div>