Closed
Bug 348830
Opened 19 years ago
Closed 15 years ago
text-nodes inside a XUL element in a XHTML document break XBL bindings
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 183641
People
(Reporter: asaf, Unassigned)
References
Details
Attachments
(1 file)
989 bytes,
application/vnd.mozilla.xul+xml
|
Details |
While working on bug 346009, I noticed some issues related to text-nodes inside XUL code in a XHTML document.
First, at least with the menupopup binding, once text-nodes are included in the subtree of the dom element, e.g.:
<xul:menupopup>
<xul:menuitem/>
</xul:menupopup>
the childNodes subtree of the element apparently includes the binding anonymous content and the text nodes.
Second, I've seen semi-random spacing changes between the XUL elements when I tabbed to and out of the menulist.
![]() |
||
Comment 1•19 years ago
|
||
> the childNodes subtree of the element apparently includes the binding anonymous
> content
Er... that's really wacky. Post a testcase?
![]() |
||
Comment 2•18 years ago
|
||
Still waiting for that testcase...
Could this just be bindings that depend on the XUL content sink's behavior of stripping whitespace?
![]() |
||
Comment 4•17 years ago
|
||
The bug as originally filed, absolutely. I just wanted a testcase that showed anonymous content appearing in the childNodes of a bound element, as described in comment 0. That should absolutely not be happening.
Comment 5•17 years ago
|
||
I wonder if bug 183641 is a dupe of this.
![]() |
||
Comment 6•17 years ago
|
||
Probably, yes. Or rather vice versa...
Comment 8•16 years ago
|
||
Use javascript to import a button Node type=menu with <popupmenmu/>, and no label is displayed
Comment 9•16 years ago
|
||
Comment on attachment 340493 [details]
a short testcase of the bug
Interesting that you can tab through the widgets once, and then never again.
Comment 10•16 years ago
|
||
Note that this bug does not only affect Mac OS X,but Windows XP also.
![]() |
||
Comment 11•16 years ago
|
||
If people can't put up a testcase addressing the question in comment 4, this should just be marked a duplicate of bug 183641 so people stop wasting time on this bug.
Making it so due to lack of response.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•