mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Fix problem where you cannot set or remove the focus on a textfield using JS call focus() or blur(). Now with this fix, we may have another bug showing up that don't let you tab outside the field. hyatt has a bug filed for that. R=hyatt.
This commit is contained in:
parent
9e1fe42e0f
commit
2b4f305183
@ -276,8 +276,8 @@
|
||||
onget="return this.anonymousContent[0].firstChild.readonly;"/>
|
||||
</interface>
|
||||
<handlers>
|
||||
<handler type="focus" value="this.setAttribute('focused','true');"/>
|
||||
<handler type="blur" value="this.removeAttribute('focused');"/>
|
||||
<handler type="focus" value="this.setAttribute('focused','true'); this.anonymousContent[0].firstChild.focus();"/>
|
||||
<handler type="blur" value="this.removeAttribute('focused'); this.anonymousContent[0].firstChild.blur();"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user