Skip to content

[css-text] Having overflow-wrap: break-word affect min-content size is not webcompatible #2951

@upsuper

Description

@upsuper

We resolved in #2682 that overflow-wrap: break-word should affect min-content size, however, it doesn't seem to be web-compatible.

After we landed the change to Gecko, we immediately got two bugs reported, and the latter is an issue on GitHub, see https://github.com/vscode-icons/vscode-icons/wiki/ListOfFiles.

GitHub has word-wrap: break-word set on the whole page, likely because its content are from users, and it's better to allow breaking word as a fallback when there is an otherwise unbreakable string. However, in that case, people may not really want it to affect min-content in e.g. tables accidentally.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions