Re: [css-text-decor] Emphasis marks and combining characters

On 12/15/2015 03:56 AM, Xidorn Quan wrote:
> On Mon, Nov 23, 2015 at 8:45 PM,  <ishida@w3.org> wrote:
>> https://drafts.csswg.org/css-text-decor-3/#text-emphasis-style-property
>>
>> says
>>
>> "The marks are drawn once for each character. However, emphasis marks are
>> not drawn for characters that are:
>>     Word separators or that belong to the Unicode separator classes (Z*).
>> (But note that emphasis marks are drawn for a space that combines with any
>> combining characters.)
>>     Characters belonging to the Unicode classes for control codes and
>> unassigned characters (Cc, Cf, Cn)."
>>
>>
>> presumably these marks should not be displayed for combining characters
>> either?
>
> Actually there was a related discussion raised recently in HTML5
> Chinese IG as well. That discussion is about whether emphasis marks
> should also be skipped for punctuations. JLReq explicitly says
> emphasis marks are not used for several punctuations (see 3.3.9 note
> 2), but the spec doesn't have anything around this.

It was considered [1], but IIRC JLTF wanted us to include all punctuation
and make the author do the skipping because "what if the author wants
to emphasize that punctuation mark for some reason". Imho this is an
uncomfortable default for the Web because it means most publications
need to do a lot of markup mangling to get this to work right... but we
ended up deferring to that opinion. Maybe Koji remembers more, I can't
seem to find records of the discussion.

See http://drafts.csswg.org/css-text-decor-4/#text-emphasis-skip for
what was our last set of thoughts on the issue.

I'm happy to re-open the discussion if there's more input to consider.

[1] https://www.w3.org/mid/A592E245B36A8949BDB0A302B375FB4E0AC28756F2@MAILR001.mail.lan

~fantasai

Received on Thursday, 22 December 2016 20:52:26 UTC