diff options
author | Jeremy Andrews <athenian200@outlook.com> | 2021-10-11 18:04:47 -0500 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 15:00:11 +0200 |
commit | c56023163bd63cf7dcbb8fb87a05876b11669bcd (patch) | |
tree | ad04a6d81f1e2b5864208adf8e12b639b9925ff8 /dom/base/nsINode.h | |
parent | 1caa678592ac5c372975bdaa24ce01b470349b1f (diff) | |
download | uxp-c56023163bd63cf7dcbb8fb87a05876b11669bcd.tar.gz |
Issue #1832 - Account for shadow boundaries in nsFrameManager.
Resolves #1832
Diffstat (limited to 'dom/base/nsINode.h')
-rw-r--r-- | dom/base/nsINode.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/base/nsINode.h b/dom/base/nsINode.h index 1599a0094f..1d580540f8 100644 --- a/dom/base/nsINode.h +++ b/dom/base/nsINode.h @@ -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); } |