blob: 440404bb430ca3be77dd9cb9f598dec1d8118d68 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Whitespace-separated attribute selectors</title>
<style>
span { color: red; }
[data-list~="b"] { color: green; }
#t1:not([data-list~=" z"]) { color: green; }
#t2:not([data-list~="u "]) { color: green; }
</style>
</head>
<body>
<p>
<span data-list="a b ">This</span>
<span data-list="a&#10;b&#13;c">text</span>
<span data-list="a &#12;b &#12;">should</span>
<span id="t1" data-list="w z x&#09;">be</span>
<span id="t2" data-list="u&#09;">green</span>
</p>
</body>
</html>