зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1348073 - Part 2. Enable lazy frame construction for editable regions. r=Ehsan
MozReview-Commit-ID: C92SY2lv8n8 --HG-- extra : rebase_source : 47848b4ec0285991826ecd2bbdd2b5cf692430b3
This commit is contained in:
Родитель
fa46fdd1ad
Коммит
d458d5c295
|
@ -7284,7 +7284,7 @@ nsCSSFrameConstructor::MaybeConstructLazily(Operation aOperation,
|
|||
if (aChild->IsRootOfAnonymousSubtree() ||
|
||||
(aChild->HasFlag(NODE_IS_IN_SHADOW_TREE) &&
|
||||
!aChild->IsInNativeAnonymousSubtree()) ||
|
||||
aChild->IsEditable() || aChild->IsXULElement()) {
|
||||
aChild->IsXULElement()) {
|
||||
return false;
|
||||
}
|
||||
} else { // CONTENTAPPEND
|
||||
|
@ -7293,7 +7293,7 @@ nsCSSFrameConstructor::MaybeConstructLazily(Operation aOperation,
|
|||
for (nsIContent* child = aChild; child; child = child->GetNextSibling()) {
|
||||
NS_ASSERTION(!child->IsRootOfAnonymousSubtree(),
|
||||
"Should be coming through the CONTENTAPPEND case");
|
||||
if (child->IsXULElement() || child->IsEditable()) {
|
||||
if (child->IsXULElement()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче