Polymer/ShadowDOM — pull request #324 by arv (2013-11-25 21:46:55+00:00)
Title: Unwrap if needed for the reference node in insertBefore

Also, unwrap if needed for old child in replaceChild.

Fixes #319