Review Report on section 9.3.2 (right box offset) ~= 22 testcases

Hello,

This report is mostly for Fantasai and Arron Eicholz.


Summary
*******

- only 4 testcases with Fractional pixel problem
- 2 testcases are IMO definitely rejectable
- 1 tough testcase still under review
- 4 proposed replacements
- 2 proposed additions to the test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/right-offset-004.htm
and
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/box-offsets-rel-pos-001.htm



**********************************
Section 9.3.2 Box offsets: 'right'
**********************************


----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-043.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-044.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-055.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-056.htm

Fractional pixel problem!

Proposed replacements:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/right-043.htm
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/right-044.htm
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/right-055.htm
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/right-056.htm

----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-113.htm

Very difficult testcase here...

Here, #div1's containing block width does *not* depend on #div1's width.
100% of body's content width is computable, retrievable.

Need more time on this one...

I'll get back to this one later this week.

----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-001.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-002.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-003.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-004.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-005.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-006.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-007.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-013.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-014.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-015.htm

I propose to replace

<link rel="help"
href="http://www.w3.org/TR/CSS21/visuren.html#position-props">

with

<link rel="help" title="9.7 Relationships between 'display', 'position',
and 'float'" href="http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo">

because this is the only spot in the spec where elements with display
set to  table or sub-table elements are described that they can be
absolutely positioned and how the position of the box can be determined.

----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-008.htm
http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-009.htm

Approved

----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-applies-to-010.htm

The expected results should state that a bullet list-marker should be
rendered on the left of the green square.

----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-offset-001.htm

I propose to replace

<meta name="assert" content="The 'right' property, for absolute
positioning, specifies the offset of the element in relation to the
containing block's right content edge.">

with

<meta name="assert" content="The 'right' property, for absolute
positioning, specifies the offset of the element in relation to the
containing block's right edge.">

A containing block is not a CSS box per se.

Just like I wrote about left-offset-001.htm, this testcase should
require that the enclosing parent div, establishing itself as the
containing block for #div2, has a padding belt and even a border belt so
that the testcase becomes a more correct test of what is involved here.

E.g.:
box offsets - containing block for absolute positioned boxes
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/box-offsets-abs-pos-001.htm

----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-offset-002.htm

See
http://lists.w3.org/Archives/Public/public-css-testsuite/2010Sep/0072.html

----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-offset-003.htm

As coded and as it is, that testcase is approvable.

I propose to replace

  <title>CSS Test: Position 'right' property defines the offset from the
right padding edge of the containing block for absolute
positioning</title>
(...)
  <meta name="assert" content="The 'right' property, for absolute
positioning, specifies the offset of the element in relation to the
containing block's right padding edge.">

with

  <title>CSS Test: 'right' box offset - position absolute with px
units</title>
(...)
  <meta name="assert" content="The 'right' property, for absolute
positioning, specifies the offset of a box in relation to its
containing block's right edge. The containing block in such case is
established by the padding box of its nearest positioned ancestor.">

and then, in the code, replace accordingly #container with
#nearest-positioned-ancestor.


----------------------

Author: Microsoft

http://test.csswg.org/suites/css2.1/20100815/html4/right-offset-percentage-001.htm

As coded, this testcase is not a very demanding testcase:

- If the tester disables 'right: 50%' (therefore making it 'right:
auto;') for that inner blue div, then the testcase is still passed.

- If the tester disables 'position: absolute' (therefore making it
'position: static') for that inner blue div, then the testcase is still
passed.

So, it is definitely not a very convincing testcase...

----------------------

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

CSS 2.1 test suite (beta 3; August 15th 2010):
http://test.csswg.org/suites/css2.1/20100815/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Tuesday, 14 September 2010 03:42:49 UTC