Open Bug 202285 Opened 23 years ago Updated 3 years ago

Combining characters should make spaces not be spaces anymore

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows 2000
defect

Tracking

()

People

(Reporter: ian, Unassigned)

References

()

Details

(Keywords: intl)

A space merged with combining character is still treated as a space for the purposes of whitespace collapsing and so forth. For example: <p> &#x302;</p> ...is considered empty (the space collapses with the start of the line, leaving nothing), and: <p>o &#x302; &#x302;</p> ...results in some of the spaces collapsing together (so the result is "o^^"). Our behaviour makes no sense -- either the characters are spaces, in which case the combining character should disappear too, or they are not, in which case they should be separatable with spaces.
see also bug 229896. one way to solve this bug is to do space-collapsing after grapheme-cluster-breaking.
Keywords: intl
Assignee: layout.fonts-and-text → nobody
QA Contact: ian → layout.fonts-and-text
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.