summaryrefslogtreecommitdiffstats
path: root/devtools/client/commandline/test/browser_cmd_csscoverage_page3.html
blob: 4dc91d5b21a6d544caea72b33a240bc80e82b9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Page 3</title>
  <style>
    @import url(browser_cmd_csscoverage_sheetD.css);

    /* This should match below */
    .page3-test1 {
      color: #031;
    }
    /* This should not match below */
    .page3-test2 {
      color: #032;
    }
  </style>
  <style>
    /* This also should not match below, but in a second inline sheet */
    .page3-test3 {
      color: #033;
    }
  </style>
  <link rel="stylesheet" type="text/css" href="browser_cmd_csscoverage_sheetA.css">
  <link rel="stylesheet" type="text/css" href="browser_cmd_csscoverage_sheetB.css">
  <script type="application/javascript;version=1.8">
  window.addEventListener("load", () => {
    dump('TEST-INFO | load from browser_cmd_csscoverage_page3.html\n');
  });
  </script>
</head>
<body>

<h2>Page 3</h2>

<div class=page3-test1>.page3-test1</div>

<div class=sheetA-test1>.sheetA-test1</div>
<div class=sheetA-test5>.sheetA-test5</div>
<div class=sheetB-test1>.sheetB-test1</div>
<div class=sheetB-test5>.sheetB-test5</div>
<div class=sheetC-test1>.sheetC-test1</div>
<div class=sheetC-test5>.sheetC-test5</div>
<div class=sheetD-test1>.sheetD-test1</div>
<div class=sheetD-test5>.sheetD-test5</div>

<p>
  <a href="browser_cmd_csscoverage_page1.html">Page 1</a>
</p>

</body>
</html>