summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug1359411-ref.html
blob: 939a2f4e63ff489291297d35bb21f2a65dc315f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html><head><style>
  i:before{content:"X"}
</style></head><body onload="runTest()"><div><button type="button"><i></i></button><p></p></div><editor contenteditable="true">focus me, then press the UP key</editor>
<script>
function runTest() {
  document.body.offsetHeight;
  var e = document.querySelector('editor');
  e.focus()
}
</script>