Closed
Bug 314158
Opened 19 years ago
Closed 19 years ago
select(1) fails to bind item labels correctly
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronr, Assigned: doronr)
Details
(Keywords: fixed1.8.0.2, fixed1.8.1)
Attachments
(2 files, 1 obsolete file)
I noticed that after I wrote this testcase for select and select1 that the labels didn't show up and that it gave off warnings in nsXFormsUtils::GetNodeValue. It looks like that instead of the labels binding to the description node, they bind to the document and are returning a nodeType of nsIDOMNode::DOCUMENT_NODE which we don't expect. Testcase coming.
Should see a select1 with Vanilla, Strawberry and Chocolate as items.
Assignee | ||
Comment 2•19 years ago
|
||
Assignee | ||
Comment 3•19 years ago
|
||
Issue is simple - itemset/repeat were passing in a domElement to ->SetContext. However, a attribute node is not a dom element, and thus the QI from dom node to dom element failed.
Attachment #201549 -
Flags: review?(smaug)
Updated•19 years ago
|
Attachment #201549 -
Flags: review?(smaug) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #201549 -
Flags: review?(aaronr)
Attachment #201549 -
Flags: review?(aaronr) → review+
checked into MOZILLA_1_8_BRANCH via bug 323691. Leaving open for now until it gets into 1.8.0
Updated•19 years ago
|
Whiteboard: xf-to-branch
Updated•19 years ago
|
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•