mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 668849 - Sporadic TEST-UNEXPECTED-FAIL | reftests/text-overflow/selection.html. r=test-only
This commit is contained in:
parent
0e059967ea
commit
fbc99e4595
@ -88,7 +88,8 @@ function selectText() {
|
||||
addRange(t1.firstChild);
|
||||
var t2 = document.getElementById('t2');
|
||||
addRange(t2.firstChild);
|
||||
document.documentElement.removeAttribute('class');
|
||||
document.body.offsetHeight;
|
||||
setTimeout(function(){document.documentElement.removeAttribute('class')},1000);
|
||||
}
|
||||
</script>
|
||||
</head><body onload="selectText();">
|
||||
|
@ -86,7 +86,8 @@ function selectText() {
|
||||
for (i = 0; i < divs.length; ++i) {
|
||||
addRange(divs[i]);
|
||||
}
|
||||
document.documentElement.removeAttribute('class');
|
||||
document.body.offsetHeight;
|
||||
setTimeout(function(){document.documentElement.removeAttribute('class')},1000);
|
||||
}
|
||||
</script>
|
||||
</head><body onload="selectText();">
|
||||
|
Loading…
Reference in New Issue
Block a user