Re: [css2.1] :first-line behvior

See section 5.10, paragraph 4:

http://www.w3.org/TR/CSS21/selector.html#pseudo-elements

"Pseudo-classes are allowed anywhere in selectors while pseudo- 
elements may only be appended after the last simple selector of the  
selector."

dave

On Mar 19, 2008, at 2:09 PM, David Hyatt wrote:

>
> Nothing is allowed to the right of a pseudo-element in CSS2.1  
> selectors.
>
> dave
> (hyatt@apple.com)
>
> On Mar 19, 2008, at 2:06 PM, Ambrose Li wrote:
>
>>
>> On 19/03/2008, Sergey Malkin <sergeym@windows.microsoft.com> wrote:
>>>
>>> Several people already pointed out to me, that "div:first-line  
>>> span" is not valid for CSS and should be ignored. So behavior I  
>>> expect is incorrect, but behavior of Opera and Safari still seems  
>>> wrong.
>>
>> I don't understand why div:first-line span would be invalid in any
>> way; it looks very much valid to me. Could you summarize the reasons
>> for the benefit of other people? Thanks
>>
>> -- 
>> cheers,
>> -ambrose
>>
>> Yahoo and Gmail must die. Yes, I use them, but they still must die.
>> PS: Don't trust everything you read in Wikipedia. (Very Important)
>>
>
>

Received on Wednesday, 19 March 2008 19:16:43 UTC