<!DOCTYPE html> <html class="reftest-wait"> <head> <script> function tweak() { var b = document.getElementsByTagName("span")[0]; b.parentNode.removeChild(b); document.documentElement.removeAttribute("class"); } window.addEventListener("MozReftestInvalidate", tweak, false); </script> </head> <body> <div style="-moz-column-count: 2; height: 50px; width: 100px; background: yellow"> <span>0 1 2 3 4 5 6 7 8 9 0</span>a </div> </body> </html>