Re: top-level element enigma

David Perell said...

>IE4, however, renders the border along the edge of the UA
>window -- OUTSIDE of the scroll bar -- and still renders the background
from
>the upper left of the window. This is thoroughly discordant with the CSS
>rendering model.
*IE4* is thoroughly discordant with the CSS specification full stop.
It doesn't support unknown @-rules, unknown :specificers, doesn't correctly
realign the margins/padding after an element above it is changed, etc..
etc..

eg,
@ignore { BODY {background: yellow} }
should, by CSS (1 and 2) be ignored, because @ignore is not defined.
However, IE4 gives us a yellow background (and the least said about IE3's
support of "background" the better).
And should we mention @media {} ?

also,
P:ignore { color: red }
should also be ignored, in fact, it makes all your paragraphs red.

>So where does this leave the canvas? There should either be (1) some means
>to declare a background for the canvas, or (2) when the background
>reverse-inherits, the background-position should be coincident with the
>background-position of BODY, or (3) only the background-color should
>reverse-inherit, not the image.

Well, isn't this what the @page {} rule does? (CSS2, page.html#didx-page)
I suppose one could also have an @screen or an @canvas.

--
Ian Hickson
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/S d- s+: a--- C++(+++)>$ U P L+ !E W++ N++ o? K? w++>+++ O- !M V- PS+
PE- Y+ PGP t 5+++>++++ X- R+++ tv b++(+++) DI D++ G e-(*)>+++++ h!()(--) y?
------END GEEK CODE BLOCK------

Received on Friday, 19 December 1997 13:15:45 UTC