<!DOCTYPE html> <html> <head> <script> function boom() { document.getElementById("a").appendChild(document.createTextNode("\n")); } </script> </head> <body onload="boom();"> <div id="a" style="max-width: -moz-max-content; -moz-column-count: 2;"><span style="white-space: pre-line;"><span> </span> </span></div> </body> </html>