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

Issue 224733003: Fix how document fragments are added on NodeList operations (Closed)

Created:
6 years, 8 months ago by Siggi Cherem (dart-lang)
Modified:
6 years, 8 months ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix how document fragments are added on NodeList operations. The DocumentFragment node should be gone, and its children should be added in place. R=jmesserly@google.com Committed: https://code.google.com/p/dart/source/detail?r=34742

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -12 lines) Patch
M pkg/third_party/html5lib/lib/dom.dart View 1 2 5 chunks +40 lines, -11 lines 0 comments Download
M pkg/third_party/html5lib/pubspec.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/third_party/html5lib/test/dom_test.dart View 1 2 chunks +174 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Siggi Cherem (dart-lang)
6 years, 8 months ago (2014-04-03 23:19:46 UTC) #1
Jennifer Messerly
lgtm
6 years, 8 months ago (2014-04-04 01:04:03 UTC) #2
Jennifer Messerly
On 2014/04/04 01:04:03, John Messerly wrote: > lgtm oops, not lgtm :) I don't think ...
6 years, 8 months ago (2014-04-04 01:06:30 UTC) #3
Siggi Cherem (dart-lang)
PTAL - I rewrote it now to fix how we add document fragments
6 years, 8 months ago (2014-04-04 17:01:06 UTC) #4
Jennifer Messerly
Thank you so much! Sorry the original code didn't handle this properly. I realized we ...
6 years, 8 months ago (2014-04-04 18:24:55 UTC) #5
Siggi Cherem (dart-lang)
Thanks! PTAL at how I combined _flatten + copy together https://codereview.chromium.org/224733003/diff/50001/pkg/third_party/html5lib/lib/dom.dart File pkg/third_party/html5lib/lib/dom.dart (right): https://codereview.chromium.org/224733003/diff/50001/pkg/third_party/html5lib/lib/dom.dart#newcode753 ...
6 years, 8 months ago (2014-04-04 19:31:56 UTC) #6
Jennifer Messerly
lgtm, nice simplification
6 years, 8 months ago (2014-04-04 19:44:45 UTC) #7
Siggi Cherem (dart-lang)
6 years, 8 months ago (2014-04-04 20:19:21 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r34742 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698