|
Update layout tests to use inernals.visualViewport APIs.
This CL adds the following methods to Internals.cpp for tests that need the
visual viewport scroll position and dimensions: visualViewportHeight,
visualViewportWidth, visualViewportScrollX, visualViewportScrollY.
This is the initial CL to fix the LayoutTests that would break if the
corresponding window properties were relative to the visual viewport. This CL
branched from another CL to make shipping this window API change easier.
Original review CL: https://codereview.chromium.org/1415513002
TBR=rbyers@chromium.org
BUG= 489206
Committed: https://crrev.com/8e61efca851565188257eb9f547d601f8d90e938
Cr-Commit-Position: refs/heads/master@{#355926}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+123 lines, -353 lines) |
Patch |
|
M |
third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom.html
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-expected.txt
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-scroll-bubble.html
|
View
|
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-scroll-bubble-expected.txt
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-fling-with-page-scale.html
|
View
|
|
8 chunks |
+1 line, -62 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-fling-with-page-scale-expected.txt
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/history/scroll-restoration/scroll-restoration-scale-not-impacted.html
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/fast/scroll-behavior/main-frame-pinch-scrollBy.html
|
View
|
|
1 chunk |
+0 lines, -90 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/fast/scroll-behavior/main-frame-pinch-scrollBy-expected.txt
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/fast/scroll-behavior/main-frame-pinch-scrollTo.html
|
View
|
|
1 chunk |
+0 lines, -90 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/fast/scroll-behavior/main-frame-pinch-scrollTo-expected.txt
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/scrolling/editor-command-scroll-page-scale.html
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/scrolling/editor-command-scroll-page-scale-expected.txt
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/scrolling/keyboard-scroll-page-scale.html
|
View
|
|
1 chunk |
+17 lines, -15 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/scrolling/keyboard-scroll-page-scale-expected.txt
|
View
|
|
1 chunk |
+13 lines, -11 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/transforms/selection-bounds-in-transformed-view.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/inspector/elements/highlight/highlight-node-scaled-and-scrolled.html
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/testing/Internals.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/testing/Internals.cpp
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/testing/Internals.idl
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (5 generated)
|