DescriptionAdd a scope for disallowing style update when calling hasEditableStyle
Ideally, we would like to ensure clean style when calling hasEditableStyle.
However, there are some code paths calling it with dirty style, and furthermore,
in some situations where style cannot be updated (e.g., InStyleRecalc).
This patch introduces DocumentLifecycle::DisallowStyleRecalcScope. In future
patches, we will apply this scope in those trouble-making code paths, and
make sure that we don't update style in this scope.
BUG=667575
Patch Set 1 #Patch Set 2 : Fri Nov 25 16:44:56 JST 2016 #Patch Set 3 : Add DocumentLifecycle::DisallowStyleRecalcScope #
Total comments: 4
Patch Set 4 : use DISALLOW_COPY_AND_ASSIGN #
Messages
Total messages: 15 (11 generated)
|