[Webkit-unassigned] [Bug 197775] New: Impossible to achieve proper Greek capitalization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 10 08:49:06 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=197775

            Bug ID: 197775
           Summary: Impossible to achieve proper Greek capitalization
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mmaxfield at apple.com
                CC: mmaxfield at apple.com

See http://jsfiddle.net/34tww2g8/

<h4>Without <code>lang</code> attribute:</h4>
<p style="text-transform: uppercase">ένα</p>

<h4>With <code>lang</code> attribute:</h4>
<p lang='el' style="text-transform: uppercase">ένα</p>

The two lines should be different. They are different in Chrome and Firefox, but not WebKit.

This is likely due to:

Ref<StringImpl> StringImpl::convertToUppercaseWithLocale(const AtomicString& localeIdentifier)
{
    // Use the more-optimized code path most of the time.
    // Assuming here that the only locale-specific lowercasing is the Turkish casing rules,
    // and that the only affected character is lowercase "i".
    if (!needsTurkishCasingRules(localeIdentifier) || find('i') == notFound)
        return convertToUppercaseWithoutLocale();

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190510/1a7b4ed3/attachment.html>


More information about the webkit-unassigned mailing list