[Webkit-unassigned] [Bug 22202] Outline drawn on disabled elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 02:45:01 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=22202


Antaryami Pandia <antaryami.pandia at motorola.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |antaryami.pandia at motorola.c
                   |                            |om, darin at apple.com,
                   |                            |eric at webkit.org,
                   |                            |simon.fraser at apple.com




--- Comment #2 from Antaryami Pandia <antaryami.pandia at motorola.com>  2012-02-13 02:45:00 PST ---
Adding some webkit reviewers.

The main issues is that webkit focuses element, even if its disabled. I modified the attached test case to verify it:-

<html><head>
<script type="text/javascript">
function setStyle() {
document.getElementById("div1").style.background="yellow"; }

function setStyle1() {
document.getElementById("div2").style.background="red"; }
</script></head>

<body>
<div id="div1" tabIndex="1" onfocus="setStyle()">123456</div >
<div id="div2" tabIndex="1" disabled="true" onfocus="setStyle1()">abcdefg</div >
</body></html>

Currently the disabled attribute is supported only for form control elements. It seems firefox supports "disabled" attributes for all html tags.

1. Is the current webkit behavior is inteded one?
2. Should we support "disabled" attribute for elements other than form controls?

Please provide feedback.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list