Re: [CSS21] Inheritance and first-line

Ian Hickson wrote:
> Hmm. (Counter properties too?)

Not sure about those, to be truthful....  Might depend on the order in 
which incremental changes happen.  ;)

>> That's possible, yes.... It'd require some pretty major reworking of the 
>> style system in Gecko, where there is a basic assumption that you 
>> inherit your style from one and only one place.  I'd really rather not 
>> have to even try doing this, which I guess means that I'd rather the 
>> spec didn't specify it.  ;)
> 
> Well, what would you rather it did then?

So the problem as I see it is that on the one hand we want the 
background properties to apply to the entire line (so we don't want to 
break up the first-line and make it a descendant of the inlines on the 
line) but on the other hand we want the first-line to be able to affect 
color of the text, so somehow its style needs to inherit down to the 
text, etc.  Is that about right?

I realize that's not an answer to your question; I'm still working on 
clarifying which problems we're trying to solve here.

>> Still in Gecko, getComputedStyle will return the style of the first
 >> ...
>
> Interesting.

I suppose that's one way to describe it... ;)

-Boris

Received on Monday, 24 October 2005 14:36:07 UTC