summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003-ref.html
blob: 9d80a9f005fad39226e13acfdf30c4594ea3765e (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
<!DOCTYPE html>
<meta charset="UTF-8">
<style>
  #span-doc {
    color: green;
    background-color: greenyellow;
  }
</style>
<body>
<iframe
  id="iframe"
  srcdoc="
    <style>
      span {
        color: blue;
        background-color: cyan;
      }
    </style>
    <span id='span-iframe'>abc</span>
  "
  >
</iframe>
<br>
<span id="span-doc">abc</span>