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

Unified Diff: Source/core/dom/Element.idl

Issue 936503003: Add TypeChecking=Unrestricted to Element and Window interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added Window too. Created 5 years, 10 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 | « no previous file | Source/core/frame/Window.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.idl
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl
index 37b547fb39a3b51568e7fb92e9e04dbdcabcf129..ae240d51d6796f22f4e4200715f3464965a7fcda 100644
--- a/Source/core/dom/Element.idl
+++ b/Source/core/dom/Element.idl
@@ -18,7 +18,9 @@
* Boston, MA 02110-1301, USA.
*/
-interface Element : Node {
+[
+ TypeChecking=Unrestricted,
+] interface Element : Node {
// DOM Level 1 Core
@@ -69,16 +71,16 @@ interface Element : Node {
readonly attribute long clientWidth;
readonly attribute long clientHeight;
- attribute double scrollLeft;
- attribute double scrollTop;
+ attribute unrestricted double scrollLeft;
+ attribute unrestricted double scrollTop;
readonly attribute long scrollWidth;
readonly attribute long scrollHeight;
- [RuntimeEnabled=CSSOMSmoothScroll] void scroll(double x, double y);
+ [RuntimeEnabled=CSSOMSmoothScroll] void scroll(unrestricted double x, unrestricted double y);
[RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions scrollToOptions);
- [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(double x, double y);
+ [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(unrestricted double x, unrestricted double y);
[RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions scrollToOptions);
- [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(double x, double y);
+ [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unrestricted double y);
[RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions scrollToOptions);
void focus();
« no previous file with comments | « no previous file | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698