[Webkit-unassigned] [Bug 115510] New: Disabled textarea with transparent background-color does not render certain grey tones (foreground color) correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 2 03:37:51 PDT 2013


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

           Summary: Disabled textarea with transparent background-color
                    does not render certain grey tones (foreground color)
                    correctly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jens.nehlmeier at carecloud.de


Created an attachment (id=200306)
 --> (https://bugs.webkit.org/attachment.cgi?id=200306&action=review)
Textarea with wrong rendered foreground color

The summary pretty much speaks for itself.

If you do not specify a foreground color for disabled textareas, Webkit will lighten up the current foreground color to visualize the disabled status. 

Adding "background-color:transparent" to such a disabled textarea alters the behavior for certain grey tones. For example "color: #55555;" works as expected but "color: #A0A0A0"  results in nearly white text to be rendered instead of a light grey tone.

So with "background-color:transparent" WebKit does some wrong color calculations during rendering.

I have attached a demo that illustrates the problem. It contains a set of 4 textareas with different foreground colors. This set is repeated 4 times (enabled/disabled with and without background-color:transparent) and in the last set the last two textareas behave wrong (color is too bright).

Discovered using Safari on Mac OS 10.7 & 10.8, as well as Webkit Nightly for Mac.

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