W3C home > Mailing lists > Public > public-css-testsuite@w3.org > June 2007

Assumptions about UA default style sheets

From: Grant, Melinda <melinda.grant@hp.com>
Date: Thu, 28 Jun 2007 04:54:58 -0000
Message-ID: <78A3602ADF54BA4EAB53F378BF55588B01628EBA@G3W0067.americas.hpqcorp.net>
To: <public-css-testsuite@w3.org>

I wonder if we should import a style sheet specifying the
recommendations in Appendix D in all tests as a starting point, to avoid
differences in results based on different UA style sheet defaults.

I am currently responding to a complaint from another company regarding
t1402-c45-bg-canvas-00-b.xht and t09-c5526c-display-00-e.xht. This
company uses a display value of 'inline-block' for the 'html' element in
their default style sheet, which apparently causes them to fail these
tests. (Language barriers make it difficult to understand why, but
there's nothing normative prohibiting it, sfaik.)

We could always modify the tests to add
	html {display: block}...
...but what else might we need to add to allow all compliant
implementations to pass?

Importing the style sheet in App D would remove these variances.

I know this has the downside of burdening all tests with an imported
style sheet; but I think this is more of a theoretical issue than a
practical one; whereas differences in default style sheets *should* be
allowed without causing tests to fail.

Including the rules in App D directly within the test file would, I
think, create too much visual "noise". So importing a style sheet seems
the least evil to me.

Thoughts / other suggestions?

Best wishes,

Received on Thursday, 28 June 2007 04:55:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:12 UTC