summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/1366623-1-ref.html
blob: f8d553a93b4ac9970ac844e2360cf0ed66460d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html class="reftest-wait">
<meta charset=utf-8>
<body>
<div id="test" contenteditable>Example</div>
<script>
var elem = document.getElementById("test");
var sel = window.getSelection();
sel.removeAllRanges();
var range = document.createRange();
range.setStart(elem.firstChild, 1);
range.setEnd(elem.firstChild, 1);
sel.addRange(range);
sel.removeAllRanges();
elem.offsetHeight;
document.documentElement.removeAttribute("class");
</script>