html template tag does not work on a XUL page
Categories
(Core :: XUL, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: evold, Assigned: bdahl)
References
Details
Attachments
(2 files)
2.62 KB,
patch
|
Details | Diff | Splinter Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Reporter | ||
Comment 1•10 years ago
|
||
Updated•10 years ago
|
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Assignee | ||
Comment 7•7 years ago
|
||
Comment 8•6 years ago
|
||
I would need this too for bug 1520350 and I ended up hack my way out with CDATA ... I guess this will be supported automagically when we convert the XUL files to XHTML?
Comment 9•6 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (please needinfo; no longer work for MoCo) from comment #8)
I would need this too for bug 1520350 and I ended up hack my way out with CDATA ... I guess this will be supported automagically when we convert the XUL files to XHTML?
I don't think it will, at least not for XHTML docs created via the prototype cache (as added in Bug 1527977).
Perhaps PrototypeDocumentContentSink would give us a better starting point for adding support (dealing with stuff like Comment 3). I'm not sure, but it's quite likely we'll want something like this for lazifying markup for the remaining XBL bindings (see discussion in https://phabricator.services.mozilla.com/D24914#729312). Going to needinfo Brendan for when he gets back to see if we have any new options here.
Assignee | ||
Comment 10•6 years ago
|
||
With XHTML the first parse and creation of the prototype document still is done with an XML parser and XUL content sink, so nothing has really changed here.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 11•6 years ago
|
||
Check if the current parent element is an HTML template element and if it
is, append to the document fragment instead of it.
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
bugherder |
Description
•