Skip to content

[css-text-3] Segment Break Transformation Rules and wbr #4260

@frivoal

Description

@frivoal

The Segment Break Transformation Rules allow text like this:

aaaa​
bbbb

to be rendered as if it were

aaaa​bbbb

This is nice, but in other circumstances, using U+200B does the same thing as using <wbr>. Since this rule does not speak of <wbr>,

aaaa<wbr>
bbbb

would be rendered into

aaaa<wbr> bbbb

rather than

aaaa<wbr>bbbb

That seems unfortunate, as <wbr> is largely the same as U+200B except with the ability to be targeted by selectors.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions