[Webkit-unassigned] [Bug 29103] typeAheadFind in select element is case-sensitive for Cyrillic and Greek
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 21 16:16:29 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29103
Darin Adler <darin at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #41558|review? |review+
Flag| |
--- Comment #10 from Darin Adler <darin at apple.com> 2009-10-21 16:16:29 PDT ---
(From update of attachment 41558)
> + // Retrive the folding equivalent of this prefix string before finding a matching element.
Spelling error or typo here: "Retrieve".
I would call it the "case-folded equivalent"
> + // This is a workaround that String::startWith() cannot fold non-ASCII characters, so
> + // this workaround is to be removed when the above problem is fixed.
My comment wording would be more like this:
// Compute a case-folded copy of the prefix string before beginning the
search for
// a matching element. This code uses foldCase to work around the fact that
// String::startWith does not fold non-ASCII characters. This code can be
changed
// to use startWith once that is fixed.
> + String prefixFoldCase(prefix.foldCase());
I would call this prefixWithCaseFolded.
> + // Fold the option string and check its prefix is equal to the folded prefix.
"check its prefix" -> "check if its prefix"
review+ since these are only comments on the comments -- you could land it with
your existing comments or fix them as I suggested.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list