Closed Bug 327616 Opened 19 years ago Closed 9 years ago

make base binding for focusable controls

Categories

(Core Graveyard :: XForms, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: surkov, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051212 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051212 Firefox/1.6a1 Now all focusable controls realize focus method and handle focus/blur events. Now as far as I know xul and xhtml controls don't fire DOMFocusIn/DOMFocusOut events but specs is asked for http://www.w3.org/TR/2005/PER-xforms-20051006/index-all.html#evt-DOMFocusIn. We need to create base binding which support focus method and DOMFocusIn/DOMFocusOut events firing. Reproducible: Always
Blocks: 327236
Assignee: aaronr → surkov
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
The idea of code dublicating lessing is fine. But I don't see a good way how can I implement it. I guess the focusable base binding should have: 1) method focus() 2) focus/blur event handlers. But problem is that focus() method is property of interface binding, focus/blur handlers are properties of context specific binding (binding for xul or xhtml). It means if I will have focusable interface binding than I should be move focus/blur handlers into interface binding. I don't like it a much.
Status: ASSIGNED → NEW
Does is block anything? Marking it an "enhancement" as I guess it is not.
Severity: normal → enhancement
(In reply to comment #2) > Does is block anything? > I guess no.
No longer blocks: 327236
Assignee: surkov.alexander → xforms
RIP xforms
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.