-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for image in select dropdown.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<html> | ||
<head> | ||
<style> | ||
</style> | ||
</head> | ||
<body> | ||
Non-stylable select: | ||
<select> | ||
<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"> | ||
<datalist> | ||
<option> | ||
<img src="test.jpg" alt="test" height="15px" width="15px"> | ||
❤️heart | ||
</option> | ||
<option> | ||
🙂smile | ||
</option> | ||
</datalist> | ||
</select> | ||
</body> | ||
</html> |