Don't restyle slow selectors for changes to anonymous content (non-native-anonymous). (Bug 436453) r+sr=bzbarsky
This commit is contained in:
@@ -4635,7 +4635,7 @@ PresShell::CharacterDataChanged(nsIDocument *aDocument,
|
||||
nsIContent *container = aContent->GetParent();
|
||||
PRUint32 selectorFlags =
|
||||
container ? (container->GetFlags() & NODE_ALL_SELECTOR_FLAGS) : 0;
|
||||
if (selectorFlags != 0 && !aContent->IsRootOfNativeAnonymousSubtree()) {
|
||||
if (selectorFlags != 0 && !aContent->IsRootOfAnonymousSubtree()) {
|
||||
PRUint32 index;
|
||||
if (aInfo->mAppend &&
|
||||
container->GetChildAt((index = container->GetChildCount() - 1)) ==
|
||||
|
||||
Reference in New Issue
Block a user