Skip to content

[css-text-3] Why is anywhere a value of the line-break property, rather than the word-break property? #5098

@r12a

Description

@r12a

https://www.w3.org/TR/css-text-3/#word-break-property
https://www.w3.org/TR/css-text-3/#line-break-property

Seems like i'm hopelessly late with this question, since various browsers have been implementing the anywhere value of line-break, even if they are not implementing the loose, normal, and strict values. However, i find that having the anywhere value under line-break rather than word-break is very confusing when i want to figure out how to style content.

It seems to me that anywhere is a natural fit alongside the other word-break values, since it's presumably exclusive to them in usage.

Can someone explain for me (so that i can explain to others) why the anywhere value was attached to line-break?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions