summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/selection/crashtests/selection-modify-per-word-in-table-header-group.html
blob: 66a57381eda5db2c3bba532cad9f9ef8423072f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
dialog {
  display: table-header-group;
  translate: -1px 0px 0px;
  position: sticky;
}
</style>
<script>
addEventListener("DOMContentLoaded", () => {
  window.find("1");
  getSelection().modify("move", "left", "word");
}, {once: true});
</script>
</head>
<body>
<dialog>
<span style="position: fixed">1</span>
<table dir="rtl"></table>
<video>
</video>
</dialog>
</body>
</html>