summaryrefslogtreecommitdiffstats
path: root/layout/reftests/frameset/frameset-remove-col.html
blob: 1e266d2915fcca928aa25168873bd0e07f42da0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <meta charset=utf-8>
    <script type="text/javascript">
      window.addEventListener("MozReftestInvalidate", () => {
        let frameset = document.getElementById("frameset");
        frameset.removeChild(frameset.lastChild);
        frameset.cols = frameset.cols.replace(/,[^,]*$/, "");

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