Open Bug 1453886 Opened 2 years ago Updated 5 months ago
Tiling checkbox image when change size of input element
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180404140433 Steps to reproduce: Create empty page with html: <input type="checkbox" style="width:32px;height:32px"> Actual results: Checkbox image is tiling Expected results: Checkbox image should be resized
Thanks for the report. I have reproduced the issue and also isolated the regression range: Last good revision: 9faf8dcf5c6e22cd7de1f7e111417d84d30a8ec1 First bad revision: 37707fcd8a55a2dcb3a0fee5c032f87ec81d921c Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=9faf8dcf5c6e22cd7de1f7e111417d84d30a8ec1&tochange=37707fcd8a55a2dcb3a0fee5c032f87ec81d921c
Martin, is this something you'd be interested in looking at by chance?
I'm a bit confused here. Before Bug 1406268 the checkbox was rendered at system size and when the system size was bigger that the html element size the checkbox was centered. After Bug 1406268 the checkbox is placed to upper left corner and width/height is scaled. What's the desired result here? Do you want to scale the checkbox over the HTML element size? If so the Bug 1406268 can't do that as GTK+ does not scale it for us, it renders is by default size no matter how big width/height we pass to it.
You need to log in before you can comment on or make changes to this bug.