Hi all,
I have a question related with the absolute position.

In the "absolutely positioned box in the relatively positioned box" example on 9.8.4, [1]

 if the top and left is 'auto', where the box should be positioned?


As I tested, the Chrome (and the other WebKit-based browsers) put it on the same position with the case that the box has a normal position,
but the Firefox put it on the top left position of the containing block (same position with top:0px,left:0px).


So, I confused what is right.


[1] http://www.w3.org/TR/CSS2/visuren.html#comp-abspos




------- Original Message -------

Sender : Gérard Talbot<www-style@gtalbot.org>

Date : 2012-12-27 04:10 (GMT+09:00)

Title : Re: [CSS21] inline span with clear


Le Mer 26 d�cembre 2012 7:38, Philippe Wittenbergh a �crit :
> The last example in the spec uses an inline element (span) and applies the
> clear property to it. � the example then goes to show the span clearing
> the floated block:
> http://www.w3.org/TR/CSS2/visuren.html#comp-float
> However, higher up on the same page, the spec states, for the �applies to�
> line: �block-level elements� (a is an inline element):
> http://www.w3.org/TR/CSS21/visuren.html#flow-control
> I think the example is wrong. Current Gecko, WebKit, Presto and iirc IE 9+
> all agree and do not apply any clearance.


You're right!

Reconstitution of example with rendering image side by side:

Test from CSS 2.1 test suite:

All the code examples and code excerpts in all CSS TRs should have a link
to a test showing, demonstrating such example in a real, live manner.
Errors would be avoided, issues with length, (proportionality) values,
scalability would be avoided and the instructional value/worth of the
examples would be increased.

CSS 2.1 Test suite RC6, March 23rd 2011

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite