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

Issue 395633007: Call ContainerNode::checkForSiblingStyleChanges() for Element insertion / removal only (Closed)

Created:
6 years, 5 months ago by Inactive
Modified:
6 years, 4 months ago
Reviewers:
esprehn
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Project:
blink
Visibility:
Public.

Description

Call ContainerNode::checkForSiblingStyleChanges() for Element insertion / removal only Call ContainerNode::checkForSiblingStyleChanges() for Element insertion / removal only. Other kind of changes (e.g. Text insertion / removal / change) cannot cause sibling style invalidation. This is inspired by WebKit r154957 from antti@apple.com: http://trac.webkit.org/changeset/154957 R=esprehn@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179405

Patch Set 1 #

Patch Set 2 : Clean up #

Patch Set 3 : Fix typo #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : Rename method to isChildElementChange() #

Patch Set 6 : Build fix #

Total comments: 4

Patch Set 7 : Rebase and fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -16 lines) Patch
M Source/core/dom/ContainerNode.h View 1 2 3 4 5 6 2 chunks +28 lines, -2 lines 0 comments Download
M Source/core/dom/ContainerNode.cpp View 1 2 3 4 5 6 6 chunks +12 lines, -11 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/shadow/ShadowRoot.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Inactive
PTAL
6 years, 5 months ago (2014-07-15 17:10:32 UTC) #1
Inactive
ping review?
6 years, 5 months ago (2014-07-23 12:25:11 UTC) #2
Hajime Morrita
On 2014/07/23 12:25:11, Chris Dumez wrote: > ping review? ^^^ Elliott?
6 years, 5 months ago (2014-07-23 16:41:28 UTC) #3
esprehn
Yeah I'll look To unsubscribe from this group and stop receiving emails from it, send ...
6 years, 5 months ago (2014-07-23 16:51:57 UTC) #4
esprehn
https://codereview.chromium.org/395633007/diff/40001/Source/core/dom/ContainerNode.h File Source/core/dom/ContainerNode.h (right): https://codereview.chromium.org/395633007/diff/40001/Source/core/dom/ContainerNode.h#newcode185 Source/core/dom/ContainerNode.h:185: bool isElementChange() const { return type == ElementInserted || ...
6 years, 4 months ago (2014-07-28 22:02:30 UTC) #5
Inactive
https://codereview.chromium.org/395633007/diff/40001/Source/core/dom/ContainerNode.h File Source/core/dom/ContainerNode.h (right): https://codereview.chromium.org/395633007/diff/40001/Source/core/dom/ContainerNode.h#newcode185 Source/core/dom/ContainerNode.h:185: bool isElementChange() const { return type == ElementInserted || ...
6 years, 4 months ago (2014-07-28 22:23:28 UTC) #6
Inactive
I rebased the patch and renamed the method to isChildElementChange(). Hopefully it is clearer. Please ...
6 years, 4 months ago (2014-07-29 14:49:42 UTC) #7
esprehn
lgtm https://codereview.chromium.org/395633007/diff/100001/Source/core/dom/ContainerNode.cpp File Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/395633007/diff/100001/Source/core/dom/ContainerNode.cpp#newcode769 Source/core/dom/ContainerNode.cpp:769: why extra nl? https://codereview.chromium.org/395633007/diff/100001/Source/core/dom/ContainerNode.cpp#newcode790 Source/core/dom/ContainerNode.cpp:790: childrenChanged(ChildrenChange::forInsertion(root, source)); This ...
6 years, 4 months ago (2014-08-01 14:12:26 UTC) #8
Inactive
https://codereview.chromium.org/395633007/diff/100001/Source/core/dom/ContainerNode.cpp File Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/395633007/diff/100001/Source/core/dom/ContainerNode.cpp#newcode769 Source/core/dom/ContainerNode.cpp:769: On 2014/08/01 14:12:26, esprehn wrote: > why extra nl? ...
6 years, 4 months ago (2014-08-01 15:40:08 UTC) #9
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-08-01 15:40:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/395633007/120001
6 years, 4 months ago (2014-08-01 15:41:05 UTC) #11
commit-bot: I haz the power
6 years, 4 months ago (2014-08-01 16:32:19 UTC) #12
Message was sent while issue was closed.
Change committed as 179405

Powered by Google App Engine
This is Rietveld 408576698