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

Issue 11413071: Deprecating Element.elements for Element.children. (Closed)

Created:
8 years, 1 month ago by blois
Modified:
8 years, 1 month ago
Reviewers:
Jacob, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Deprecating Element.elements for Element.children. BUG=3584 Committed: https://code.google.com/p/dart/source/detail?r=15118

Patch Set 1 #

Total comments: 10

Patch Set 2 : Incorporating review feedback. #

Total comments: 6

Patch Set 3 : Review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -284 lines) Patch
M samples/calculator/calculator.dart View 4 chunks +6 lines, -6 lines 0 comments Download
M samples/calculator/tape.dart View 6 chunks +15 lines, -15 lines 0 comments Download
M samples/chat/dart_client/chat.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M samples/logo/logo.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/newissues/newissues.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M samples/swipe/swipe.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M samples/tests/samples/lib/layout/grid_layout_demo.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/html/dart2js/html_dart2js.dart View 1 2 3 chunks +38 lines, -19 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 3 chunks +38 lines, -19 lines 0 comments Download
M sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate View 1 2 1 chunk +18 lines, -10 lines 0 comments Download
M sdk/lib/html/templates/html/impl/impl_Element.darttemplate View 1 2 2 chunks +20 lines, -9 lines 0 comments Download
M sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M sdk/lib/svg/dart2js/svg_dart2js.dart View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M sdk/lib/svg/dartium/svg_dartium.dart View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M tests/html/cssstyledeclaration_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/html/documentfragment_test.dart View 3 chunks +33 lines, -33 lines 0 comments Download
M tests/html/element_add_test.dart View 9 chunks +39 lines, -39 lines 0 comments Download
M tests/html/element_test.dart View 1 2 7 chunks +51 lines, -51 lines 0 comments Download
M tests/html/hidden_dom_1_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/hidden_dom_2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/htmlcollection_test.dart View 10 chunks +23 lines, -23 lines 0 comments Download
M tests/html/selectelement_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/html/shadow_dom_layout_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/svgelement_test.dart View 1 2 3 chunks +9 lines, -9 lines 0 comments Download
M tests/html/xmldocument_test.dart View 2 chunks +6 lines, -6 lines 0 comments Download
M tests/html/xmlelement_test.dart View 8 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
blois
8 years, 1 month ago (2012-11-19 19:25:27 UTC) #1
sra1
https://codereview.chromium.org/11413071/diff/1/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/11413071/diff/1/sdk/lib/html/dart2js/html_dart2js.dart#newcode6790 sdk/lib/html/dart2js/html_dart2js.dart:6790: List<Element> get elements { get elements => this.children' https://codereview.chromium.org/11413071/diff/1/sdk/lib/html/dart2js/html_dart2js.dart#newcode6798 ...
8 years, 1 month ago (2012-11-19 19:34:53 UTC) #2
Jacob
lgtm one random thought... i like element.children.add(new DivElement()); much better than element.elements.add(new DivElement()); but it ...
8 years, 1 month ago (2012-11-19 19:41:49 UTC) #3
blois
Jacob- Allowing elements.add(new Text('something')) would mean that we'd have to change the return type from ...
8 years, 1 month ago (2012-11-19 21:57:49 UTC) #4
sra1
lgtm after moving the annotations to the right place. https://codereview.chromium.org/11413071/diff/6001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/11413071/diff/6001/sdk/lib/html/dart2js/html_dart2js.dart#newcode6797 sdk/lib/html/dart2js/html_dart2js.dart:6797: ...
8 years, 1 month ago (2012-11-19 22:16:34 UTC) #5
blois
https://codereview.chromium.org/11413071/diff/6001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/11413071/diff/6001/sdk/lib/html/dart2js/html_dart2js.dart#newcode6797 sdk/lib/html/dart2js/html_dart2js.dart:6797: @Creates('Null') On 2012/11/19 22:16:34, sra1 wrote: > This goes ...
8 years, 1 month ago (2012-11-19 22:58:53 UTC) #6
Jacob
8 years, 1 month ago (2012-11-20 18:18:24 UTC) #7
lgtm

lgtm

Powered by Google App Engine
This is Rietveld 408576698