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

Unified Diff: tools/dom/scripts/htmlrenamer.py

Issue 300143002: Change Element offset/client/scroll attributes to be num instead of int (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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: tools/dom/scripts/htmlrenamer.py
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
index c149025bba04abdcac3fd86bdd85248b1e02b64e..126b739abc8da5933d0b6543195c376a06664516 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -237,6 +237,21 @@ private_html_members = monitored.Set('htmlrenamer.private_html_members', [
'Element.hasAttributeNS',
'Element.innerHTML',
'Element.querySelectorAll',
+ # TODO(vsm): These have been converted from int to double in Chrome 36.
+ # Special case them so we run on 34, 35, and 36.
+ 'Element.offsetLeft',
+ 'Element.offsetTop',
+ 'Element.offsetWidth',
+ 'Element.offsetHeight',
+ 'Element.clientLeft',
+ 'Element.clientTop',
+ 'Element.clientWidth',
+ 'Element.clientHeight',
+ 'Element.scrollLeft',
+ 'Element.scrollTop',
+ 'Element.scrollWidth',
+ 'Element.scrollHeight',
+
'Event.initEvent',
'Geolocation.clearWatch',
'Geolocation.getCurrentPosition',

Powered by Google App Engine
This is Rietveld 408576698