https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37697 --- Comment #8 from David Cook <dcook@prosentient.com.au> --- (In reply to Lucas Gass from comment #6)
-It stops the CSS from rendering on additional-contents.tt! -I still get a HELLO WORLD in the console. Probably a separate bug?
Javascript isn't encapsulated quite to the same degree as CSS. The Javascript still has access to globals like "console", events (like mouse clicks) still bubble up, and I think there are some other ways Javascript can still interact/conflict. An iframe-based solution would be better than this one, although I think using shadow DOM here is certainly an improvement in any case. Perhaps a stepping stone to a more complicated iframe-based solution. -- You are receiving this mail because: You are watching all bug changes.