W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2010

[RC3] assert of absolute-non-replaced-height-004 ; numbers-units-008 rejectable

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 4 Nov 2010 08:21:08 -0700
Message-ID: <724df51bb0091dd53904106acf223fa6.squirrel@cp3.shieldhost.com>
To: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>



has the following assert:

<meta name="assert" content="When 'top', 'bottom' and 'height' are all
are not 'auto', 'margin-top' is 'auto' and 'margin-bottom' is not
'auto'. Then 'margin-top' becomes the remainder of the height of the
containing box.">

I suggest to replace it with

<meta name="assert" content="When 'top', 'bottom', 'height' and
'margin-bottom' of an absolutely positioned, non-replaced element are
all not 'auto' while its 'margin-top' is 'auto', then 'margin-top'
becomes the remainder of the height of its containing block.">




Same reasoning as for numbers-units-014. If there is no specified,
normative scaling factor for x-large or larger (relative to the 'medium'
font size) or for adjacent indexes [1], then the used height of 1em of a
x-large font-size can not be predicted. Therefore this can not be

CSS1 was specifying this: "On a computer screen a scaling factor of 1.5
is suggested between adjacent indexes" [2]

Anyway.. the testcase compares a 1em wide by 1em tall box with a 1em
black "X" in ahem font: it's the exact same thing regardless of how
x-large is scaled, rendered in user agents. The testcase, as coded, can
not fail. If the scaling factor was specified by the spec and if it was
- say, for/from medium to x-large - 1.5 (150%), then the testcase would
still require adjustements.

Again, numbers-units-014 and numbers-units-008 are not testing what they
were originally trying to test. It is not possible to test larger and
x-large if the scaling factor is unknown and unspecified by CSS 2.1

[1]: http://www.w3.org/TR/CSS21/fonts.html#font-size-props
[2]: http://www.w3.org/TR/REC-CSS1/#font-size

regards, Gérard
Contributions to the CSS 2.1 test suite:

CSS 2.1 test suite (RC3; October 27th 2010):

CSS 2.1 test suite contributors:
Received on Thursday, 4 November 2010 15:21:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:21 UTC