Closed
Bug 300609
Opened 19 years ago
Closed 19 years ago
wrong result of index() function when hit <trigger appearance="minimal"> inside <repeat>
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: spsh, Assigned: allan)
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8b2) Gecko/20050706 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8b2) Gecko/20050706 Firefox/1.0+ index() function not works properly when used in trigger with appearance="minimal" inside repeat construction. It always return '1'. Reproducible: Always Steps to Reproduce: 1. Open attached sample in browser. 2. Hit on button 2 and close dialog box 3. Hit on label 2 and close dialog box Actual Results: First dialog box show 2 and second dialog box show 1 Expected Results: Both dialog box should show 2 I use Mozilla XForms 0.2
| Assignee | ||
Comment 2•19 years ago
|
||
Confirmed. I wonder why...
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Updated•19 years ago
|
Attachment #189170 -
Attachment mime type: application/xml → application/xhtml+xml
| Assignee | ||
Comment 3•19 years ago
|
||
(In reply to comment #2) > Confirmed. I wonder why... I think the reason is that the minimal trigger does not get focussed when you click on it -> the repeat row does not get focus either -> the index is not changed I guess all triggers should either get focus or not, but giving focus to a <span> (which the minimal trigger is)?
| Assignee | ||
Comment 4•19 years ago
|
||
Sets tabindex="0" for minimal trigger so it is focusable, and you can tab your way to it, which makes sense for triggers IMHO.
| Assignee | ||
Updated•19 years ago
|
Updated•19 years ago
|
Attachment #192081 -
Flags: review?(smaug)
Attachment #192081 -
Flags: review?(doronr)
Attachment #192081 -
Flags: review+
Updated•19 years ago
|
Attachment #192081 -
Flags: review?(doronr) → review+
| Assignee | ||
Comment 5•19 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
OS: Windows Server 2003 → All
Hardware: PC → All
Resolution: --- → FIXED
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
•