This demo illustrates the difference between wrapping content in a div and appending to it vs just appending to the px-overlay-content. Try it in Shadow vs Shady DOM and Polymer 1 vs Polymer 2 to see the differences. HINT: There should be no difference in Polymer 2 regardless of DOM. There should be differneces in Polymer 1 for different DOM types

No wrap

Local Content

Hoisted Content

Wrapped

Local Content

Hoisted Content