Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

word-break: keep-all breaks when used with text-wrap: balance #595

Open
XiNiHa opened this issue Feb 29, 2024 · 0 comments
Open

word-break: keep-all breaks when used with text-wrap: balance #595

XiNiHa opened this issue Feb 29, 2024 · 0 comments

Comments

@XiNiHa
Copy link

XiNiHa commented Feb 29, 2024

Bug report

Description / Observed Behavior

word-break: keep-all breaks when used with text-wrap: balance.

On Web with Firefox:
image

On Satori (Debug mode):
image

Expected Behavior

The word break behavior should match with the Web.

Reproduction

https://og-playground.vercel.app/?share=bVG9TsMwEH4VywixhBJ-hFBUGCg8QRFdujjxpXHr2pHj0IYoC2JAdK5UIbGBBBIbZeONEt4BuyVVhTr57vvO3919l-NAUsAeblJ20xUIJTrjcJrnNkYoAtaLtId29l13e8dZgiNGdfQPoyyJOckMGnIY16iNL5iCQDMpDBdIng5FzfbTRLMwa0mhQdgmgXlA1bRPgkFPyVTQluRSGX4rDMOVtPnVZrfgocODNajzN_Cx69bTSkXPFZCBERgAxLuE81pEw1h3FIkN5RNORABLpii64swG16AC4NXzDLWJloqVr9-ouvuont5_pnNUfs6r6ax6_ConD-XkpbGh6K2x0rjfBK4Jd0VzzxzB9MUOlrG1LMFejhd2Y-_EbISX98DekU0o-GkPeyHhCTgYhrLPrrLYHlOPFpnRsZ5cDn2g2NMqhcLBmvimIgLOpbGGU1z8Ag

Additional Context

As commented on the Codepen repro, the behavior of Satori can be made on the Web by commenting out word-break: keep-all, but the inverse is impossible.

XiNiHa added a commit to portone-io/developers.portone.io that referenced this issue Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant