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

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

Issue 748883004: Revert "Workaround for canPlayType in Dartium" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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') | no next file » | 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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 'HTMLImageElement.hspace', 701 'HTMLImageElement.hspace',
702 'HTMLImageElement.longDesc', 702 'HTMLImageElement.longDesc',
703 'HTMLImageElement.name', 703 'HTMLImageElement.name',
704 'HTMLImageElement.vspace', 704 'HTMLImageElement.vspace',
705 'HTMLInputElement.align', 705 'HTMLInputElement.align',
706 'HTMLLegendElement.align', 706 'HTMLLegendElement.align',
707 'HTMLLinkElement.charset', 707 'HTMLLinkElement.charset',
708 'HTMLLinkElement.rev', 708 'HTMLLinkElement.rev',
709 'HTMLLinkElement.target', 709 'HTMLLinkElement.target',
710 'HTMLMarqueeElement.*', 710 'HTMLMarqueeElement.*',
711 'HTMLMediaElement.canPlayType',
712 'HTMLMenuElement.compact', 711 'HTMLMenuElement.compact',
713 'HTMLMetaElement.scheme', 712 'HTMLMetaElement.scheme',
714 'HTMLOListElement.compact', 713 'HTMLOListElement.compact',
715 'HTMLObjectElement.align', 714 'HTMLObjectElement.align',
716 'HTMLObjectElement.archive', 715 'HTMLObjectElement.archive',
717 'HTMLObjectElement.border', 716 'HTMLObjectElement.border',
718 'HTMLObjectElement.codeBase', 717 'HTMLObjectElement.codeBase',
719 'HTMLObjectElement.codeType', 718 'HTMLObjectElement.codeType',
720 'HTMLObjectElement.declare', 719 'HTMLObjectElement.declare',
721 'HTMLObjectElement.hspace', 720 'HTMLObjectElement.hspace',
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 1020
1022 # We're looking for a sequence of letters which start with capital letter 1021 # We're looking for a sequence of letters which start with capital letter
1023 # then a series of caps and finishes with either the end of the string or 1022 # then a series of caps and finishes with either the end of the string or
1024 # a capital letter. 1023 # a capital letter.
1025 # The [0-9] check is for names such as 2D or 3D 1024 # The [0-9] check is for names such as 2D or 3D
1026 # The following test cases should match as: 1025 # The following test cases should match as:
1027 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 1026 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
1028 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 1027 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
1029 # IFrameElement: (I)()(F)rameElement (no change) 1028 # IFrameElement: (I)()(F)rameElement (no change)
1030 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 1029 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') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698