summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1734015.html
blob: 950a3f51cc635a8c4cec1822d15c795bb9b6775a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
  <style>
      * {
          all: initial;
      }
  </style>
  <script>
    document.addEventListener("DOMContentLoaded", () => {
      const selection = document.getSelection()
      const option = document.getElementById("id_0")
      selection.setPosition(option)
      selection.modify("move", "backward", "line")
    })
  </script>
</head>
<select>
  <option id="id_0"></option>
</select>
</html>