Reviewed by Maciej Stachowiak.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Dec 2007 06:01:20 +0000 (06:01 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Dec 2007 06:01:20 +0000 (06:01 +0000)
        - restore ButtonFace and ThreeDFace to their previous values for non-Mac
          platforms. The Mac port also uses the same values for now instead
          of NSColor-based ones.

        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::systemColor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28827 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/rendering/RenderTheme.cpp

index 34610c43580c3122248a17f5b0d265aaa63186c9..05adf3713dafa26434d7fcd54e83e4818d4c3151 100644 (file)
@@ -1,3 +1,14 @@
+2007-12-17  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by Maciej Stachowiak.
+
+        - restore ButtonFace and ThreeDFace to their previous values for non-Mac
+          platforms. The Mac port also uses the same values for now instead
+          of NSColor-based ones.
+
+        * rendering/RenderTheme.cpp:
+        (WebCore::RenderTheme::systemColor):
+
 2007-12-17  Rodney Dawes  <dobey@wayofthemonkey.com>
 
         Reviewed by Maciej Stachowiak.
index 8e7711b73ffae71327d2f3be3b8ce4ec330e5fcf..45ad950d0e3ff28e4efc5ee2729c12f6569ad300 100644 (file)
@@ -491,7 +491,7 @@ Color RenderTheme::systemColor(int cssValueId) const
         case CSS_VAL_BACKGROUND:
             return 0xFF6363CE;
         case CSS_VAL_BUTTONFACE:
-            return 0xFFECECEC;
+            return 0xFFC0C0C0;
         case CSS_VAL_BUTTONHIGHLIGHT:
             return 0xFFDDDDDD;
         case CSS_VAL_BUTTONSHADOW:
@@ -527,7 +527,7 @@ Color RenderTheme::systemColor(int cssValueId) const
         case CSS_VAL_THREEDDARKSHADOW:
             return 0xFF666666;
         case CSS_VAL_THREEDFACE:
-            return 0xFFECECEC;
+            return 0xFFC0C0C0;
         case CSS_VAL_THREEDHIGHLIGHT:
             return 0xFFDDDDDD;
         case CSS_VAL_THREEDLIGHTSHADOW: