w3c / findtext

An API spec to define how to find text in a Web document, using basic information, and return DOM ranges
14 stars 7 forks source link

language-sensitive case fold type needs more information [I18N-ISSUE-498] #6

Open aphillips opened 9 years ago

aphillips commented 9 years ago

http://www.w3.org/International/track/issues/498 [I18N-ISSUE-498]

http://www.w3.org/TR/2015/WD-findtext-20151015/#idl-def-caseFoldingType.language-sensitive

The caseFoldingType parameter allows for four case-folding types: none, ascii, unicode, and language-sensitive.

The language-sensitive case folding type requires additional information in order to be meaningful, to wit: it needs a language tag to define which language's case folding is desired.