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

Issue 10854208: Adding Element.AddHTML and Element.addText methods. (Closed)

Created:
8 years, 4 months ago by blois
Modified:
8 years, 4 months ago
Reviewers:
vsm
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Adding Element.AddHTML and Element.addText methods. These are to make it easier to append HTML and text to existing DOM nodes. BUG=3685 Committed: https://code.google.com/p/dart/source/detail?r=11249

Patch Set 1 #

Patch Set 2 : Updating CL to the latest committed version. #

Total comments: 12

Patch Set 3 : Incorporating review feedback #

Total comments: 2

Patch Set 4 : Incorporating review feedback, adding copyright notice. #

Patch Set 5 : Implementing polyfills for insertAdjacent* to get tests working on FF. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -17 lines) Patch
M lib/dom/scripts/systemhtml.py View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M lib/dom/templates/html/impl/impl_DocumentFragment.darttemplate View 1 chunk +8 lines, -0 lines 0 comments Download
M lib/dom/templates/html/impl/impl_Element.darttemplate View 1 2 3 4 3 chunks +68 lines, -3 lines 0 comments Download
M lib/dom/templates/html/interface/interface_Element.darttemplate View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M lib/html/dart2js/html_dart2js.dart View 5 chunks +85 lines, -9 lines 0 comments Download
M lib/html/dartium/html_dartium.dart View 5 chunks +31 lines, -3 lines 0 comments Download
M lib/html/doc/interface/Element.dartdoc View 1 chunk +8 lines, -0 lines 0 comments Download
A tests/html/element_add_test.dart View 1 2 3 4 1 chunk +213 lines, -0 lines 0 comments Download
M tests/html/element_test.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
vsm
Looking pretty good. Some minor comments. https://chromiumcodereview.appspot.com/10854208/diff/2001/lib/html/doc/interface/Element.dartdoc File lib/html/doc/interface/Element.dartdoc (right): https://chromiumcodereview.appspot.com/10854208/diff/2001/lib/html/doc/interface/Element.dartdoc#newcode88 lib/html/doc/interface/Element.dartdoc:88: void addText(String text) ...
8 years, 4 months ago (2012-08-22 18:22:27 UTC) #1
blois
https://chromiumcodereview.appspot.com/10854208/diff/2001/lib/html/doc/interface/Element.dartdoc File lib/html/doc/interface/Element.dartdoc (right): https://chromiumcodereview.appspot.com/10854208/diff/2001/lib/html/doc/interface/Element.dartdoc#newcode88 lib/html/doc/interface/Element.dartdoc:88: void addText(String text) { On 2012/08/22 18:22:27, vsm wrote: ...
8 years, 4 months ago (2012-08-22 20:06:13 UTC) #2
vsm
lgtm, but please add the copyright back at the top of the test before landing. ...
8 years, 4 months ago (2012-08-22 20:09:34 UTC) #3
blois
https://chromiumcodereview.appspot.com/10854208/diff/7001/tests/html/element_add_test.dart File tests/html/element_add_test.dart (right): https://chromiumcodereview.appspot.com/10854208/diff/7001/tests/html/element_add_test.dart#newcode1 tests/html/element_add_test.dart:1: #library('ElementAddTest'); On 2012/08/22 20:09:34, vsm wrote: > Please add ...
8 years, 4 months ago (2012-08-22 20:40:59 UTC) #4
vsm
thanks, still lgtm!
8 years, 4 months ago (2012-08-22 20:42:09 UTC) #5
blois
On 2012/08/22 20:42:09, vsm wrote: > thanks, still lgtm! I realized that the tests were ...
8 years, 4 months ago (2012-08-23 17:48:09 UTC) #6
vsm
8 years, 4 months ago (2012-08-23 18:02:36 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698