[Webkit-unassigned] [Bug 22300] New: Use of NSCalibratedRGBColorSpace for CSS system colors causes layout tests to fail due to screen calibration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 16 20:07:25 PST 2008


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

           Summary: Use of NSCalibratedRGBColorSpace for CSS system colors
                    causes layout tests to fail due to screen calibration
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com


The following layout tests:

fast/forms/disabled-select-change-index.html
fast/forms/file-input-disabled.html
fast/forms/input-text-maxlength.html
fast/forms/input-text-paste-maxlength.html

always fail for me at home because the disabled text control color differs from
the expected:

-            RenderButton {INPUT} at (0,0) size 78x18 [color=#808080]
[bgcolor=#C0C0C0]
+            RenderButton {INPUT} at (0,0) size 78x18 [color=#6D6D6D]
[bgcolor=#C0C0C0]

Deugging shows that for me, 
[[NSColor disabledControlTextColor]
colorUsingColorSpaceName:NSCalibratedRGBColorSpace]

returns #6d6d6d, not #808080.

Maybe NSCalibratedRGBColorSpace is the wrong color space to use?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list