Skip to content

Commit

Permalink
Add select tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketj committed Sep 23, 2024
1 parent 33ae6b8 commit fdf5196
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<html>
<head>
<style>
</style>
</head>
<body>
Non-stylable select:
<select>
<button>
<selectedoption></selectedoption>
</button>
<button>
<selectedoption></selectedoption>
</button>
<datalist>
<option>
<img src="../../test.jpg" alt="test" height="15px" width="15px">
❤️heart
</option>
<option>
🙂smile
</option>
</datalist>
</select>
<br>
<br>
Stylable select:
<select style="appearance:base-select">
<button>
<selectedoption></selectedoption>
</button>
<button>
<selectedoption></selectedoption>
</button>
<datalist>
<option>
<img src="../../test.jpg" alt="test" height="15px" width="15px">
❤️heart
</option>
<option>
🙂smile
</option>
</datalist>
</select>
</body>
</html>
28 changes: 28 additions & 0 deletions controls/select-element/select-listbox.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<html>
<head>
<style>
</style>
</head>
<body>
Non-stylable select:
<select size="2">
<option>
❤️heart
</option>
<option>
🙂smile
</option>
</select>
<br>
<br>
Stylable select:
<select style="appearance:base-select" size="2">
<option>
❤️heart
</option>
<option>
🙂smile
</option>
</select>
</body>
</html>

0 comments on commit fdf5196

Please sign in to comment.