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

Unified Diff: LayoutTests/fast/events/resize-events-expected.txt

Issue 14766010: Clarify the size of a document view (a.k.a layout size) that causes FrameView to emit the resize ev… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use js-test-pre.js Created 7 years, 6 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-expected.txt
diff --git a/LayoutTests/fast/events/resize-events-expected.txt b/LayoutTests/fast/events/resize-events-expected.txt
index e30921e1671c3820e14fed27bc36738134f2820a..eedbdc577e0f33d4f5dd716d2ef79b087f5fc022 100644
--- a/LayoutTests/fast/events/resize-events-expected.txt
+++ b/LayoutTests/fast/events/resize-events-expected.txt
@@ -1,6 +1,5 @@
-Test how many resize events are emitted during page load and dynamic content generation. Do not resize the page. It invalidates the test.
-Resize events (should be 0): 0
-PASS
-
-
+Following actions must not emit resize events: page load, dynamic content generation, page scaling and changing fixed layout size.
+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
+However, showing/hiding scrollbars shouldn't be considered a layout size change. Refer to webkit.org/b/80242
+PASS resizeEventCount is 0
« no previous file with comments | « LayoutTests/fast/events/resize-events-count-expected.txt ('k') | LayoutTests/fast/events/resize-events-fixed-layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698