ASS
ASS copied to clipboard
Proposal for `WrapMode: 0` using `text-wrap: balanced`
We were hoping to get support for WrapMode: 0
working in our app and we found the following: In css4 there is property called text-wrap
. When it is set to balance
it works like WrapMode: 0
(https://drafts.csswg.org/css-text-4/#text-wrap). Sadly no browsers currently support this property, but there is a polyfill: https://github.com/adobe/balance-text
What we propose is the following:
- You could add the polyfill to your library and get
WrapMode: 0
working. - If you are hesitant about adding the polyfill, you could simply add the
text-wrap: balance
property whenWrapMode: 0
is set. This should have no negative side-effects right now and is something you'll probably to do anyway once browser implementations start arriving. Then we can add the polyfill on our side and get it working now.