Re: [css4-text] A non-inherited property to control behavior of whitespace-only child boxes

On 03/29/2012 09:55 AM, Brad Kemper wrote:
> On Mar 29, 2012, at 8:48 AM, Boris Zbarsky<bzbarsky@MIT.EDU>  wrote:
>
>> On 3/29/12 4:27 AM, Kang-Hao (Kenny) Lu wrote:
>>> (12/03/29 8:42), Boris Zbarsky wrote:
>>>> On 3/28/12 5:23 PM, Marat Tanalin | tanalin.com wrote:
>>>>> Currently, it's somewhat tricky to use `display: inline-block` to
>>>>> create gapless layout
>>>
>>> For your information, this was brought up[1] as a use case for
>>> 'text-space-collapse: discard;'.
>>
>> text-space-collapse is inherited, which is not what's really needed here.
>
> Maybe text-space-collapse shouldn't be inherited? If it wasn't, it'd be
> easy enough to write selectors to put it on descendants too if someone
> actually needed that.

text-space-collapse is the white-space-collapsing part of the 'white-space'
property. It has to be inherited. :)

~fantasai

Received on Thursday, 29 March 2012 18:20:45 UTC