blob: 28027acd25d63ed0a31310f3f2d4a5988dc84d2e [file] [log] [blame]
var s = document.createElement('span');
s.style.fontSize = 0;
s.innerHTML = 'Text';
document.body.appendChild(s);
shouldBe("s.getBoundingClientRect().height", "0");
shouldBe("s.getBoundingClientRect().width", "0");
document.body.removeChild(s);