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

On Thursday, November 04, 2010 8:21 AM Gérard Talbot wrote:
> http://test.csswg.org/suites/css2.1/20101027/html4/absolute-non-replaced-
> height-004.htm
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_10
> /absolute-non-replaced-height-004.htm
> 
> 
> 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.">
> 
> 
> ------------
> 
> http://test.csswg.org/suites/css2.1/20101027/html4/numbers-units-008.htm
> 
> http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_4/
> numbers-units-008.htm
> 
> 
> 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 testcase-ed.
> 
> 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 spec.
> 
> 
> [1]: http://www.w3.org/TR/CSS21/fonts.html#font-size-props
> [2]: http://www.w3.org/TR/REC-CSS1/#font-size
> 

Fixed: absolute-non-replaced-height-004

Removed: number-unites-008

--
Thanks,
Arron Eicholz

Received on Thursday, 2 December 2010 02:27:46 UTC