2 <html class=
"reftest-wait"><head>
4 <title>Testcase for bug
943249</title>
5 <style type=
"text/css">
8 color:black
; background-color:white
; font-size:16px; padding:0; margin:0;
11 iframe
{ height: 80px; border:0; padding:0; margin:0; }
16 var no
= document
.querySelectorAll('iframe[scrolling="no"]');
17 var yes
= document
.querySelectorAll('iframe[scrolling="yes"]');
18 for (i
= 0; i
< no
.length
; ++i
) {
19 no
[i
].setAttribute('scrolling','yes');
21 for (i
= 0; i
< yes
.length
; ++i
) {
22 yes
[i
].setAttribute('scrolling','no');
24 document
.documentElement
.className
='';
26 window
.addEventListener("MozReftestInvalidate", doTest
);
30 <div style=
"float:left">
31 scrolling=
"no", overflow:scroll
<br>
32 <iframe scrolling=
"yes" src=
"data:text/html,<body style='overflow:scroll'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
33 scrolling=
"no", overflow:auto
<br>
34 <iframe scrolling=
"yes" src=
"data:text/html,<body style='overflow:auto'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
35 scrolling=
"no", overflow:hidden
<br>
36 <iframe scrolling=
"yes" src=
"data:text/html,<body style='overflow:hidden'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
37 scrolling=
"no", overflow:visible
<br>
38 <iframe scrolling=
"yes" src=
"data:text/html,<body style='overflow:visible'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
39 scrolling=
"no", overflow:inherit
<br>
40 <iframe scrolling=
"yes" src=
"data:text/html,<body style='overflow:inherit'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
43 <div style=
"float:left">
44 scrolling=
"yes", overflow:scroll
<br>
45 <iframe scrolling=
"no" src=
"data:text/html,<body style='overflow:scroll'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
46 scrolling=
"yes", overflow:auto
<br>
47 <iframe scrolling=
"no" src=
"data:text/html,<body style='overflow:auto'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
48 scrolling=
"yes", overflow:hidden
<br>
49 <iframe scrolling=
"no" src=
"data:text/html,<body style='overflow:hidden'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
50 scrolling=
"yes", overflow:visible
<br>
51 <iframe scrolling=
"no" src=
"data:text/html,<body style='overflow:visible'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
52 scrolling=
"yes", overflow:inherit
<br>
53 <iframe scrolling=
"no" src=
"data:text/html,<body style='overflow:inherit'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
56 <div style=
"float:left">
58 <iframe style=
"overflow:hidden" src=
"data:text/html,<body>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
59 overflow:scroll, overflow:hidden
<br>
60 <iframe style=
"overflow:scroll" src=
"data:text/html,<body style='overflow:hidden'>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>
62 <iframe style=
"overflow:scroll" src=
"data:text/html,<body>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>X<br>"></iframe><br>