layout/reftests/bugs/381746-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <html class="reftest-wait"><head>
michael@0 2 <title>Testcase Bug 381746 - odd and changing border in frameset</title>
michael@0 3 <script>
michael@0 4 var frameOnloadCalled = false;
michael@0 5 function frameOnload() {
michael@0 6 if (!frameOnloadCalled) {
michael@0 7 frameOnloadCalled = true;
michael@0 8 return;
michael@0 9 }
michael@0 10 document.documentElement.removeAttribute("class");
michael@0 11 }
michael@0 12 function doe() {
michael@0 13 document.getElementsByTagName('frame')[0].src = 'data:text/html;charset=utf-8,<body onload="parent.frameOnload();">text';
michael@0 14 document.getElementsByTagName('frame')[1].src = 'data:text/html;charset=utf-8,<body onload="parent.frameOnload();">text';
michael@0 15 }
michael@0 16 window.onload=doe;
michael@0 17 </script>
michael@0 18 </head>
michael@0 19 <frameset cols="48%,52%">
michael@0 20 <frame src="">
michael@0 21 <frame src="">
michael@0 22 </frameset>
michael@0 23 </html>

mercurial