- From: Kaustubh Atrawalkar <kaustubh@motorola.com>
- Date: Fri, 23 Sep 2011 11:46:00 +0530
Hi, Reference - http://www.whatwg.org/specs/web-apps/current-work/#attr-fe-autofocus Here there is mentioned that ""Queue a task that checks to see if the element is focusable, and if so, runs the focusing steps for that element. User agents may also change the scrolling position of the document, or perform some other action that brings the element to the user's attention." As per this statement, every focus-able element should be autofocus-able. Does this applies to readonly input elements as well? There are no as such concrete use cases though, one use case can be if user want to get the element in focus (may be by scrolling the page on load). Currently, Firefox & Opera does focus the readonly elements on autofocus whereas IE & Webkit does not. Need to clear the ambiguity. Thanks & Regards -- Kaustubh Atrawalkar
Received on Thursday, 22 September 2011 23:16:00 UTC