gecko-dev/layout/reftests/frameset/frameset-remove-col.html
Kirk Steuber a55c46f192 Bug 1371073 - Add reftests to ensure rows and cols are properly added and removed from framesets r=bz
MozReview-Commit-ID: A6uLt8oSn6F

--HG--
extra : rebase_source : 09e64dc66a0718b8ab0e4e27ddb9dacf1afbe9ea
2017-06-14 16:05:20 -07:00

21 lines
546 B
HTML

<!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>