W3C home > Mailing lists > Public > www-style@w3.org > January 2016

[css-text] text-justify

From: Jacob Parker <jacobparker1992@gmail.com>
Date: Fri, 01 Jan 2016 11:47:09 +0000
Message-ID: <D41D6C79-EFB3-4508-9525-E54CC9FE8FDA@gmail.com>
To: www-style@w3.org
Currently, the draft gives the values `inter-word` and `inter-character` as possible values for `text-justify`. These are both great options to have, but only being able to use one at a time seems to be restrictive. It could be of great benefit to allow these to vary not only individually, but in a ratio to each other.

I would like to suggest `justify-word-spacing` and `justify-character-spacing`, which would be positive integers like the `flex-grow` property. This would make it trivial to add extra parameters to the specification—such as `justify-character-stretch`—should it become a needed feature. In addition, it would also extend these rules to match the flex specification, allowing shrinking of word spacing, and a basis for word spacing.

— Jacob
Received on Thursday, 14 January 2016 15:25:38 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:56 UTC