mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
Bug 1343937 - Fix a crash in nsWrapperCache.h
* Implement and use GetInFlowParent * Exempt scrollbar NAC from the new NAC semantics Tag #1375
This commit is contained in:
parent
e5725baa34
commit
8e51f64cad
5 changed files with 41 additions and 4 deletions
|
|
@ -950,6 +950,14 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
// Returns true if this element is native-anonymous scrollbar content.
|
||||
bool IsNativeScrollbarContent() const {
|
||||
return IsNativeAnonymous() &&
|
||||
IsAnyOfXULElements(nsGkAtoms::scrollbar,
|
||||
nsGkAtoms::resizer,
|
||||
nsGkAtoms::scrollcorner);
|
||||
}
|
||||
|
||||
// Overloaded from nsINode
|
||||
virtual already_AddRefed<nsIURI> GetBaseURI(bool aTryUseXHRDocBaseURI = false) const override;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue