Previous Message
Next Message

Re: [css-d] Psuedo class inheritance/IE6 bug(?)

Sent by Chris Casciano on 24 January 2002 23:11

on 1/24/02 11:06 PM, Eric A. Meyer at [EMAIL-REMOVED] wrote:

> At 19:26 -0500 1/24/02, Chris Casciano wrote:
>> Instead of the expected result - the first letter of the paragraph being
>> blue, 40px & Georgia - I ended up with a 40px black Arial first letter. A
>> built example can be found here:
>   It seems like a bug in IE6, but I'm not entirely certain yet--
> could you send me a snapshot of the behavior offlist?  Porter's
> corrective e-mail is correct; the '*' rule does NOT apply to the
> pseudo-element because only element can be selected.  Note I don't
> say "styled," I say "selected."  For example, the selector
> 'p#test:first-line' selects a paragraph element with an 'id' of
> 'test', and then causes only its first line to be styled.  But it's
> the element that is selected.
>   I loaded up your test page in NS6.2.1 and discovered very little
> styling.  Is your server set to hand over .css files as text/css or
> text/plain?  It makes a difference when the page is in "strict" mode,
> as yours probably is thanks to its XHTML DOCTYPE.

Hmm... The linked file is a very simple test case containing only the styles
I specified in my earlier email. Moz 0.9.7 renders it as I expected on both
my machines here. And in fact the css doc is being served as text css:

% curl -I
HTTP/1.1 200 OK
Date: Fri, 25 Jan 2002 04:26:16 GMT
Server: Apache/1.3.6 (Unix)
Last-Modified: Fri, 25 Jan 2002 00:02:40 GMT
ETag: "f20a43-b3-3c50a0a0"
Accept-Ranges: bytes
Content-Length: 179
Content-Type: text/css

But in any case I've posted clips of the Moz 0.9.7/PC and IE6/PC behavior
for the :first-letter test here:

In the mozilla example the first letter of the paragraph is taking on the
style of the paragraph (which in turn took the size from "*") with the
additional rule of size of 30px. IE however is looking to the "*"
declaration directly and ignoring the color and font-family changes applied
to the paragraph.

Chris Casciano                  home >>
                                words >
[EMAIL-REMOVED]       fun >>>
Previous Message
Next Message

Message thread: