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

Issue 23874007: Rename AttachBehavior to RecalcStyleBehavior (Closed)

Created:
7 years, 3 months ago by esprehn
Modified:
7 years, 3 months ago
Reviewers:
pdr., eseidel, ojan
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Rename AttachBehavior to RecalcStyleBehavior This patch rename the enum and makes editing trigger a recalcStyle using the new enum value DeprecatedRecalcStyleImmediatlelyForEditing. This will be slower, but editing causes so many recalc styles and does so much work already I don't think this is going to be an issue. This means we now lazy attach everywhere. BUG=276689 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157355

Patch Set 1 #

Patch Set 2 : Finish #

Patch Set 3 : Rename DeprecatedRecalcStyleImmediatlelyForEditing #

Patch Set 4 : Add asserts and remove whitespace logic in Node::attach #

Patch Set 5 : Only change assert, delete code in a different patch #

Patch Set 6 : Fix enum usage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -42 lines) Patch
M Source/core/dom/CharacterData.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M Source/core/dom/CharacterData.cpp View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/dom/ContainerNode.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/ContainerNode.cpp View 1 2 5 chunks +6 lines, -9 lines 0 comments Download
M Source/core/dom/Node.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/dom/Text.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Text.cpp View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M Source/core/editing/DeleteFromTextNodeCommand.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/InsertIntoTextNodeCommand.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/SplitTextNodeCommand.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/parser/HTMLConstructionSite.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
esprehn
7 years, 3 months ago (2013-09-04 07:25:30 UTC) #1
ojan
I'm not sure this is the right direction to take things. What do you envision ...
7 years, 3 months ago (2013-09-04 18:05:12 UTC) #2
ojan
As discussed in person, lets go ahead with a cleaned up version of this once ...
7 years, 3 months ago (2013-09-04 21:07:23 UTC) #3
esprehn
On 2013/09/04 21:07:23, ojan wrote: > As discussed in person, lets go ahead with a ...
7 years, 3 months ago (2013-09-06 00:25:57 UTC) #4
eseidel
lgtm
7 years, 3 months ago (2013-09-06 04:08:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/23874007/16001
7 years, 3 months ago (2013-09-06 04:08:59 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-06 04:28:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/23874007/28001
7 years, 3 months ago (2013-09-06 06:14:29 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 07:17:51 UTC) #9
Message was sent while issue was closed.
Change committed as 157355

Powered by Google App Engine
This is Rietveld 408576698