Commit a0c69adb authored by adachan@apple.com's avatar adachan@apple.com

<rdar://problem/6564956> URL field double-click selects entire domain,...

        <rdar://problem/6564956> URL field double-click selects entire domain, rather than single word or entire URL
        Revert back to the old word breaking behavior by using en_US_POSIX locale.        

        Reviewed by Steve Falkenburg.

        * platform/text/win/TextBreakIteratorInternalICUWin.cpp:
        (WebCore::currentTextBreakLocaleID):



git-svn-id: svn://svn.chromium.org/blink/trunk@42471 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent fdf7c18d
2009-04-13 Ada Chan <adachan@apple.com>
<rdar://problem/6564956> URL field double-click selects entire domain, rather than single word or entire URL
Revert back to the old word breaking behavior by using en_US_POSIX locale.
Reviewed by Steve Falkenburg.
* platform/text/win/TextBreakIteratorInternalICUWin.cpp:
(WebCore::currentTextBreakLocaleID):
2009-04-13 Darin Adler <darin@apple.com>
Reviewed by Dan Bernstein.
......@@ -25,7 +25,11 @@ namespace WebCore {
const char* currentTextBreakLocaleID()
{
return "en_us";
// Using en_us_POSIX now so word selection in address field works as expected as before (double-clicking
// in a URL selects a word delimited by periods rather than selecting the entire URL).
// However, this is not entirely correct - we should honor the system locale in the normal case.
// FIXME: <rdar://problem/6786703> Should use system locale for text breaking
return "en_us_POSIX";
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment