I use WebView inside one of my programs, and there is a <select> inside the HTML page that I am viewing. I would like to add icons to the <option> elements that it contains, for example:

(There is no shadow effect, so itβs easy to overlook that this is a drop-down list, but there is one.)
Is it possible? All my efforts to create <option> tags or put images in them have so far failed.
Since it will not be displayed by another rendering engine, I only need to work with WebKit. I am also well versed in a solution that involves tricking WebView, and it will never work in a browser, although it would be nice if it worked in a browser too.
source share