XUL checkbox, radio and listitem-checkbox-iconic elements have both a system image and an optional user image which can be specified using either the src attribute or the CSS list-style-image. However on my linux build I notice that the list-style-image sometimes affects the system checkbox image. I asked for someone else to try my test case and Antoine reported that his checkbox was OK but his listitem-checkbox-iconic was not. On Windows the original display is correct, but by turning -moz-appearance off (via inline style) and on again, the display is corrupted. A little over 10 years ago a bunch of "unnecessary" list-style-image: none; rules were removed from the Classic skin. Restoring these rules could be used to work around this bug. (Modern still has those rules of course.)
Created attachment 583294 [details] Screen shot Top half - using CSS style to apply image (unexpected rendering) Bottom half - using XUL attribute to apply image (expected rendering)
Note: Checking the test case requires either the Remote XUL manager extension (whose preferences are accessed via "Tools → Web Development →"), or downloading the test case and setting the hidden Boolean pref dom.allow_XUL_XBL_for_file
Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111220 Firefox/11.0a1 SeaMonkey/2.8a1 ID:20111220003001 Here the additional logo consistently appears inside the checkbox (not next no it); the checkbox size is either normal (in the "checkbox css" tab, with a logo zoomed-out to only a few pixels) or the size of the logo ("listitem css" tab, see screenshot at http://users.skynet.be/antoine.mechelynck/other/listitem.css.png ). In both cases the normal logo is also displayed right of the checkbox.
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.