repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
text
/
script-tests
/
font-size-zero.js
blob
28027acd25d63ed0a31310f3f2d4a5988dc84d2e
1
var s = document.createElement('span');
2
s.style.fontSize = 0;
3
s.innerHTML = 'Text';
4
document.body.appendChild(s);
5
6
shouldBe("s.getBoundingClientRect().height", "0");
7
shouldBe("s.getBoundingClientRect().width", "0");
8
9
document.body.removeChild(s);