[csswg-drafts] [css-text] Performance risks of text-wrap:pretty (#10785)

jyasskin has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] Performance risks of text-wrap:pretty ==
In the [TAG review for `text-wrap: pretty`](https://github.com/w3ctag/design-reviews/issues/864#issuecomment-2173934184), the [TAG was worried](https://github.com/w3ctag/meetings/blob/gh-pages/2024/telcons/06-17-minutes.md#text-wrap-pretty---leaverou-plinss) 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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10785 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 26 August 2024 21:14:44 UTC