Skip to content

[css-text] Performance risks of text-wrap:pretty #10785

@jyasskin

Description

@jyasskin

In the TAG review for text-wrap: pretty, the TAG was worried that if adoption is too widespread, then engines will feel benchmark pressure to make text-wrap: pretty cheaper and less pretty, perhaps reducing it all the way to an alias of text-wrap: auto. There was a suggestion to rename pretty to some term that indicates that the mode has costs as well as benefits.

Could the CSSWG consider whether there's a risk that "too many" sites will adopt this for too many elements and thereby either hurt the web's overall performance or drive implementations to effectively ignore the property value? And if there is that risk, try to find a way to mitigate it.

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