Re: [RC3] background-bg-pos-205

On 11/05/2010 10:06 PM, "Gérard Talbot" wrote:
>> Fixed:
>>     http://test.csswg.org/source/contributors/hixie/submitted/css2.1/colors/background-bg-pos-205.xht
>> Diff:
>>     http://test.csswg.org/svn-view/contributors/hixie/submitted/css2.1/colors/background-bg-pos-205.xht?r1=1270&r2=1534
>
>> Let me know if this is good.
>
>> ~fantasai
>
> http://test.csswg.org/suites/css2.1/20101027/html4/background-bg-pos-205.htm
> [RC3]
>
> "Scroll to the bottom right of the page"
> Maybe it would be worth it to write: "Scroll to the bottom of the page
> and then scroll to the rightmost point of the page" because this is
> necessary scrolling to do to see/reach the blue square.
> The fact that I had to scroll to the right initially lead me to think
> that maybe the testcase was incorrectly rendered.

I did say "bottom right", rather than "bottom". :)

> "There must also be a single orange square sitting on top of the blue
> platform": my neighbour would most likely ask me "What is the meaning of
> platform?"
>
> Maybe replace "platform" by "large rectangle" and maybe choose another
> color, say, yellow for such rectangle.

Ok.

> Overall, I would try to avoid horizontal scrolling in testcases ... but
> I think this is part of the testcase, isn't it?
>
> Chrome 7.0.517.44 and Konqueror 4.5.3 will display a white margin-bottom
> area (32px == 2em margin-bottom from the last<p>) below the large blue
> rectangle. I think the testcase is still wrong.
>
> Margin-bottom of last<p>  (at line 106) should collapse with .inner
> (margin-bottom: -5em) and body (margin-bottom: 0). The single blue
> square is not tucked precisely into the bottom-right corner of the page.
>
> Am I missing something?

So, the way I understand it, the margins of the last <p>, .inner, and body
collapse. This results in an effective margin on body of -3em. So the
testcase should render as if .inner and <p> didn't have margins, and the
body had margin-bottom: -3em -- which should place the large blue box and
the blue square at the very bottom of the scrollable area, i.e. *not*
leaving any space at the bottom.

Am I missing something?

~fantasai

Received on Tuesday, 23 November 2010 17:18:39 UTC