[RC6] position-relative-035 : some modifications

Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/position-relative-035.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/position-relative-035.htm

I've made some modifications to the test.

First, div#div1's 'height: 3em' has been removed because not necessary,
not needed in the test. I think the whole div#div1 should be removed as
well because not needed and not necessary in the test.

'line-height: 1.25' has been added so that vertical positioning and line
box measurement could be controlled and figured out in a reftest. This
is important because the offset top in the test is 16px and that is not
how tall a line box is. 'line-height: normal' is usually computed as
1.15 or 1.18 or 1.2em: it depends on the local font used.

The wording of the pass/fail conditions sentence was also giving
latitude, "leeway" for interpretation. When the offset is turn off (in
such case, the overlapping of black over the orange is avoided), we see
"Filler" on one orange line and "Text" on a 2nd orange line. So, as
worded, it was not clear if the test was failed if "Flller" (sic) and
"Text" were viewed.

So, I changed "Flller" for " FAIL " and reworded the pass/fail
conditions sentence to emphasize one and only one line of text. I
believe this is better.

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Sunday, 23 September 2012 05:48:48 UTC