PDA

View Full Version : [UNKNOWN][3.??] Disabled buttons receive focus in Firefox



greglargen
10 Jan 2010, 9:14 PM
Ext version tested:

Ext 3.1


Adapter used:

ext


css used:

only default ext-all.css



Browser versions tested against:

FF3 (firebug 1.3.0.10 installed)
FF3.5 (firebug 1.3.0.10 installed)


Operating System:

WinXP Pro


Description:

Buttons that are disabled can have the focus set to them in Firefox 3 and Firefox 3.5. Does not occur for IE7 or IE8.

Test Case:

See ExtJS samples website for Toolbars and Menus, Ext Actions sample. HTML page copied below.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Actions</title> <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css (http://www.extjs.com/forum/view-source:http://www.extjs.com/deploy/dev/resources/css/ext-all.css)" /> <script src="http://www.google-analytics.com/urchin.js (http://www.extjs.com/forum/view-source:http://www.google-analytics.com/urchin.js)" type="text/javascript"> </script><script type="text/javascript">_uacct = "UA-1396058-1";urchinTracker();</script> <!-- LIBS --> <script type="text/javascript" src="../../adapter/ext/ext-base.js (http://www.extjs.com/forum/view-source:http://www.extjs.com/deploy/dev/adapter/ext/ext-base.js)"></script> <!-- ENDLIBS --> <script type="text/javascript" src="../../ext-all.js (http://www.extjs.com/forum/view-source:http://www.extjs.com/deploy/dev/ext-all.js)"></script> <script type="text/javascript" src="actions.js (http://www.extjs.com/forum/view-source:http://www.extjs.com/deploy/dev/examples/menu/actions.js)"></script> <link rel="stylesheet" type="text/css" href="menus.css (http://www.extjs.com/forum/view-source:http://www.extjs.com/deploy/dev/examples/menu/menus.css)" /> <!-- Common Styles for the examples --> <link rel="stylesheet" type="text/css" href="../shared/examples.css (http://www.extjs.com/forum/view-source:http://www.extjs.com/deploy/dev/examples/shared/examples.css)" /></head><body><script type="text/javascript" src="../shared/examples.js (http://www.extjs.com/forum/view-source:http://www.extjs.com/deploy/dev/examples/shared/examples.js)"></script><!-- EXAMPLES --><h1>Using Ext.Action</h1><p>Actions let you share handlers, configuration and updates across Toolbar, Button and Menu components.</p><p>The js is not minified so it is readable. See <a href="actions.js (http://www.extjs.com/forum/view-source:http://www.extjs.com/deploy/dev/examples/menu/actions.js)">actions.js</a>.</p></body></html> See this URL : http://www.extjs.com/products/extjs/



Steps to reproduce the problem:

Open http://www.extjs.com/products/extjs/ in firefox.
Select Toolbars and Menus.
Select Ext Actions sample.
Select Disable from the menu.
Tab until focus is on the Action 1 button in page.


The result that was expected:

Focus set to the next enabled control


The result that occurs instead:

Button has focus.


Screenshot or Video:


See attachment.


Debugging already done:

none


Possible fix:

not provided