summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/form-controls/select-fixedpos-crash.html
blob: 47046f6c2533aef9e8fb9d078eb160b9aac1b6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<meta charset=utf-8>
<link rel=author href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel=author href="https://mozilla.org" title="Mozilla">
<link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1741776">
<style>
#a {
  rotate: 1deg 1 0 44;
  filter: drop-shadow(81px 6px 0px red);
}
</style>
<script>
window.onload = function() {
  document.getElementById("b").appendChild(document.getElementById("c"));
}
</script>
<select id="a" multiple="multiple">
  <option id="b">x</option>
</select>
<div id="c" style="position: fixed; top: 0; left: 0;">
  x
</div>