summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/forms/the-select-element/stylable-select/native-popup-with-datalist.tentative.html
blob: a968c6a164165b46266870c67258bdd4d9473787 (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
<!DOCTYPE html>
<html class=reftest-wait>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=help href="https://github.com/whatwg/html/issues/9799">
<link rel=match href="native-popup-with-datalist-ref.html">
<link rel=assert title="The native popup of a select should show options descending from datalists">
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>

<select>
  <datalist>
    <div>
      <option>one</option>
      <hr>
      <option>two</option>
    </div>
  </datalist>
</select>

<script>
(async () => {
  await test_driver.click(document.querySelector('select'));
  document.documentElement.classList.remove('reftest-wait');
})();
</script>