2 <html lang=
"en" class=
"reftest-wait">
4 <meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8">
6 <title>The ASR for the opacity item is the root scroll frame instead of the subframe.
</title>
11 /* avoid event regions messing with our demonstration */
13 /* make sure the .outer opacity item has the root scroll frame as its ASR */
14 background: rgba(
0,
0,
0,
0.1);
22 /* clips off .scrollFrame's scrollbar */
37 border:
5px solid black;
45 <div class=
"opacity outer">
46 <div class=
"opacity inner">
47 <div class=
"scrollFrameWrapper">
48 <div class=
"scrollFrame">
49 <div class=
"scrolledContents"></div>
59 var scrollFrame
= document
.querySelector('.scrollFrame');
60 scrollFrame
.scrollTop
= 10;
61 scrollFrame
.scrollTop
= 20;
62 scrollFrame
.scrollTop
= 0;
64 document
.documentElement
.removeAttribute("class");
67 document
.addEventListener("MozReftestInvalidate", doTest
);