mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Issue #2135 - Bug 1438129: Remove ShadowRoot.applyAuthorStyles.
This commit is contained in:
parent
1185cfe3f0
commit
3350af82c2
4 changed files with 2 additions and 31 deletions
|
|
@ -488,25 +488,6 @@ ShadowRoot::Host()
|
|||
return host->AsElement();
|
||||
}
|
||||
|
||||
bool
|
||||
ShadowRoot::ApplyAuthorStyles()
|
||||
{
|
||||
return mProtoBinding->InheritsStyle();
|
||||
}
|
||||
|
||||
void
|
||||
ShadowRoot::SetApplyAuthorStyles(bool aApplyAuthorStyles)
|
||||
{
|
||||
mProtoBinding->SetInheritsStyle(aApplyAuthorStyles);
|
||||
|
||||
nsIPresShell* shell = OwnerDoc()->GetShell();
|
||||
if (shell) {
|
||||
OwnerDoc()->BeginUpdate(UPDATE_STYLE);
|
||||
shell->RecordShadowStyleChange(this);
|
||||
OwnerDoc()->EndUpdate(UPDATE_STYLE);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
ShadowRoot::AttributeChanged(nsIDocument* aDocument,
|
||||
Element* aElement,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue