summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/selectors/006.html
blob: 772d5b86c3b92fa94049d6a643648a461d33cd8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>Attribute value selector</title>
  <style type="text/css">address { background-color : red }
address[title="foo"] { background-color : lime }
span[title="a"] { background-color : red }</style>
  <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
  <link rel="prev" href="css3-modsel-5.html" title="Attribute existence selector">
  <link rel="next" href="css3-modsel-7.html" title="Attribute multivalue selector">
  <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked">
  <link rel="up" href="./index.html">
  <link rel="top" href="../../index.html">
 </head>
 <body>
<address title="foo">
<span title="b">This address should </span>
  <span title="aa">have a green background because the
  selector in last rule does not apply to inner SPANs.
</span>
</address>
</body>
</html>