mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
parent
af22b5cba5
commit
d9112daf48
7 changed files with 27 additions and 116 deletions
|
|
@ -7017,19 +7017,6 @@ nsContentUtils::GetHTMLEditor(nsPresContext* aPresContext)
|
|||
return editor;
|
||||
}
|
||||
|
||||
bool
|
||||
nsContentUtils::IsContentInsertionPoint(nsIContent* aContent)
|
||||
{
|
||||
// Check if the content is a XBL insertion point.
|
||||
if (aContent->IsActiveChildrenElement()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Check if the content is a web components content insertion point.
|
||||
// XXX handle <slot>?
|
||||
return false;
|
||||
}
|
||||
|
||||
// static
|
||||
bool
|
||||
nsContentUtils::HasDistributedChildren(nsIContent* aContent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue