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

Re: Any plans to add a method for suppressing white space between inline-block elements?

From: Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>
Date: Sat, 24 Nov 2012 20:57:32 +0900
Cc: "Behrang Saeedzadeh" <behrangsa@gmail.com>, "W3C CSS Mailing List" <www-style@w3.org>
Message-Id: <FE09B737-4C6E-4181-8CDA-FF08B7B9B84E@l-c-n.com>
To: François REMY <francois.remy.dev@outlook.com>

Le 24 nov. 2012 à 20:42, François REMY <francois.remy.dev@outlook.com> a écrit :

> I completely agree with you on this. Sometimes, I forget to put the comments and I waste time looking at why my layout is not pixel perfect as I expected.
> 
> This issue is already logged in CSS Text (level 3) as Issue #3: "There have been requests for the ability to "discard" white space; the current definition has no facility for this".
> 
> To make it more formal, let's propose something like this:
> 
>   white-space: [ <old-values>? ||  <whitespace-trim>? ]
>   white-space-trim: auto | trim | trim-line | preserve;

Something like that used to be in CSS 3 text, but it moved to the next level:

http://dev.w3.org/csswg/css4-text/#white-space-collapsing

(I could use that right now… and I can't change the mark-up in anyway, CMS generated)

Philippe
--
Philippe Wittenbergh
http://l-c-n.com
Received on Saturday, 24 November 2012 11:57:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT