Shadow DOM Traditionally, DOM encapsulation issues have been solved using iframes. Putting all the banner code in an iframe will protect it. This solution solves one problem but may cause others. In fact, there is a simple and sophisticated solution to the encapsulation problem and its name is Shadow DOM. This is a set of standard APIs that allow you ...