Block boxes inside inline boxes; Legal or not?

The CSS Level 2 spec is explicit that the following is legal:

<DIV>
   Some text
   <P>More text
</DIV>

In particular, it states that an anonymous block level box is 
generated around "Some text".

How about this?

<SPAN>
   Some text
   <P>More text</P>
   Some more text
</SPAN>

My gut is that this is legal too, but I don't see anything in the 
spec squarely on point here. Furthermore, at least one version of one 
browser has been reported not to handle block boxes inside inline 
boxes for XML documents. Thoughts?

Please note, I'm not asking whether this is valid HTML. My interest 
is more in CSS w.r.t XML. Can a display:block element bet a child of 
a display: inline element? In other words can I do this:

block {display: block}
inline {display: inline}
-------------------

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="Above style sheet"?>
<block>
   <inline>
     <block>some text</block>
   </inline>
</block>
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+

Received on Tuesday, 7 January 2003 22:49:39 UTC