mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
Bug 1413619 - Fix insertion point computation when display: contents pseudos are involved.
Tag #1375
This commit is contained in:
parent
9b5061e795
commit
5b1452e120
10 changed files with 192 additions and 243 deletions
|
|
@ -80,7 +80,7 @@ public:
|
|||
void Destroy();
|
||||
|
||||
// Mapping undisplayed content
|
||||
nsStyleContext* GetUndisplayedContent(nsIContent* aContent)
|
||||
nsStyleContext* GetUndisplayedContent(const nsIContent* aContent)
|
||||
{
|
||||
if (!mUndisplayedMap) {
|
||||
return nullptr;
|
||||
|
|
@ -105,7 +105,7 @@ public:
|
|||
/**
|
||||
* Return the registered display:contents style context for aContent, if any.
|
||||
*/
|
||||
nsStyleContext* GetDisplayContentsStyleFor(nsIContent* aContent)
|
||||
nsStyleContext* GetDisplayContentsStyleFor(const nsIContent* aContent)
|
||||
{
|
||||
if (!mDisplayContentsMap) {
|
||||
return nullptr;
|
||||
|
|
@ -185,7 +185,7 @@ public:
|
|||
nsILayoutHistoryState* aState);
|
||||
protected:
|
||||
static nsStyleContext* GetStyleContextInMap(UndisplayedMap* aMap,
|
||||
nsIContent* aContent);
|
||||
const nsIContent* aContent);
|
||||
static mozilla::UndisplayedNode*
|
||||
GetAllUndisplayedNodesInMapFor(UndisplayedMap* aMap,
|
||||
nsIContent* aParentContent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue