
Do not consider elements that are part of the document fragment to be attached.
IE8 seems to implicitly create a document fragment for newly created elements if .document is touched:

var elem = document.createElement('div');
elem.parentNode; // null
elem.document;
elem.parentNode; // document fragment

I'm not sure where we are touching the elem.document in our code, but this is easy enough to fix in Closure.

R=gboyer
DELTA=4  (3 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5656


git-svn-id: 35241bd708fe29f1f6c7a4322d322e99ff93b95e@2230 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

weitzj/closure-library,weitzj/closure-library