You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
// When iframe element has focus and the iframe document isn't scrollable, the parent document should be scrolled instead.
128
+
info("When iframe element has focus and the iframe document isn't scrollable, the parent document should be scrolled instead.");
109
129
document.body.focus();
110
130
iframe.focus();
111
131
awaittryToScrollWithKey(true);
@@ -114,7 +134,7 @@
114
134
ok(document.documentElement.scrollLeft>0,"ArrowRight keydown event at the iframe whose content is not scrollable should cause scrolling the parent document");
115
135
awaitresetScroll();
116
136
117
-
// When iframe element has focus and the iframe document scrollable, the parent document shouldn't be scrolled.
137
+
info("When iframe element has focus and the iframe document scrollable, the parent document shouldn't be scrolled.");
118
138
document.body.focus();
119
139
div.style.height="1000px";
120
140
div.style.width="1000px";
@@ -127,7 +147,7 @@
127
147
ok(iframe.contentDocument.documentElement.scrollLeft>0,"ArrowRight keydown event at the iframe whose content is scrollable should cause scrolling the iframe document");
128
148
awaitresetScroll();
129
149
130
-
// If iframe document cannot scroll to specific direction, parent document should be scrolled instead.
150
+
info("If iframe document cannot scroll to specific direction, parent document should be scrolled instead.");
131
151
div.style.height="1px";
132
152
div.style.width="1000px";
133
153
iframe.focus();
@@ -148,7 +168,7 @@
148
168
ok(document.documentElement.scrollLeft>0,"ArrowRight keydown event at the iframe whose content is scrollable only vertically should cause scrolling the parent document");
149
169
awaitresetScroll();
150
170
151
-
// Hidden iframe shouldn't consume keyboard events if it was not scrollable.
171
+
info("Hidden iframe shouldn't consume keyboard events if it was not scrollable.");
0 commit comments