⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 124299 in webkit


Ignore:
Timestamp:
Jul 31, 2012, 10:02:06 PM (14 years ago)
Author:
keishi@webkit.org
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r124297 r124299  
     12012-07-31  Keishi Hattori  <keishi@webkit.org>
     2
     3        ColorInputType::typeMismatchFor is returning the opposite bool
     4        https://bugs.webkit.org/show_bug.cgi?id=92836
     5
     6        Reviewed by Kent Tamura.
     7
     8        No new tests. Covered by color-suggestion-picker-appearance.html.
     9
     10        * html/ColorInputType.cpp:
     11        (WebCore::ColorInputType::typeMismatchFor):
     12
    1132012-07-31  Douglas Stockwell  <dstockwell@chromium.org>
    214
  • trunk/Source/WebCore/html/ColorInputType.cpp

    r123997 r124299  
    169169bool ColorInputType::typeMismatchFor(const String& value) const
    170170{
    171     return isValidColorString(value);
     171    return !isValidColorString(value);
    172172}
    173173
Note: See TracChangeset for help on using the changeset viewer.