summaryrefslogtreecommitdiffstats
path: root/layout/reftests/frameset/frameset-add-col.html
blob: 8fe32e1de7c57b04c2f65a24a17d5bed9d3e34f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <meta charset=utf-8>
    <script type="text/javascript">
      window.addEventListener("MozReftestInvalidate", () => {
        let frameset = document.getElementById("frameset");
        let newFrame = document.createElement("frame");
        frameset.appendChild(newFrame);
        frameset.cols = "*";

        newFrame = document.createElement("frame");
        frameset.appendChild(newFrame);
        frameset.cols = frameset.cols + ",*";

        document.documentElement.removeAttribute("class");
      });
    </script>
  </head>
  <frameset id="frameset" cols="">
  </frameset>
</html>