mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 04:41:54 +00:00
Bug 880854. When attaching XBL bindings to elements in a static document, sync-load the bindings document so that delayed changes to the shadow DOM don't mess up, for example, printing. r=mrbkap
--HG-- extra : rebase_source : 283ce66e7659b8ac9d8c5dc08d52b0f5a79452fb
This commit is contained in:
parent
50634577d5
commit
67635e3f83
@ -901,6 +901,10 @@ nsXBLService::LoadBindingDocumentInfo(nsIContent* aBoundElement,
|
||||
if (aBoundDocument) {
|
||||
bindingManager = aBoundDocument->BindingManager();
|
||||
info = bindingManager->GetXBLDocumentInfo(documentURI);
|
||||
if (aBoundDocument->IsStaticDocument() &&
|
||||
IsChromeOrResourceURI(aBindingURI)) {
|
||||
aForceSyncLoad = true;
|
||||
}
|
||||
}
|
||||
|
||||
nsINodeInfo *ni = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user