mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-07 23:22:43 +00:00
Fix for 17470.
This commit is contained in:
parent
fbcad0bffe
commit
36700f5a07
@ -9827,7 +9827,8 @@ nsCSSFrameConstructor::AttributeChanged(nsIPresContext* aPresContext,
|
||||
nsCOMPtr<nsIAtom> tag;
|
||||
aContent->GetTag(*getter_AddRefs(tag));
|
||||
if (reframe == PR_FALSE && tag && (tag.get() == nsXULAtoms::treechildren ||
|
||||
tag.get() == nsXULAtoms::treeitem))
|
||||
tag.get() == nsXULAtoms::treeitem || tag.get() == nsXULAtoms::treerow ||
|
||||
tag.get() == nsXULAtoms::treecell))
|
||||
return NS_OK;
|
||||
}
|
||||
#endif // INCLUDE_XUL
|
||||
|
@ -9827,7 +9827,8 @@ nsCSSFrameConstructor::AttributeChanged(nsIPresContext* aPresContext,
|
||||
nsCOMPtr<nsIAtom> tag;
|
||||
aContent->GetTag(*getter_AddRefs(tag));
|
||||
if (reframe == PR_FALSE && tag && (tag.get() == nsXULAtoms::treechildren ||
|
||||
tag.get() == nsXULAtoms::treeitem))
|
||||
tag.get() == nsXULAtoms::treeitem || tag.get() == nsXULAtoms::treerow ||
|
||||
tag.get() == nsXULAtoms::treecell))
|
||||
return NS_OK;
|
||||
}
|
||||
#endif // INCLUDE_XUL
|
||||
|
Loading…
x
Reference in New Issue
Block a user