summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/interactive-elements/the-details-element/auto-expand-window-find-crash.html
blob: d24b4634cd3e557216386058d846e43cbc2b6c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=1264704">

<script>
function runTest() {
 details2.appendChild(child);
 document.caretRangeFromPoint();
}
</script>

<body onload=runTest()>

<details style="writing-mode: vertical-rl">
  <div id=child>foo</div>
</details>

<details id=details2 open=true ontoggle="window.find()">