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

Unified Diff: LayoutTests/fast/events/resize-events.html

Issue 15927026: Enabled using viewport on desktop browsers behind experimental flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/resize-events.html
diff --git a/LayoutTests/fast/events/resize-events.html b/LayoutTests/fast/events/resize-events.html
index 197f33d3132ab28da134ec851650de6842056991..3b2060419b312c46b0dc2a0e78ee8f0dd542d83f 100644
--- a/LayoutTests/fast/events/resize-events.html
+++ b/LayoutTests/fast/events/resize-events.html
@@ -7,7 +7,7 @@
</head>
<body>
<div>
- Following actions must not emit resize events: page load, dynamic content generation, page scaling and changing fixed layout size.<br/>
+ Following actions must not emit resize events: page load, dynamic content generation, page scaling<br/>
The spec DOM Level 2 Events states that the resize event occurs when document view size (a.k.a layout size) is changed. Refer to http://www.w3.org/TR/DOM-Level-2-Events/events.html<br/>
However, showing/hiding scrollbars shouldn't be considered a layout size change. Refer to webkit.org/b/80242<br/>
@@ -41,11 +41,6 @@
function scalePage() {
if (window.internals)
window.internals.setPageScaleFactor(3, 0, 0);
- setTimeout(changeFixedLayoutSize, 20);
- }
- function changeFixedLayoutSize() {
- if (window.testRunner)
- testRunner.setFixedLayoutSize(1600, 1600);
setTimeout(finish, 20);
}
function finish() {
@@ -57,4 +52,4 @@
window.onload = test;
</script>
</body>
-</html>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/events/resize-events-fixed-layout.html » ('j') | Source/core/page/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698