Re: [css3-*] [css3-box] Box Tree terminology for CSS3 specs

On 11/23/2011 01:40 PM, Anton Prowse wrote:
> On 23/11/2011 22:29, Tab Atkins Jr. wrote:
>>
>> I don't really share these concerns. ::before, ::after, ::marker, and
>> many other pseudo-elements we have thought about adding are basically
>> normal boxes. It's only ::first-line, and to a somewhat lesser extent
>> ::first-letter, that cause problems. These should be called out
>> specially, so that by default all the other well-behaved
>> pseudo-elements work normally without us having to go to extra effort
>> and verbosity.
>
> I agree that the problem is limited to a tiny handful of special cases, but the trouble is that there is a desire not to drop
> ::first-line, ::first-letter and ::selection (although I was an advocate of dropping them from CSS21); and yet calling them
> out (by which I presume you mean excluding them from the definitions) doesn't avoid the need to spec them properly in some
> parallel way across the whole CSS landscape. That doesn't sound much fun, and has the potential to be *really* messy if all
> the definitions are created without even bearing these awkward beasts in the back of one's mind. I wouldn't dismiss the
> possibility out of hand though.

Basically the idea is to continue what we're doing in CSS2.1, which is:
   - treating pseudo-elements as elements
   - excepting ::first-line and ::first-letter in their definitions

See CSS2.1 Issue 184:
   http://wiki.csswg.org/spec/css2.1#issue-184

~fantasai

Received on Thursday, 24 November 2011 03:41:22 UTC