Add icon to selected entry (currently icons are only shown in dropdown)
The dropdown boxes currently show icons in the dropdown menu, but not in the closed dropdown. This can be seen in e.g. the 'Type' field in a Page Element.
The attached patch add this.
As all this patch does is attach a style attribute to the select tag, the risk is very low.
Note that the patch uses it's own styling, since using the styling from function optionTagStyle() makes the dropdown box look bad.
Note: Opera does not show icons at all in the dropdown - with or without this patch.
(issue imported from #M7962)