Hey --
Would this also apply to <link> tags that referred to external stylesheets?
Facebook renders the page incrementally -- we don't always know what styles we need by the time we flush the head. Right now we tend to do this by having the incrementally rendered parts of the page use JS to insert the link tags into the head. But for some authors it might make more sense just to inline link and style elements.
We give internal users guidance along the lines of:
(1) If you have style/link inline in the document ensure that any content that uses that content below the style tag
(2) If you dynamically insert content that uses a style do so only after the onload event of the style
(3) Generalizing 1 and 2, any time a stylesheet is loaded it should never style any elements currently displayed on the page
(4) As an exception to (3) it's ok if your stylesheet is designed not to cause re-layout (eg if you have <span class="sprite1" style="height:16px;width:16px"> its ok to load a stylesheet which defines the location of the image).
-b