6 -moz-binding: url(
"file_bug591198_xbl.xml#xbltest");
13 function sendResults() {
18 ps
= document
.getElementsByTagName('span');
19 for (var i
= 0; i
< ps
.length
; i
++) {
20 res
.widths
.push(ps
[i
].offsetWidth
);
25 SpecialPowers
.wrap(document
).getAnonymousNodes(document
.getElementById('b')).length
;
29 parent
.postMessage(JSON
.stringify(res
), "*");
33 <body onload=
"sendResults();">
34 <div><span id=b
>long long text here
</span></div>
35 <div><span>long long text here
</span></div>
36 <div><span>PASS
</span></div>