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

Issue 23404003: Make Range methods to work with detached node (Closed)

Created:
7 years, 4 months ago by yosin_UTC9
Modified:
7 years, 3 months ago
Reviewers:
tkent, Mike West
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org, Stepien Nicolas
Visibility:
Public.

Description

Make Range methods to work with detached node This patch makes Range methods, setEndAfter, setEndBefore, setStartAfter, setStartBefore, selectNode and surroundContents, to work with detached node as the spec, http://dom.spec.whatwg.org) BUG=275848 TEST=LayoutTests/fast/dom/Range/range-on-detached-node.html, LayoutTests/fast/dom/Range/surroundContents-for-detached-node.html R=mkwst@chromium.org, tkent@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156752

Patch Set 1 #

Total comments: 4

Patch Set 2 : 2013-08-27T11:16:22 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -62 lines) Patch
M LayoutTests/fast/dom/Range/range-exceptions-expected.txt View 1 chunk +0 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/fast/dom/Range/range-on-detached-node.html View 1 chunk +34 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/Range/range-on-detached-node-expected.txt View 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/Range/resources/intersectsNode.js View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/Range/script-tests/range-exceptions.js View 1 chunk +0 lines, -6 lines 0 comments Download
A LayoutTests/fast/dom/Range/surroundContents-for-detached-node.html View 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/Range/surroundContents-for-detached-node-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/dom/Range.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/Range.cpp View 9 chunks +29 lines, -50 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
yosin_UTC9
Could you review this patch? Thanks in advance. This patch is a replacement of https://codereview.chromium.org/23071006/, ...
7 years, 4 months ago (2013-08-26 08:49:38 UTC) #1
Mike West
code change LGTM, but again, please get tkent's signoff since he knows this code better ...
7 years, 4 months ago (2013-08-26 10:03:44 UTC) #2
tkent
lgtm https://codereview.chromium.org/23404003/diff/1/Source/core/dom/Range.h File Source/core/dom/Range.h (right): https://codereview.chromium.org/23404003/diff/1/Source/core/dom/Range.h#newcode159 Source/core/dom/Range.h:159: void checkNodeBA(Node*, ExceptionState&, const char*) const; It's hard ...
7 years, 3 months ago (2013-08-26 22:37:40 UTC) #3
yosin_UTC9
Thanks for reviewing! Committing... https://codereview.chromium.org/23404003/diff/1/Source/core/dom/Range.cpp File Source/core/dom/Range.cpp (right): https://codereview.chromium.org/23404003/diff/1/Source/core/dom/Range.cpp#newcode1172 Source/core/dom/Range.cpp:1172: return; On 2013/08/26 10:03:44, Mike ...
7 years, 3 months ago (2013-08-27 02:18:55 UTC) #4
yosin_UTC9
7 years, 3 months ago (2013-08-27 02:19:44 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r156752 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698