Bug 45205: Test that <link> elements only have stylesheets when in document.

Not in document: PASS
After adding to document: PASS
DONE
