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

Unified Diff: lib/dom/scripts/systemhtml.py

Issue 10540110: Put width before height in element constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systemhtml.py
diff --git a/lib/dom/scripts/systemhtml.py b/lib/dom/scripts/systemhtml.py
index 5d04aa9b0d37aab0f087baff0baa8369ce13dd90..a70f6cfe087253404c776dbd66fde9820340b095 100644
--- a/lib/dom/scripts/systemhtml.py
+++ b/lib/dom/scripts/systemhtml.py
@@ -500,7 +500,7 @@ _html_element_constructors = {
'ButtonElement': 'button',
'CanvasElement':
ElementConstructorInfo(tag='canvas',
- opt_params=[('int', 'height'), ('int', 'width')]),
+ opt_params=[('int', 'width'), ('int', 'height')]),
'DListElement': 'dl',
'DetailsElement': 'details',
'DivElement': 'div',
@@ -520,7 +520,7 @@ _html_element_constructors = {
'ImageElement':
ElementConstructorInfo(tag='img',
opt_params=[('String', 'src'),
- ('int', 'height'), ('int', 'width')]),
+ ('int', 'width'), ('int', 'height')]),
'InputElement':
ElementConstructorInfo(tag='input', opt_params=[('String', 'type')]),
'KeygenElement': 'keygen',
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698