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

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: Improve the visual effect of the test. 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <body id="body">
5 <div style="height: 500px;overflow-x: hidden;">
6 <div style="height: 2000px; background-color: blue;"></div>
7 <div style="position: absolute;">
8 <div style="height: 1000px; background-color: yellow;"></div>
9 <a href="somelink" id="focusable" style="font-size:60px">anchor</a>
10 </div>
11 <div style="height: 2000px; background-color: red;"></div>
12 </div>
13 </body>
14 <script type="text/javascript">
15 window.onload = function() {
16 test(function(t) {
17 var focusable = document.getElementById("focusable");
18 focusable.focus();
19 assert_not_equals(window.scrollY, 0);
20 }, "Tests that for an element with absolute position and whose parent has ov erflowclip, it can still scroll automatically.");
21 }
22 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698