summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/old-tests/css3-modsel-54.xml
blob: 5ab7c84179b55a0ada539108230747663a15da31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>NEGATED substring matching attribute selector on beginning</title>
  <style type="text/css"><![CDATA[div.stub > * { color : red }
div.stub *:not([title^="si on"]) { color : lime }
]]></style>
  <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/>
  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
  <link rel="match" href="reference/three-paragraph-lime-characters.xht"/>
 </head>
 <body>
<div class="stub">
<p>This paragraph should be in green characters.</p>
<p title="on chante?">This paragraph should be in green characters.</p>
<p title="si on chantait">
     <span title="si il chantait">This paragraph should be in green characters.</span>
</p>
</div>
</body>
</html>