summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/selectors/attr-list-01.html
blob: 440404bb430ca3be77dd9cb9f598dec1d8118d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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>