summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/381746-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/381746-1.html')
-rw-r--r--layout/reftests/bugs/381746-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/381746-1.html b/layout/reftests/bugs/381746-1.html
new file mode 100644
index 000000000..427b9cee3
--- /dev/null
+++ b/layout/reftests/bugs/381746-1.html
@@ -0,0 +1,23 @@
+<html class="reftest-wait"><head>
+<title>Testcase Bug 381746 - odd and changing border in frameset</title>
+<script>
+var frameOnloadCalled = false;
+function frameOnload() {
+ if (!frameOnloadCalled) {
+ frameOnloadCalled = true;
+ return;
+ }
+ document.documentElement.removeAttribute("class");
+}
+function doe() {
+document.getElementsByTagName('frame')[0].src = 'data:text/html;charset=utf-8,<body onload="parent.frameOnload();">text';
+document.getElementsByTagName('frame')[1].src = 'data:text/html;charset=utf-8,<body onload="parent.frameOnload();">text';
+}
+window.onload=doe;
+</script>
+</head>
+<frameset cols="48%,52%">
+ <frame src="">
+ <frame src="">
+</frameset>
+</html>