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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.idl

Issue 2101393002: Make visualViewport.scrollTop/Left readonly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/VisualViewport.idl
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.idl b/third_party/WebKit/Source/core/frame/VisualViewport.idl
index 4b365ce19b980d795e8b26317609300da4db6238..123037285900f7a447b601b672ed723f3d0b1886 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.idl
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.idl
@@ -30,8 +30,8 @@
RuntimeEnabled=VisualViewportAPI,
ImplementedAs=DOMVisualViewport,
] interface VisualViewport : EventTarget {
- attribute double scrollTop;
- attribute double scrollLeft;
+ readonly attribute double scrollTop;
+ readonly attribute double scrollLeft;
readonly attribute double clientWidth;
readonly attribute double clientHeight;
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698