[Webkit-unassigned] [Bug 65361] background color affects the font color in disabled textarea
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 30 00:09:03 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=65361
Vineet Chaudhary (vineetc) <rgf748 at motorola.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rgf748 at motorola.com
--- Comment #3 from Vineet Chaudhary (vineetc) <rgf748 at motorola.com> 2011-09-30 00:09:03 PST ---
(In reply to comment #2)
> (From update of attachment 109005 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=109005&action=review
>
> Checking specifically for the Color::transparent value is not right. The right way to check that something is transparent is to check its alpha channel only, not to explicitly check for a particular RGB as well as alpha. We could have a minimum alpha value. It's a good insight, though, that difference from white is meaningless for a transparent or mostly transparent color.
>
> To refine the rule, I’m not sure if simply using lightening unconditionally is the right way to handle a transparent or translucent background color. It seems we’d want to figure out the likely color from behind the text to have a good chance of getting the behavior right.
Yes we should check for backgroundColor.alpha() while setting the textColor, as below
backgroundColor.alpha() < 0.5 (0.5 or a value which we decide upon.)
Please provide your thought.
>
> > Source/WebCore/ChangeLog:10
> > + No new tests. (OOPS!)
>
> Bug fixes need to come with test cases. That includes this one.
--
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