[css21] stacking order on non-replaced, inline boxes

Say you have the following HTML snippet:

# <div><span>xxxx</span>xx</div>

Inside the DIV element there are two boxes. An inline element and an anonymous
inline box that is (the next) sibling of it. Styles applied:

# div { font:15px/1 Ahem; }
# span { margin-right:-4em; color:blue; background:maroon }

Implementations agree that the SPAN element is placed behind the anonymous
inline box. I would very much like to know where it is specified that this is
the correct behavior.

Testcase: <http://annevankesteren.nl/test/css/margin/001>


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Sunday, 31 July 2005 11:58:19 UTC