You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value "" for the text-emphasis-style property says:
Display the given string as marks. Authors should not specify more than one character in . The UA may truncate or ignore strings consisting of more than one grapheme cluster.
Shouldn't "grapheme cluster" be replaced by "character" to match the second sentence.
The text was updated successfully, but these errors were encountered:
dbaron
changed the title
[css-text-decor]
[css-text-decor] "grapheme cluster" versus "character" inconsistency in definition of text-emphasis
Aug 22, 2019
I actually somewhat intentionally used the word “character” here, because because “character” is a word that's immediately understandable to authors. There are a variety of possible interpretations, but the distinctions are not really relevant here, since most characters that would be appropriate for this usage are single-codepoint grapheme clusters. So if the statement is a bit vague, it doesn't actually matter. But if it's using weird unfamiliar terminology, it's hard to understand.
I was more precise for the UA requirement, because implementers need the precision.
@emuller-amazon Let me know if this works for you, or if you think that we should be making some different call here.
https://drafts.csswg.org/css-text-decor-3/#text-emphasis-style-property
The value "" for the text-emphasis-style property says:
Shouldn't "grapheme cluster" be replaced by "character" to match the second sentence.
The text was updated successfully, but these errors were encountered: