mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
Bug 1321284 - Crash in nsCSSFrameConstructor::GetInsertionPrevSibling when trying to reframe native anonymous content
* Make StyleChildrenIterator skip NAC generated by root element primary frame ancestors. * Add nsINode::GetFlattenedTreeParentNodeForStyle. * Add iterator class to find all restyle roots. NOTE: Parts 1, 2, and "4.2" Tag #1375
This commit is contained in:
parent
cb2b45e472
commit
a03838af22
14 changed files with 226 additions and 35 deletions
|
|
@ -920,6 +920,14 @@ public:
|
|||
*/
|
||||
inline nsINode* GetFlattenedTreeParentNode() const;
|
||||
|
||||
/**
|
||||
* Like GetFlattenedTreeParentNode, but returns null for any native
|
||||
* anonymous content that was generated for ancestor frames of the
|
||||
* root element's primary frame, such as scrollbar elements created
|
||||
* by the root scroll frame.
|
||||
*/
|
||||
inline nsINode* GetFlattenedTreeParentNodeForStyle() const;
|
||||
|
||||
/**
|
||||
* Get the parent nsINode for this node if it is an Element.
|
||||
* @return the parent node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue