mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
Fix bug 399219. r=roc, sr=neil, a=roc
This commit is contained in:
parent
590bb58ae4
commit
05edb8f1b8
@ -8807,13 +8807,10 @@ PRBool NotifyListBoxBody(nsPresContext* aPresContext,
|
||||
nsIAtom* tag =
|
||||
aDocument->BindingManager()->ResolveTag(aContainer, &namespaceID);
|
||||
|
||||
// Just ignore tree tags, anyway we don't create any frames for them.
|
||||
if (aContainer->GetParent() &&
|
||||
(tag == nsGkAtoms::treechildren ||
|
||||
tag == nsGkAtoms::treeitem ||
|
||||
tag == nsGkAtoms::treerow ||
|
||||
(namespaceID == kNameSpaceID_XUL && aUseXBLForms &&
|
||||
ShouldIgnoreSelectChild(aContainer))))
|
||||
// XBL form control cruft... should that really be testing that the
|
||||
// namespace is XUL? Seems odd...
|
||||
if (aUseXBLForms && aContainer->GetParent() &&
|
||||
namespaceID == kNameSpaceID_XUL && ShouldIgnoreSelectChild(aContainer))
|
||||
return PR_TRUE;
|
||||
|
||||
return PR_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user