Open
Bug 183641
Opened 22 years ago
Updated 2 years ago
XUL in XHTML doesn't show up
Categories
(Core :: XUL, defect)
Tracking
()
NEW
People
(Reporter: myk, Unassigned)
References
(Depends on 1 open bug, )
Details
XUL embedded in an XHTML document doesn't appear in the document. The DOM
inspector shows the nodes being in the document, but they don't show up. See
the URL for a test case.
![]() |
||
Comment 1•22 years ago
|
||
This is basically "by design", as a note. XUL stuff really does not work
outside a XUL document...
Reporter | ||
Comment 2•22 years ago
|
||
Last time I talked to hyatt (about six months ago), he said it should work.
Note also that XUL works fine when inserted into an HTML document via XBL, f.e.:
http://www.melez.com/mozilla/xul-in-html/test5.html
Given that, I don't see why it shouldn't work when included in an XML document.
![]() |
||
Comment 3•21 years ago
|
||
> Last time I talked to hyatt (about six months ago), he said it should work.
Nope. The code is simply not written to do it...
> Note also that XUL works fine when inserted into an HTML document via XBL
XBL special-cases XUL. See nsXBLContentSink::CreateElement.
Perhaps the special-casing should move to nsXMLContentSink?
Comment 4•21 years ago
|
||
The XUL content sink is a big booger. We should be keeping whitespace nodes,
like we do for every other kind of XML/HTML doc. Yes, I know this involves
fixing all of our JS code which assumes there are no whitespace nodes... but it
definitely is a goal to have mixed xul/xhtml/mathml/(and SVG as possible),
without having to ship the document with an XUL mimetype.
Updated•17 years ago
|
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•