|
Moved remaining legacy viewport tests to unit tests.
In https://codereview.chromium.org/48613005/ most of the legacy viewport
meta tag tests were converted into unit tests. This CL moves the
remaining "trickier" tests.
I've also cleaned up the unit test infrastructure for viewport tests:
I've removed references to fixed layout mode unless the test was
actually still using it.
I've added a way to replace the viewport UA style sheet for testing.
BUG= 314001
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+879 lines, -3780 lines) |
Patch |
 |
D |
LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html
|
View
|
|
1 chunk |
+0 lines, -37 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-remove-and-add-expected.txt
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-1.html
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-1-expected.txt
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-2.html
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-2-expected.txt
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-3.html
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-3-expected.txt
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-4.html
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-4-expected.txt
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-5.html
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-5-expected.txt
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-6.html
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/viewport/viewport-warnings-6-expected.txt
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/ViewportStyle.h
|
View
|
|
1 chunk |
+26 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/ViewportStyle.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/ViewportStyleAndroid.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/tests/FrameTestHelpers.h
|
View
|
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/tests/FrameTestHelpers.cpp
|
View
|
|
3 chunks |
+85 lines, -1 line |
4 comments
|
Download
|
 |
A + |
Source/web/tests/LegacyViewportTest.cpp
|
View
|
|
160 chunks |
+524 lines, -457 lines |
2 comments
|
Download
|
 |
D |
Source/web/tests/ViewportTest.cpp
|
View
|
|
1 chunk |
+0 lines, -2883 lines |
0 comments
|
Download
|
 |
M |
Source/web/tests/WebFrameTest.cpp
|
View
|
|
69 chunks |
+194 lines, -244 lines |
0 comments
|
Download
|
 |
M |
Source/web/tests/WebInputEventConversionTest.cpp
|
View
|
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
D |
Source/web/tests/data/fixed_layout.html
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/web/tests/data/no_viewport_tag.html
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
Source/web/tests/data/resize_scroll_desktop.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
D |
Source/web/tests/data/resize_scroll_fixed_layout.html
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
A + |
Source/web/tests/data/viewport/viewport-legacy-xhtmlmp-remove-and-add.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/viewport/viewport-warnings-1.html
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/viewport/viewport-warnings-2.html
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/viewport/viewport-warnings-3.html
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/viewport/viewport-warnings-4.html
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/viewport/viewport-warnings-5.html
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/web/tests/data/viewport/viewport-warnings-6.html
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/web/web.gypi
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|