Skip to content

[css-text-3] word-break: keep-all should not suppress break opportunities after Ideographic Spaces #3142

@frivoal

Description

@frivoal

The spec defines keep-all as:

Breaking is forbidden within “words”: implicit soft wrap opportunities between typographic letter units (or other typographic character units belonging to the NU, AL, AI, or ID Unicode line breaking classes [UAX14]) are suppressed

U+3000 IDEOGRAPHIC SPACE is not included in any of the listed classes, so the break opportunity that is normally found after it should be preserved. However, it is not in Firefox.

While that is merely an implementation bug, it's a relatively easy mistake to make to assume (incorrectly) that IDEOGRAPHIC SPACE belongs to the class ID=IDEOGRAPHIC.

I don't think the normative prose needs any change, but a note (and a test) seem appropriate.

Metadata

Metadata

Assignees

Labels

Closed Accepted as EditorialTestedMemory aid - issue has WPT testsTracked in DoCcss-text-3Current Worki18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions