Closed
Bug 528881
Opened 16 years ago
Closed 6 years ago
AddBinding doesn't render content
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: asaf, Unassigned)
Details
Applying a binding using document.addBinding does not layout the binding's content (anonymous and children). The elements do show up in the DOM (and you can see the anonymous content in the DOMi), but they're not rendered.
Note that forcing a simple reflow (for example, by getBoundingRect) does not render the content. One needs to actually hide and unhide the element.
Comment 1•16 years ago
|
||
Is this a chrome binding (so it's sync-loading)? Does adding this:
aContent->GetOwnerDoc()->GetPrimaryShell()->RecreateFramesFor(aContent);
to the |if (binding)| block at the end of nsBindingManager::AddLayeredBinding make the problem go away?
Comment 2•16 years ago
|
||
Actually, this wouldn't work for the non-chrome case either... It's not clear how to make it work sanely for that case, in fact.
| Reporter | ||
Comment 3•16 years ago
|
||
It's a chrome binding indeed.
Comment 4•6 years ago
|
||
XBL is now disabled in Firefox (Bug 1583314) and is in the process of being removed from Gecko (Bug 1566221), so closing bugs requesting changes to its implementation as wontfix.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•