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

Side by Side Diff: sdk/lib/html/scripts/htmlrenamer.py

Issue 11606021: Fixing selectoptions test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/html/scripts/systemhtml.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 re 5 import re
6 6
7 html_interface_renames = { 7 html_interface_renames = {
8 'CDATASection': 'CDataSection', 8 'CDATASection': 'CDataSection',
9 'DOMApplicationCache': 'ApplicationCache', 9 'DOMApplicationCache': 'ApplicationCache',
10 'DOMCoreException': 'DomException', 10 'DOMCoreException': 'DomException',
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 "Element.itemValue", 263 "Element.itemValue",
264 "Element.itemId", 264 "Element.itemId",
265 "Element.get:itemProp", 265 "Element.get:itemProp",
266 'Element.scrollIntoView', 266 'Element.scrollIntoView',
267 'Element.get:classList', 267 'Element.get:classList',
268 "FormElement.get:elements", 268 "FormElement.get:elements",
269 "HTMLFrameElement.*", 269 "HTMLFrameElement.*",
270 "HTMLFrameSetElement.*", 270 "HTMLFrameSetElement.*",
271 "HtmlElement.version", 271 "HtmlElement.version",
272 "HtmlElement.manifest", 272 "HtmlElement.manifest",
273 'SelectElement.options',
274 'SelectElement.selectedOptions',
273 "Cursor.PREV", 275 "Cursor.PREV",
274 "Cursor.PREV_NO_DUPLICATE", 276 "Cursor.PREV_NO_DUPLICATE",
275 "Cursor.NEXT", 277 "Cursor.NEXT",
276 "Cursor.NEXT_NO_DUPLICATE", 278 "Cursor.NEXT_NO_DUPLICATE",
277 "Transaction.READ_ONLY", 279 "Transaction.READ_ONLY",
278 "Transaction.READ_WRITE", 280 "Transaction.READ_WRITE",
279 "Document.version", 281 "Document.version",
280 "Document.manifest", 282 "Document.manifest",
281 "HTMLIsIndexElement.*", 283 "HTMLIsIndexElement.*",
282 "MenuElement.compact", 284 "MenuElement.compact",
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 414
413 # We're looking for a sequence of letters which start with capital letter 415 # We're looking for a sequence of letters which start with capital letter
414 # then a series of caps and finishes with either the end of the string or 416 # then a series of caps and finishes with either the end of the string or
415 # a capital letter. 417 # a capital letter.
416 # The [0-9] check is for names such as 2D or 3D 418 # The [0-9] check is for names such as 2D or 3D
417 # The following test cases should match as: 419 # The following test cases should match as:
418 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 420 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
419 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 421 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
420 # IFrameElement: (I)()(F)rameElement (no change) 422 # IFrameElement: (I)()(F)rameElement (no change)
421 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 423 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') | sdk/lib/html/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698