On Wed, 26 Jan 2000, Matthew Brealey wrote: > This fails to define the rendering of > P.note:before { content: "Note: "; display: block; } > P.note { border: solid green } > - does the border cover the block before. > > The spec does not say whether it does. Clearly the best answer is > no, [...] (Clearly?) The answer is actually yes. In the case above, you get pseudo markup equivalent to: <p> <p:before> <anonymous-inline>Note: </anonymous-inline> </p:before> <anonymous-block> <anonymous-inline>....</anonymous-inline> </anonymous-block> </p> Thus the border surrounds the :before as well as the element's 'real' content. -- Ian Hickson ("`-''-/").___..--''"`-._ http://www.bath.ac.uk/%7Epy8ieh/ `6_ 6 ) `-. ( ).`-.__.`) (_Y_.)' ._ ) `._ `. ``-..-' fL Member, Mozilla Quality Assurance _..`--'_..-_/ /--'_.' ,' Browser Standards Compliance Team (il).-'' (li).' ((!.-'Received on Thursday, 27 January 2000 17:45:03 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:03 GMT