summaryrefslogtreecommitdiffstats
path: root/layout/reftests/frameset/frameset-add-row.html
blob: 31fbfeed5586e562205745a8b15c04d4bddd32cc (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.rows = "*";

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

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