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

Issue 2760953003: Mark shadow root layout tree for rebuilding from style recalc. (Closed)

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

Description

Mark shadow root layout tree for rebuilding from style recalc. The shadow root is added with NeedsReattachStyleChange. Let style recalc translate that into a setNeedsReattachLayoutTree() instead of doing it as part of the DOM operation. This is a step towards marking nodes for layout tree rebuilding from style recalc only. If we can make this an invariant, we can take advantage of the fact that the flat-tree cannot change between marking and the actual rebuild. R=nainar@chromium.org,esprehn@chromium.org BUG=595137

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp View 1 chunk +4 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (5 generated)
esprehn
Can you explain how having the flat tree not be able to change between then ...
3 years, 9 months ago (2017-03-20 23:12:08 UTC) #3
rune
On 2017/03/20 23:12:08, esprehn wrote: > Can you explain how having the flat tree not ...
3 years, 9 months ago (2017-03-20 23:20:08 UTC) #4
esprehn
On 2017/03/20 at 23:20:08, rune wrote: > On 2017/03/20 23:12:08, esprehn wrote: > > Can ...
3 years, 9 months ago (2017-03-20 23:31:59 UTC) #5
rune
On 2017/03/20 23:31:59, esprehn wrote: > On 2017/03/20 at 23:20:08, rune wrote: > > On ...
3 years, 9 months ago (2017-03-21 01:22:11 UTC) #8
rune
On 2017/03/21 01:22:11, rune wrote: > Very much work in progress: > > https://docs.google.com/document/d/1CFk5_3Gx8bPSsKdJ2twZhceUIrtySasdsij9t1niN6I/edit?usp=sharing > ...
3 years, 9 months ago (2017-03-21 22:41:48 UTC) #9
rune
3 years, 9 months ago (2017-03-22 08:18:20 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698