Bug 1025933, support clientWidth, clientHeight, getBoundingClientRects etc for elements in shadow DOM, r=bz
Bug 1041881 - Don't take template parameters by value to avoid accidentally constructing objects. r=khuey

--HG--
extra : rebase_source : 92bf47631beed8dd0c3f5b29b1cfb0b30e502364
merge m-i -> ash