less/less.js — pull request #1795 by dhaber (2014-01-10 03:12:30+00:00)
Title: innerText isn't available in ff/chrome/etc so use innerHTML

I tried running:
grunt connect:server:keepalive

and then running the tests like:
http://localhost:8081/tmp/browser/test-runner-rootpath-relative.html

but most of the tests failed in firefox and chrome because lessOutputObj.innerText was empty, however, innerHTML was populated. So if you add an "or" check it won't break the phantomjs tests but will also work in a regular browser.