Skip to content

[css-text-decor] Characters to skip for emphasis marks (text-emphasis) #839

Closed
@fantasai

Description

@fantasai

Opening a placeholder issue to continue any discussion from https://lists.w3.org/Archives/Public/www-style/2015Dec/0184.html and https://lists.w3.org/Archives/Public/www-style/2016Dec/0083.html

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.

For background, see https://lists.w3.org/Archives/Public/www-style/2016Dec/0083.html https://drafts.csswg.org/css-text-decor-4/#text-emphasis-skip and view-source:https://drafts.csswg.org/css-text-decor-4/Overview.bs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions