- From: David Hyatt <hyatt@apple.com>
- Date: Wed, 19 Mar 2008 14:16:04 -0500
- To: Ambrose Li <ambrose.li@gmail.com>
- Cc: Sergey Malkin <sergeym@windows.microsoft.com>, www-style@w3.org
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