mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Issue #3017 - Shadow boundaries not accounted for in nsFrameManager.
This commit is contained in:
parent
1644733848
commit
74698b4560
3 changed files with 131 additions and 51 deletions
|
|
@ -1652,6 +1652,9 @@ private:
|
|||
ParserHasNotified,
|
||||
// Sets if the node is apz aware or we have apz aware listeners.
|
||||
MayBeApzAware,
|
||||
// Set if this node has at some point (and may still have)
|
||||
// display:none or display:contents children.
|
||||
NodeMayHaveChildrenWithLayoutBoxesDisabled,
|
||||
// Guard value
|
||||
BooleanFlagCount
|
||||
};
|
||||
|
|
@ -1790,6 +1793,20 @@ public:
|
|||
{
|
||||
return GetBoolFlag(MayBeApzAware);
|
||||
}
|
||||
|
||||
void SetMayHaveChildrenWithLayoutBoxesDisabled()
|
||||
{
|
||||
SetBoolFlag(NodeMayHaveChildrenWithLayoutBoxesDisabled);
|
||||
}
|
||||
void UnsetMayHaveChildrenWithLayoutBoxesDisabled()
|
||||
{
|
||||
ClearBoolFlag(NodeMayHaveChildrenWithLayoutBoxesDisabled);
|
||||
}
|
||||
bool MayHaveChildrenWithLayoutBoxesDisabled() const
|
||||
{
|
||||
return GetBoolFlag(NodeMayHaveChildrenWithLayoutBoxesDisabled);
|
||||
}
|
||||
|
||||
protected:
|
||||
void SetParentIsContent(bool aValue) { SetBoolFlag(ParentIsContent, aValue); }
|
||||
void SetIsInDocument() { SetBoolFlag(IsInDocument); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue