Title: [124299] trunk/Source/WebCore
Revision
124299
Author
[email protected]
Date
2012-07-31 22:02:06 -0700 (Tue, 31 Jul 2012)

Log Message

ColorInputType::typeMismatchFor is returning the opposite bool
https://bugs.webkit.org/show_bug.cgi?id=92836

Reviewed by Kent Tamura.

No new tests. Covered by color-suggestion-picker-appearance.html.

* html/ColorInputType.cpp:
(WebCore::ColorInputType::typeMismatchFor):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (124298 => 124299)


--- trunk/Source/WebCore/ChangeLog	2012-08-01 04:57:55 UTC (rev 124298)
+++ trunk/Source/WebCore/ChangeLog	2012-08-01 05:02:06 UTC (rev 124299)
@@ -1,3 +1,15 @@
+2012-07-31  Keishi Hattori  <[email protected]>
+
+        ColorInputType::typeMismatchFor is returning the opposite bool
+        https://bugs.webkit.org/show_bug.cgi?id=92836
+
+        Reviewed by Kent Tamura.
+
+        No new tests. Covered by color-suggestion-picker-appearance.html.
+
+        * html/ColorInputType.cpp:
+        (WebCore::ColorInputType::typeMismatchFor):
+
 2012-07-31  Douglas Stockwell  <[email protected]>
 
         -webkit-flex-flow does not work with inherit/initial values

Modified: trunk/Source/WebCore/html/ColorInputType.cpp (124298 => 124299)


--- trunk/Source/WebCore/html/ColorInputType.cpp	2012-08-01 04:57:55 UTC (rev 124298)
+++ trunk/Source/WebCore/html/ColorInputType.cpp	2012-08-01 05:02:06 UTC (rev 124299)
@@ -168,7 +168,7 @@
 
 bool ColorInputType::typeMismatchFor(const String& value) const
 {
-    return isValidColorString(value);
+    return !isValidColorString(value);
 }
 
 void ColorInputType::didChooseColor(const Color& color)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to