summaryrefslogtreecommitdiffstats
path: root/layout/reftests/frameset/frameset-remove-row.html
blob: 7f55ac9493a1ca9be12882561dba5445d33cd952 (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.rows = frameset.rows.replace(/,[^,]*$/, "");

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