summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/historical-xmlid.xht
blob: 7916d9c1203376188e9aa57ed7d9353906d3d9ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>No xml:id support</title>
    <link rel="help" href="https://drafts.csswg.org/selectors-4/#id-selectors"/>
    <link rel="help" href="https://dom.spec.whatwg.org/#concept-id"/>
    <link rel="match" href="../reference/ref-filled-green-100px-square.xht"/>
    <style type="text/css"><![CDATA[
      div {
        background: green;
        height: 100px;
        width: 100px;
      }
      #a {
        background: red;
      }
    ]]></style>
  </head>
  <body>
    <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
    <div xml:id="a"></div>
  </body>
</html>