mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
Bug 1375513 Part 1 - Support non-chrome XBL bindings with stylesheets for stylo. r=heycam
MozReview-Commit-ID: bclwwk6uzI --HG-- extra : rebase_source : 1dcbc7ef2f482333991e3bce1cf18ee5924c2740
This commit is contained in:
parent
84841ecdaf
commit
322430d9e4
@ -268,6 +268,13 @@ nsXBLResourceLoader::NotifyBoundElements()
|
||||
}
|
||||
|
||||
if (!sc) {
|
||||
if (shell->StyleSet()->IsServo()) {
|
||||
// Ensure the element has servo data so that
|
||||
// nsChangeHint_ReconstructFrame posted by
|
||||
// PostRecreateFramesFor() is recognized.
|
||||
shell->StyleSet()->GetAsServo()->StyleNewlyBoundElement(
|
||||
content->AsElement());
|
||||
}
|
||||
shell->PostRecreateFramesFor(content->AsElement());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user