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

Issue 2749033006: Handle fallback content case in FlatTreeTraversal::traverseSiblings() (Closed)

Created:
3 years, 9 months ago by kochi
Modified:
3 years, 9 months ago
Reviewers:
hayato
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle fallback content case in FlatTreeTraversal::traverseSiblings() FlatTreeTraversal::nextSibling()/previousSibling() didn't handle fallback content (nodes in <slot> where nothing is distributed). This CL adds fallback content handling and a unit test case. BUG=683776 Review-Url: https://codereview.chromium.org/2749033006 Cr-Commit-Position: refs/heads/master@{#457399} Committed: https://chromium.googlesource.com/chromium/src/+/b1c7a1d78f6c79f18f1686014a81b86abfb38806

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address hayato's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -0 lines) Patch
M third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp View 1 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversalTest.cpp View 1 1 chunk +100 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
kochi
PTAL
3 years, 9 months ago (2017-03-16 07:33:09 UTC) #4
hayato
Nice catch. https://codereview.chromium.org/2749033006/diff/1/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp File third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp (right): https://codereview.chromium.org/2749033006/diff/1/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp#newcode137 third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp:137: if (node.isInV1ShadowTree()) { Instead of this early ...
3 years, 9 months ago (2017-03-16 09:32:56 UTC) #7
kochi
Thanks for the review! PTAL. https://codereview.chromium.org/2749033006/diff/1/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp File third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp (right): https://codereview.chromium.org/2749033006/diff/1/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp#newcode137 third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp:137: if (node.isInV1ShadowTree()) { On ...
3 years, 9 months ago (2017-03-16 10:09:54 UTC) #8
hayato
lgtm
3 years, 9 months ago (2017-03-16 10:24:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749033006/20001
3 years, 9 months ago (2017-03-16 10:27:47 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 12:04:36 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b1c7a1d78f6c79f18f1686014a81...

Powered by Google App Engine
This is Rietveld 408576698