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

Side by Side Diff: tools/dom/scripts/htmlrenamer.py

Issue 12747009: Undeprecating some Element position APIs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 import logging 5 import logging
6 import monitored 6 import monitored
7 import re 7 import re
8 8
9 html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', { 9 html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
10 'CDATASection': 'CDataSection', 10 'CDATASection': 'CDataSection',
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 'Document.webkitHidden', 156 'Document.webkitHidden',
157 'Document.webkitIsFullScreen', 157 'Document.webkitIsFullScreen',
158 'Document.webkitPointerLockElement', 158 'Document.webkitPointerLockElement',
159 'Document.webkitVisibilityState', 159 'Document.webkitVisibilityState',
160 160
161 'DocumentFragment.querySelector', 161 'DocumentFragment.querySelector',
162 'DocumentFragment.querySelectorAll', 162 'DocumentFragment.querySelectorAll',
163 'Element.childElementCount', 163 'Element.childElementCount',
164 'Element.children', 164 'Element.children',
165 'Element.className', 165 'Element.className',
166 'Element.clientHeight',
167 'Element.clientLeft',
168 'Element.clientTop',
169 'Element.clientWidth',
170 'Element.firstElementChild', 166 'Element.firstElementChild',
171 'Element.getAttribute', 167 'Element.getAttribute',
172 'Element.getAttributeNS', 168 'Element.getAttributeNS',
173 'Element.getElementsByTagName', 169 'Element.getElementsByTagName',
174 'Element.hasAttribute', 170 'Element.hasAttribute',
175 'Element.hasAttributeNS', 171 'Element.hasAttributeNS',
176 'Element.lastElementChild', 172 'Element.lastElementChild',
177 'Element.offsetHeight',
178 'Element.offsetLeft',
179 'Element.offsetTop',
180 'Element.offsetWidth',
181 'Element.querySelectorAll', 173 'Element.querySelectorAll',
182 'Element.removeAttribute', 174 'Element.removeAttribute',
183 'Element.removeAttributeNS', 175 'Element.removeAttributeNS',
184 'Element.scrollIntoView', 176 'Element.scrollIntoView',
185 'Element.scrollIntoViewIfNeeded', 177 'Element.scrollIntoViewIfNeeded',
186 'Element.setAttributeNS', 178 'Element.setAttributeNS',
187 'Element.setAttribute', 179 'Element.setAttribute',
188 'Element.setAttributeNS', 180 'Element.setAttributeNS',
189 'ElementTraversal.childElementCount', 181 'ElementTraversal.childElementCount',
190 'ElementTraversal.firstElementChild', 182 'ElementTraversal.firstElementChild',
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 698
707 # We're looking for a sequence of letters which start with capital letter 699 # We're looking for a sequence of letters which start with capital letter
708 # then a series of caps and finishes with either the end of the string or 700 # then a series of caps and finishes with either the end of the string or
709 # a capital letter. 701 # a capital letter.
710 # The [0-9] check is for names such as 2D or 3D 702 # The [0-9] check is for names such as 2D or 3D
711 # The following test cases should match as: 703 # The following test cases should match as:
712 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 704 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
713 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 705 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
714 # IFrameElement: (I)()(F)rameElement (no change) 706 # IFrameElement: (I)()(F)rameElement (no change)
715 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 707 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name)
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698