I fixed this a while ago in XML, and peterv made it so that dynamically adding XHTML style element to an XML document will apply the style rules correctly. I do not know if this has been implemented for XUL (or if it even should work). If it does not work, but should, I believe it should be trivial to add the support. This grew out from bug 71151. The URL contains a testcase but I do not know if that is correct. In any case, the testcase will not work as is until bug 82022 is fixed.
->heikki, Hyatt sez yes, this should work in XUL, but that when the content sinks are unified, this should be supported.
Assignee: hyatt → heikki
Content sink unification will have to wait. This could be done easily in XUL, but that is not my area/interest. Futuring for now, feel free to take & fix.
Target Milestone: --- → Future
Again, a content sink issue....
I've been using xhtml style elements in my xul quite a lot with no problems. Is this now fixed? The testcase url doesnt seem to work, but that uses the html namespace, not xhtml.
Yeah, this worksforme.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.