Re: [css3-content] Replacing ::outside with ::inside

From: "Giovanni Campagna" <scampa.giovanni@gmail.com>
> 2009/4/12 François REMY <fremycompany_pub@yahoo.fr>:
>> From: "Giovanni Campagna" <scampa.giovanni@gmail.com>
>>>
>>> 2009/4/12 François REMY <fremycompany_pub@yahoo.fr>:
>>
>> [...]
>>
>> x::outside don't herit of x's properties, because x::outside is the
>> ancestror of x.
>> It's x that inherits from x::outside. Wrong ?
>
> Yeah. Pseudo-elements, regardless of where they're placed, inherit
> from their superior parent.
> See css3-content, section 4.3 "One difference between using elements
> and using pseudo-elements is that the pseudo-elements inherit from the
> elements (or pseudo-elements) that generate them, not from those they
> are contained within."

I was not aware of that. That reduces somewhat the use-cases for 
::outside...

But we still have something like that :

li::outside:before {
    content: 'An item inserted before the main item';
}

>>> It is because of lack of implementation that I would like to change
>>> "::outside" with "::inside". I hope that this change will make it
>>> easier to implement, and thus more likely to be implemented soon.
>>>
>>
>> Why should this be easier to implement ?
>
> Because you append boxes to the box tree, instead that inserting them
> at arbitrary points.

I think we really need an implementor's meaning here

>> Regards,
>> Fremy
>> 

Received on Sunday, 12 April 2009 19:43:30 UTC