- From: r12a via GitHub <sysbot+gh@w3.org>
- Date: Tue, 04 Feb 2020 18:08:43 +0000
- To: public-i18n-archive@w3.org
r12a has just created a new issue for https://github.com/w3c/iip: == Incorrect segmentation for styling initials == Because of the problems associated with grapheme cluster boundaries (see above), first-letter selection in CSS doesn't work well for conjuncts. For example, chrome fails to style the whole conjunct in ব্রাউজার when using ::first-letter in a selector, and styles only the ব্ instead of ব্রা. Similar is the case of Internet Explorer, it only styles ব. This is problematic for many words in a script such as Bengali, and forces the content author to use explicit spans rather than the proper mechanism for selecting initial letter. CSS uses the concept of <a href="https://drafts.csswg.org/css-text-3/#typographic-character-unit">'typographic character unit'</a>, rather than grapheme cluster, in its specs with the explanation that these cases are beyond the scope of the grapheme cluster concept and that implementations should provide appropriate support. In addition, a modification to the concept of grapheme cluster is <a href="https://www.unicode.org/reports/tr29/proposed.html#Rule_Constraints">currently in development</a> at the Unicode Consortium, which is likely to resolve the problem for a script like Bengali. In addition, the alignment of styled initial-letter character glyphs with the rest of the text is not clearly specified or implemented. See requirements at: <a href="https://w3c.github.io/ilreq/#h_initial_letter_styling">Indic Layout Requirements</a> Please view or discuss this issue at https://github.com/w3c/iip/issues/69 using your GitHub account
Received on Tuesday, 4 February 2020 18:08:46 UTC