Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-30 Thread Nick Fitzsimons
Nick Fitzsimons wrote: > At a guess, their code for implementing adjacent selectors (which is > part of the new IE 7 code and thus not yet thoroughly testes) TESTED! I meant TESTED, dammit! Hell of a Freudian slip though... Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/

Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-30 Thread Nick Fitzsimons
Kenny Graham wrote: > just curious... I know served as XML, the comments should be > completely ignored, but if it's served as text and parsed all > SGML-ish, are comments supposed to count as nodes? I'm one of the > lucky young ones who never dealt with the fun old ways of spacer gifs > and table

Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-30 Thread Kenny Graham
just curious... I know served as XML, the comments should be completely ignored, but if it's served as text and parsed all SGML-ish, are comments supposed to count as nodes? I'm one of the lucky young ones who never dealt with the fun old ways of spacer gifs and table layouts, so I haven't a clue.

Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-30 Thread Gunlaug Sørtun
>> CSS wouldn't be fun without IE. > Does IE7 style a HTML comment? [...] Guess IE7 has to count in comments, since some might be conditional ones that it shouldn't miss. Also: if IE7 ignored comments (as it should) then all those nice 'quirks mode' triggering comments in and around the DTD would

Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-30 Thread Ingo Chao
Ingo Chao wrote: > > h1+h2 {color:green} > > h1+*+h2 {color:red} > > > test h1 > > This h2 should be green. > > IE7 (build 5346.5, April 25) renders the h2 in RED. > > http://www.satzansatz.de/cssd/ie7apr25_sibling.html > > CSS wouldn't be fun without IE. Does IE7 style a HTML comment?

Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-30 Thread Ingo Chao
Philippe Wittenbergh wrote: > On Apr 29, 2006, at 8:13 AM, Greg Reimer wrote: > >> Is the correct behavior that CSS adjacent sibling selection should NOT >> be affected by HTML comments? I ask because IE7 adjacent sibling >> selection fails when an HTML comment intervenes between the adjacent >> s

Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-29 Thread Greg Reimer
On 4/29/06, Philippe Wittenbergh <[EMAIL PROTECTED]> wrote: > Have you tried to put them on separate lines ?> test > > other text Yep, I tried that, and as many variations as I could think of. I'm assuming that IE7 is behaving incorrectly. I submitted a bug against it in their public bug/feedbac

Re: [css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-29 Thread Philippe Wittenbergh
On Apr 29, 2006, at 8:13 AM, Greg Reimer wrote: > Is the correct behavior that CSS adjacent sibling selection should NOT > be affected by HTML comments? I ask because IE7 adjacent sibling > selection fails when an HTML comment intervenes between the adjacent > siblings. For example h1+h2 won't se

[css-d] Intervening HTML comments break CSS adjacent sibling selection in IE7

2006-04-28 Thread Greg Reimer
Is the correct behavior that CSS adjacent sibling selection should NOT be affected by HTML comments? I ask because IE7 adjacent sibling selection fails when an HTML comment intervenes between the adjacent siblings. For example h1+h2 won't select texttext in the most recent IE7 beta. ___