W3C home > Mailing lists > Public > www-style@w3.org > December 2016

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 22 Dec 2016 18:20:28 +0330
To: Xidorn Quan <quanxunzhen@gmail.com>, Richard Ishida <ishida@w3.org>
Cc: W3C Style <www-style@w3.org>, Ishii Koji <kojiishi@gluesoft.co.jp>
Message-ID: <d09bc746-2c20-c1c1-217e-7f3c3481e850@inkedblade.net>
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

This archive was generated by hypermail 2.3.1 : Thursday, 22 December 2016 20:52:27 UTC