summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/crashtests/unicode-bidi-select-crash.html
blob: b36a37616b646e41ba75e56e699d21aacd2eb70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1329417">
<style>
  select {
    unicode-bidi: bidi-override;
  }
</style>
<body>
  <select>
    <option>Test1</option>
    <option id="opt" hidden="hidden">Test2</option>
  </select>
</body>
<script>
  document.body.offsetTop;
  opt.defaultSelected = true;
  window.getSelection().selectAllChildren(document.body);
  document.vlinkColor = "red";
</script>