Closed Bug 933697 Opened 11 years ago Closed 11 years ago

HTML5 autofocus attribute ignored on creation of new elements

Categories

(Core :: DOM: Core & HTML, defect)

25 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 662496

People

(Reporter: tom1vuu2011, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release)
Build ID: 20131028112446

Steps to reproduce:

1. Create an input text element with autofocus property = true, dynamically after page load.


Actual results:

Did not autofocus.


Expected results:

Should have focused.

This is what happens in Chrome, iOS, and Android browsers. Otherwise I must accomodate for Firefox by manually focusing the box.
Component: Untriaged → DOM
Product: Firefox → Core
Summary: HTML5 autofocus tag ignored on creation of new elements → HTML5 autofocus attribute ignored on creation of new elements
Tom, this seems like the same thing as bug 662496, agreed?  See the lengthy discussion there about how this should or should not behave...
Depends on: 662496
Yes, Boris, it seems like Mounir has just been being an ass and not following specifications.
Mounir has spent a huge amount of time over the last several years helping write the relevant specifications, for what it's worth.  Please keep personal abuse out of Bugzilla just like you'd keep it out of any other professional interactions.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
No longer depends on: 662496
Resolution: --- → DUPLICATE
Thanks Boris for your insightful comments on what I should do with my interactions, but no amount of work on specifications gives someone a pass on effectively blocking an important change to the system.

And, for what it's worth... it's not personal abuse.
Resolution: DUPLICATE → INVALID
Resolution: INVALID → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.