Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/scrolling/absolute-position-overflow-clip.html

Issue 2336013002: ScrollRectToVisible should bubble up through its layout container. (Closed)
Patch Set: maximum==minimum Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <body>
5 <div style="overflow-x: hidden;">
6 <div id ="mydiv" style="position: absolute;">
7 <div style="height: 2000px"></div>
8 <input type="text" id="focusable"/>
9 </div>
10 </div>
11 </body>
12 <script type="text/javascript">
13 window.onload = function() {
14 test(function(t) {
15 var focusable = document.getElementById("focusable");
16 focusable.focus();
17 assert_not_equals(window.scrollY, 0);
18 }, "Tests that for an element with absolute position and whose parent has ov erflowclip, it can still scroll automatically.");
19 }
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698