Re: [csswg-drafts] Font-family name matching requires full Unicode case comparison (#3675)

> This is the only place in WebKit that requires a full Unicode case matching. 

Can you specify in more detail what do you mean by full Unicode case matching here? Do you mean case-sensitive matching? I understand the current spec to mean: Perform "Default Caseless Matching" from section 3.13, with emphasis on doing that without normalization and without language specifc tailorings. This would be only the comparison mentioned in the Unicode spec as D144:

> D144 A string X is a caseless match for a string Y if and only if:
> toCasefold(X) = toCasefold(Y)

Implementation wise, I believe this would be  with `U_FOLD_CASE_EXCLUDE_SPECIAL_I`.

I think the spec already describes that this flag should be set accordingly, as tailorings are excluded from the matching algorithm.

What performance benefits do you see from only performing casefolding for the ASCII range?

GitHub Notification of comment by drott
Please view or discuss this issue at using your GitHub account

Received on Tuesday, 26 February 2019 09:25:49 UTC