Changeset 18162 in webkit


Ignore:
Timestamp:
Dec 11, 2006, 3:11:49 PM (18 years ago)
Author:
hyatt
Message:

Fix failing layout test. Remove WTF::Unicode::isSpace and just revert
the caller to the old behavior.

Reviewed by darin

  • platform/StringImpl.cpp: (WebCore::isSpace):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r18158 r18162  
     12006-12-11  David Hyatt  <hyatt@apple.com>
     2
     3        Fix failing layout test.  Remove WTF::Unicode::isSpace and just revert
     4        the caller to the old behavior.
     5
     6        Reviewed by darin
     7
     8        * platform/StringImpl.cpp:
     9        (WebCore::isSpace):
     10
    1112006-12-11  Alexey Proskuryakov  <ap@webkit.org>
    212
  • trunk/WebCore/platform/StringImpl.cpp

    r18098 r18162  
    5454    // Use isspace() for basic Latin-1.
    5555    // This will include newlines, which aren't included in unicode DirWS.
    56     return c <= 0x7F ? isspace(c) : WTF::Unicode::isSpace(c);
     56    return c <= 0x7F ? isspace(c) : Unicode::direction(c) == Unicode::WhiteSpaceNeutral;
    5757}   
    5858   
Note: See TracChangeset for help on using the changeset viewer.