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

Issue 133213008: Either content elements or shadow elements should not be treated as insertion points if they are no… (Closed)

Created:
6 years, 10 months ago by hayato
Modified:
6 years, 10 months ago
Reviewers:
Hajime Morrita, esprehn, dglazkov
CC:
blink-reviews, arv+blink, webcomponents-bugzilla_chromium.org, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, watchdog-blink-watchlist_google.com, Inactive
Visibility:
Public.

Description

Either content elements or shadow elements should not be treated as insertion points if they are not in document. The relevant spec update: https://github.com/w3c/webcomponents/commit/69fbceabe01786ba3740728a6b86f5ec958f69b4 This behavior is similar to that of styles, which are not calculated for disconnected nodes. This change also makes it possible to add an assertion, ASSERT(shadowRoot), for rootNode of an insertionPoint in InsertionPoint::isActive. BUG=339029 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166647

Patch Set 1 #

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -46 lines) Patch
M LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan.html View 2 chunks +1 line, -25 lines 0 comments Download
M LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt View 1 chunk +1 line, -19 lines 0 comments Download
M Source/core/dom/shadow/InsertionPoint.cpp View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
hayato
This patch is not ready for a review. The patch depends on several patches which ...
6 years, 10 months ago (2014-01-29 08:31:19 UTC) #1
esprehn_google.com
Why do you want to make this change? The distribution system works fine on detached ...
6 years, 10 months ago (2014-01-29 08:44:16 UTC) #2
hayato
On 2014/01/29 08:44:16, esprehn_google.com wrote: > Why do you want to make this change? The ...
6 years, 10 months ago (2014-01-29 08:51:34 UTC) #3
hayato
PTAL. Now the patch is ready for a review.
6 years, 10 months ago (2014-01-31 05:38:29 UTC) #4
hayato
Could someone review this?
6 years, 10 months ago (2014-02-06 10:11:20 UTC) #5
Hajime Morrita
lgtm.
6 years, 10 months ago (2014-02-06 19:21:31 UTC) #6
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 10 months ago (2014-02-06 19:21:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hayato@chromium.org/133213008/20001
6 years, 10 months ago (2014-02-06 19:21:41 UTC) #8
commit-bot: I haz the power
Change committed as 166647
6 years, 10 months ago (2014-02-06 19:56:09 UTC) #9
esprehn_google.com
This patch doesn't seem right, now event dispatch is all busted inside detached trees that ...
6 years, 10 months ago (2014-02-08 23:14:43 UTC) #10
hayato
Thank you. Could you see the comment in the spec bug? https://www.w3.org/Bugs/Public/show_bug.cgi?id=24421#c3 I am afraid ...
6 years, 10 months ago (2014-02-10 03:45:15 UTC) #11
hayato
6 years, 10 months ago (2014-02-10 05:20:14 UTC) #12
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/156653004/ by hayato@chromium.org.

The reason for reverting is: This patch might cause inconsistency between
Polyfill and native Shadow DOM. It might be better to revert this patch until we
have clear consensus for this change..

Powered by Google App Engine
This is Rietveld 408576698