https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37697
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #170519|0 |1 is obsolete| | --- Comment #5 from David Nind <[email protected]> --- Created attachment 170738 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170738&action=edit Bug 37697: use shadow DOM for additional contents preview This change uses the declarative HTML style of Shadow DOM to encapsulate the additional contents preview so that they don't affect the main Koha page. Test plan: 0. Create opacheader with following content: <style>* { background-color: red }</style> <p>This is awesome</p> 1. Note that most background-color in /cgi-bin/koha/tools/additional-contents.pl is now red 2. Click "Preview content" for "opacheader" 3. Note that the background-color of the "p" in "opacheader" is red 4. Apply the patch 5. Refresh the page at /cgi-bin/koha/tools/additional-contents.pl 6. Note that the background-color is normal again 7. Click "Preview content for "opacheader" 8. Note that the background-color of the "p" in "opacheader" is red Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
