Ensure options in listbox selects are not stacking contexts by default.

We could have a different property or something but this seems
reasonable as well probably.

Differential Revision: https://phabricator.services.mozilla.com/D146994

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1770532
gecko-commit: 13e019e7feadb07e3cef67334eb33a45e4191429
gecko-reviewers: dholbert
diff --git a/html/rendering/replaced-elements/the-option-element/select-multiple-covered-by-abspos-ref.html b/html/rendering/replaced-elements/the-option-element/select-multiple-covered-by-abspos-ref.html
new file mode 100644
index 0000000..3cb496e
--- /dev/null
+++ b/html/rendering/replaced-elements/the-option-element/select-multiple-covered-by-abspos-ref.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<title>Test reference</title>
+<style>
+.abspos {
+  position: absolute;
+  background-color: green;
+  height: 300px;
+  width: 300px;
+}
+</style>
+<div class="abspos"></div>
diff --git a/html/rendering/replaced-elements/the-option-element/select-multiple-covered-by-abspos.html b/html/rendering/replaced-elements/the-option-element/select-multiple-covered-by-abspos.html
new file mode 100644
index 0000000..ed29025
--- /dev/null
+++ b/html/rendering/replaced-elements/the-option-element/select-multiple-covered-by-abspos.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<meta charset="utf-8">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1770532">
+<link rel="author" href="mailto:dholbert@mozilla.com" title="Daniel Holbert">
+<link rel="author" href="https://mozilla.org" title="Mozilla">
+<link rel="match" href="select-multiple-covered-by-abspos-ref.html">
+<title>Combobox selects are not stacking contexts by default</title>
+<style>
+.abspos {
+  position: absolute;
+  background-color: green;
+  height: 300px;
+  width: 300px;
+}
+</style>
+<div class="abspos"></div>
+<select multiple>
+  <option>This text shouldn't be visible.</option>
+</select>