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 2842263004: Fix assignedNodes({flatten:true}) to return fallback content in document tree (Closed)

Created:
3 years, 7 months ago by kochi
Modified:
3 years, 6 months ago
Reviewers:
hayato
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix assignedNodes({flatten:true}) to return fallback content in document tree BUG=715915, 626703

Patch Set 1 #

Patch Set 2 : Fix. #

Patch Set 3 : Remove layout test (upstreamed to WPT) #

Patch Set 4 : rebase #

Patch Set 5 : Fix TestExpectations #

Patch Set 6 : Remove failure expected.txt. #

Total comments: 4

Patch Set 7 : fix for comments. #

Total comments: 5

Patch Set 8 : Fix for comments. #

Total comments: 1

Patch Set 9 : Rename GetDistributedNodes to GetDistributedNodesExcludingFallback #

Total comments: 9

Patch Set 10 : tentative #

Patch Set 11 : tentative #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -21 lines) Patch
D third_party/WebKit/LayoutTests/external/wpt/shadow-dom/slots-fallback-in-document-expected.txt View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSlotElement.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSlotElement.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +17 lines, -14 lines 0 comments Download

Messages

Total messages: 48 (27 generated)
kochi
PTAL
3 years, 7 months ago (2017-05-08 04:24:08 UTC) #8
kochi
On 2017/05/08 04:24:08, kochi wrote: > PTAL Ping?
3 years, 7 months ago (2017-05-11 04:29:08 UTC) #16
kochi
Oops, I forgot to add a reviewer..
3 years, 7 months ago (2017-05-11 22:10:55 UTC) #18
hayato
https://codereview.chromium.org/2842263004/diff/100001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): https://codereview.chromium.org/2842263004/diff/100001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode140 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:140: if (other.SupportsDistribution()) { Could you avoid if else here? ...
3 years, 7 months ago (2017-05-12 03:19:10 UTC) #19
kochi
https://codereview.chromium.org/2842263004/diff/100001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): https://codereview.chromium.org/2842263004/diff/100001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode140 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:140: if (other.SupportsDistribution()) { On 2017/05/12 03:19:09, hayato wrote: > ...
3 years, 7 months ago (2017-05-12 07:26:33 UTC) #20
kochi
https://codereview.chromium.org/2842263004/diff/100001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): https://codereview.chromium.org/2842263004/diff/100001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode140 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:140: if (other.SupportsDistribution()) { On 2017/05/12 07:26:33, kochi wrote: > ...
3 years, 7 months ago (2017-05-12 07:53:14 UTC) #21
kochi
PTAL
3 years, 7 months ago (2017-05-16 01:57:43 UTC) #22
hayato
https://codereview.chromium.org/2842263004/diff/120001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): https://codereview.chromium.org/2842263004/diff/120001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode140 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:140: const HeapVector<Member<Node>>& other_distributed_nodes = Avoid this temporary vector being ...
3 years, 7 months ago (2017-05-16 04:22:32 UTC) #23
hayato
https://codereview.chromium.org/2842263004/diff/120001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): https://codereview.chromium.org/2842263004/diff/120001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode140 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:140: const HeapVector<Member<Node>>& other_distributed_nodes = On 2017/05/16 at 04:22:32, hayato ...
3 years, 7 months ago (2017-05-16 04:26:44 UTC) #24
hayato
It looks I forgot to see this comment. On 2017/05/12 at 07:53:14, kochi wrote: > ...
3 years, 7 months ago (2017-05-16 04:46:05 UTC) #25
kochi
On 2017/05/16 04:46:05, hayato wrote: > It looks I forgot to see this comment. > ...
3 years, 7 months ago (2017-05-16 05:32:00 UTC) #26
kochi
On 2017/05/16 04:46:05, hayato wrote: > It looks I forgot to see this comment. > ...
3 years, 7 months ago (2017-05-16 06:06:07 UTC) #28
kochi
PTAL https://codereview.chromium.org/2842263004/diff/120001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): https://codereview.chromium.org/2842263004/diff/120001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode140 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:140: const HeapVector<Member<Node>>& other_distributed_nodes = On 2017/05/16 04:26:44, hayato ...
3 years, 7 months ago (2017-05-16 06:06:21 UTC) #29
hayato
https://codereview.chromium.org/2842263004/diff/160001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): https://codereview.chromium.org/2842263004/diff/160001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode84 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:84: HTMLSlotElement::GetDistributedNodesWithFallback() const { The concept of DistributedNodes includes Fallback ...
3 years, 7 months ago (2017-05-16 07:50:07 UTC) #34
kochi
On 2017/05/16 07:50:07, hayato wrote: > https://codereview.chromium.org/2842263004/diff/160001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp > File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): > > https://codereview.chromium.org/2842263004/diff/160001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode84 > ...
3 years, 7 months ago (2017-05-17 06:50:43 UTC) #37
kochi
PTAL
3 years, 7 months ago (2017-05-18 04:30:35 UTC) #41
hayato
https://codereview.chromium.org/2842263004/diff/200001/third_party/WebKit/Source/core/dom/StyleEngine.cpp File third_party/WebKit/Source/core/dom/StyleEngine.cpp (right): https://codereview.chromium.org/2842263004/diff/200001/third_party/WebKit/Source/core/dom/StyleEngine.cpp#newcode874 third_party/WebKit/Source/core/dom/StyleEngine.cpp:874: for (auto& node : slot.GetDistributedNodesExcludingFallback()) { Is this correct? ...
3 years, 7 months ago (2017-05-18 06:58:25 UTC) #42
kochi
https://codereview.chromium.org/2842263004/diff/200001/third_party/WebKit/Source/core/dom/StyleEngine.cpp File third_party/WebKit/Source/core/dom/StyleEngine.cpp (right): https://codereview.chromium.org/2842263004/diff/200001/third_party/WebKit/Source/core/dom/StyleEngine.cpp#newcode874 third_party/WebKit/Source/core/dom/StyleEngine.cpp:874: for (auto& node : slot.GetDistributedNodesExcludingFallback()) { On 2017/05/18 06:58:25, ...
3 years, 7 months ago (2017-05-18 07:21:49 UTC) #43
hayato
https://codereview.chromium.org/2842263004/diff/200001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (left): https://codereview.chromium.org/2842263004/diff/200001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#oldcode79 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:79: DCHECK(!NeedsDistributionRecalc()); Okay. Since it is now private, it can ...
3 years, 7 months ago (2017-05-19 04:05:37 UTC) #44
kochi
https://codereview.chromium.org/2842263004/diff/200001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp File third_party/WebKit/Source/core/html/HTMLSlotElement.cpp (right): https://codereview.chromium.org/2842263004/diff/200001/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp#newcode101 third_party/WebKit/Source/core/html/HTMLSlotElement.cpp:101: HTMLSlotElement::GetDistributedNodesExcludingFallback() { On 2017/05/19 04:05:36, hayato wrote: > We ...
3 years, 7 months ago (2017-05-19 04:14:22 UTC) #45
kochi
3 years, 6 months ago (2017-06-09 04:03:23 UTC) #48
Closing this as upstream spec has been changed.

See https://github.com/whatwg/dom/pull/459

Powered by Google App Engine
This is Rietveld 408576698