Re: New drafts, CSS 2.1, css3-webfonts, css3-fonts, css3-background, css3-ui

[Mon, 05 Aug 2002 20:03:57 -0700] Tantek Çelik:
>I believe that CSS2.1 documents what has been implemented, not just in
>IE5&6, but also in other browsers as well.

I have a test already made up for this.  (It was designed to demonstrate
a bug in Opera, but it also distinguishes between the CSS 2 and CSS 2.1 WD
specifications for weight of non-CSS presentational elements.)

1. Download <http://www.coises.com/operabug/oppreced.css>.

2. Go to page <http://www.coises.com/operabug/oppreced.htm>.

3. Compare the presentation of the page with user CSS not enabled and with
the file downloaded in step one set as the user CSS.

A browser which adheres to the CSS 2 standard will show the page
identically whether the user CSS is active or inactive.  (IE 5-6 does.)

A browser which adheres to the CSS 2.1 WD standard would show the lines
with no document CSS rule according to the user CSS rule when user CSS is
active, and according to the HTML rule when user CSS is not active.  It
would also show a different background image with and without user CSS.

(Those using Opera may note that the last line reveals a behavior which is
faulty regardless of whether CSS 2 or CSS 2.1 WD is used: a selector of
higher specificity in the user style sheet is given precedence over one of
lower specificity in the author style sheet.  This has been the case since
the first versions of Opera to support CSS.)
-- 
Randall Joseph Fellmy aka Randy@Coises.com

Received on Tuesday, 6 August 2002 00:33:22 UTC