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

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

Issue 22912004: Initial Dartium custom element support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Mark tests fail until parser fix Created 7 years, 4 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
« no previous file with comments | « tests/html/html.status ('k') | tools/dom/src/native_DOMImplementation.dart » ('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 logging 5 import logging
6 import monitored 6 import monitored
7 import re 7 import re
8 8
9 typed_array_renames = { 9 typed_array_renames = {
10 'ArrayBuffer': 'ByteBuffer', 10 'ArrayBuffer': 'ByteBuffer',
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 'Document.get:plugins', 507 'Document.get:plugins',
508 'Document.get:scripts', 508 'Document.get:scripts',
509 'Document.get:xmlEncoding', 509 'Document.get:xmlEncoding',
510 'Document.getElementsByTagNameNS', 510 'Document.getElementsByTagNameNS',
511 'Document.getOverrideStyle', 511 'Document.getOverrideStyle',
512 'Document.getSelection', 512 'Document.getSelection',
513 'Document.images', 513 'Document.images',
514 'Document.linkColor', 514 'Document.linkColor',
515 'Document.location', 515 'Document.location',
516 'Document.open', 516 'Document.open',
517 'Document.register',
517 'Document.set:domain', 518 'Document.set:domain',
518 'Document.vlinkColor', 519 'Document.vlinkColor',
519 'Document.webkitCurrentFullScreenElement', 520 'Document.webkitCurrentFullScreenElement',
520 'Document.webkitFullScreenKeyboardInputAllowed', 521 'Document.webkitFullScreenKeyboardInputAllowed',
522 'Document.webkitRegister',
521 'Document.write', 523 'Document.write',
522 'Document.writeln', 524 'Document.writeln',
523 'Document.xmlStandalone', 525 'Document.xmlStandalone',
524 'Document.xmlVersion', 526 'Document.xmlVersion',
525 'DocumentFragment.children', 527 'DocumentFragment.children',
526 'DocumentType.*', 528 'DocumentType.*',
527 'DOMException.code', 529 'DOMException.code',
528 'DOMException.ABORT_ERR', 530 'DOMException.ABORT_ERR',
529 'DOMException.DATA_CLONE_ERR', 531 'DOMException.DATA_CLONE_ERR',
530 'DOMException.DOMSTRING_SIZE_ERR', 532 'DOMException.DOMSTRING_SIZE_ERR',
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 863
862 # We're looking for a sequence of letters which start with capital letter 864 # We're looking for a sequence of letters which start with capital letter
863 # then a series of caps and finishes with either the end of the string or 865 # then a series of caps and finishes with either the end of the string or
864 # a capital letter. 866 # a capital letter.
865 # The [0-9] check is for names such as 2D or 3D 867 # The [0-9] check is for names such as 2D or 3D
866 # The following test cases should match as: 868 # The following test cases should match as:
867 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 869 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
868 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 870 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
869 # IFrameElement: (I)()(F)rameElement (no change) 871 # IFrameElement: (I)()(F)rameElement (no change)
870 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 872 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name)
OLDNEW
« no previous file with comments | « tests/html/html.status ('k') | tools/dom/src/native_DOMImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698