Changes between Initial Version and Version 2 of Ticket #10394


Ignore:
Timestamp:
Nov 25, 2009, 3:09:50 AM (10 years ago)
Author:
bill
Comment:

I guess this is a regression from the refactor to base ComboButton on _HasDropDown?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10394

    • Property Cc Nathan Toone added
    • Property Summary changed from ComboButton: Can not determine focus in high contrast on drop down menu with 2 items in FF to [regression] ComboButton: Can not determine focus in high contrast on drop down menu with 2 items in FF
  • Ticket #10394 – Description

    initial v2  
    1010
    1111{{{
    12    var mb = dojo.marginBox(ddNode);
    13    var overHeight = (this.maxHeight && mb.h > this.maxHeight);
    14    dojo.style(ddNode, {overflow: overHeight ? "auto" : "hidden"});
     12var mb = dojo.marginBox(ddNode);
     13var overHeight = (this.maxHeight && mb.h > this.maxHeight);
     14dojo.style(ddNode, {overflow: overHeight ? "auto" : "hidden"});
    1515}}}
    1616
     
    1919Another option to fix this problem is to draw the focus border around the text item as is done in IE using this style:
    2020 {{{
    21         .dj_ie .dijit_a11y .dijitMenuItemSelected .dijitMenuItemLabel {
     21 .dj_ie .dijit_a11y .dijitMenuItemSelected .dijitMenuItemLabel {
    2222        border-width: 1px;
    2323        border-style: solid;
    24         }
     24 }
    2525}}}