[Webkit-unassigned] [Bug 117405] [EFL]Background Style of element not visible because of default theme style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 29 21:35:11 PDT 2013


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





--- Comment #26 from Ryuan Choi <ryuan.choi at samsung.com>  2013-08-29 21:34:32 PST ---
(In reply to comment #23)
> (From update of attachment 209955 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=209955&action=review
> 
> >> Source/WebCore/platform/efl/DefaultTheme/widget/combo/combo.edc:35
> >> +        image: "widget/combo/combo_press_button_styled.png" COMP;
> > 
> > Why do you only add these for press state ?
> > 
> > I think that we also need normal (at least).
> 
> sorry, combo_styled.png would have better name here.
> 
> Actually there are 4 state(hover/focus/press/default) and 4 image change.
> When background color is specified I am going for only 1 state as there is not much display difference.
> To manipulate the state in background color also I need to double the behaviour in the combo.edc again 
> for 4 new states images.
> so after your comment i have 3 choice in case of styled combo:
> 1.No state.
> 2.Only default(normal).
> 3. All 4 state 
> If 2nd option is ok I would like  go ahead.
> 

maybe, 5 states for combo theme now. (you looks missing disabled).

Our default combo theme draw them as three styles, now.
(pressed,hover,focus are quite similar for default theme)
I know that we need to improve them, but it's not related to your bug.

So, you may need to add at least three descriptions and two images.

> >> Source/WebCore/platform/efl/DefaultTheme/widget/combo/combo.edc:331
> >> +        }
> > 
> > Like other signals, we can use show() to change state.
> 
> So again How many state change is enough (0 or 1 or all 4)

When we got new signals, we should also consider other signals.
So we'd better to centralize changes to show().

> 
> >> Source/WebCore/platform/efl/RenderThemeEfl.cpp:379
> >> +    bool bgStyled = object && object->hasBackground() && object->style()->visitedDependentColor(CSSPropertyBackgroundColor) != Color::white;
> > 
> > I am not sure, but I didn't see this coding style in WebKit.
> 
> Hmm, will check for something better. probably can use RenderTheme::isControlStyled.

-- 
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