mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-20 11:23:07 +09:00
Bug 1332353 - Make it clearer when a stylesheet is really owned by its mDocument
Tag #1375
This commit is contained in:
parent
db34da8e01
commit
5d444ef68a
13 changed files with 83 additions and 38 deletions
|
|
@ -267,7 +267,7 @@ nsDOMCSSDeclaration::GetCSSParsingEnvironmentForRule(css::Rule* aRule,
|
|||
return;
|
||||
}
|
||||
|
||||
nsIDocument* document = sheet->GetOwningDocument();
|
||||
nsIDocument* document = sheet->GetAssociatedDocument();
|
||||
aCSSParseEnv.mSheetURI = sheet->GetSheetURI();
|
||||
aCSSParseEnv.mBaseURI = sheet->GetBaseURI();
|
||||
aCSSParseEnv.mPrincipal = sheet->Principal();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue