Skip to content

[css-text-3] Define break at space to remove a space explicitly #4308

Closed
@fantasai

Description

@fantasai

We currently assume that the rules about trimming white space at the end of a line takes care of disappearing a space at which we break the text.

However, this isn't quite the case when there's bidi, see web-platform-tests/wpt#5461

We should define that for collapsible spaces, if the line-break opportunity taken is provided by that space, it is removed.

This is what makes sense (otherwise you'd end up with double spaces frequently in bidirectional text), and is also what seems to have been implemented.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions