mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=365, disabled controls on vista get hover effect; r=stuart
This commit is contained in:
parent
05ecd33c39
commit
8ffd8d307d
@ -1040,8 +1040,11 @@ nsNativeThemeWin::GetThemePartAndState(nsIFrame* aFrame, PRUint8 aWidgetType,
|
||||
else
|
||||
aPart = CBP_DROPFRAME;
|
||||
|
||||
PRBool isOpen = CheckBooleanAttr(aFrame, nsWidgetAtoms::open);
|
||||
if (isOpen) {
|
||||
if (IsDisabled(aFrame)) {
|
||||
aState = TS_DISABLED;
|
||||
} else if (IsReadOnly(aFrame)) {
|
||||
aState = TS_NORMAL;
|
||||
} else if (CheckBooleanAttr(aFrame, nsWidgetAtoms::open)) {
|
||||
aState = TS_ACTIVE;
|
||||
} else {
|
||||
PRInt32 eventState = GetContentState(aFrame, aWidgetType);
|
||||
|
Loading…
Reference in New Issue
Block a user