W3C home > Mailing lists > Public > www-style@w3.org > July 2012

[css-text] Styling of text decoration

From: Lutz Issler <lutz.issler@systemantics.net>
Date: Tue, 17 Jul 2012 18:46:00 +0200
Message-ID: <500596C8.7090701@systemantics.net>
To: www-style@w3.org
Reviewing the CSS Text Level 3 Working Draft 19 January 2012, I noticed 
that there is no way to style two properties of underlines, overlines 
and line-throughs: width and offset.

For instance, creating a 2px underline on a text shifted 1px off it’s 
original position is not possible with text-decoration only. To avoid 
workarounds employing border-bottom-width and padding-bottom, it would 
be good to have text-decoration-width and text-decoration-offset 
properties, respectively.

Apologies if there have been proposals for similar properties in the 
past. If there haven’t been any proposals so far, I’d love to see this 

Lutz Issler

Systemantics GmbH, Willich, Germany, Amtsgericht Krefeld, HRB 13492
Director: Dr. Lutz Issler, VAT-ID: DE815126198

+49 2154 953793-1
www.systemantics.net / Twitter: @Systemantics_ / @lutzissler
Received on Thursday, 19 July 2012 13:19:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:19 UTC