Open Bug 1453886 Opened 2 years ago Updated 5 months ago

Tiling checkbox image when change size of input element

Categories

(Core :: Widget: Gtk, defect)

59 Branch
Unspecified
Linux
defect
Not set

Tracking

()

Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- affected
firefox59 --- wontfix
firefox60 --- wontfix
firefox61 --- wontfix
firefox62 --- fix-optional

People

(Reporter: xotonic, Assigned: stransky)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

54 bytes, text/html
Details
Attached file test.html
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
Blocks: 1406268
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
OS: Unspecified → Linux
Product: Firefox → Core
Component: Layout → Widget: Gtk
Martin, is this something you'd be interested in looking at by chance?
Okay.
Flags: needinfo?(stransky)
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.
Assignee: nobody → stransky
Blocks: linuxtheme
You need to log in before you can comment on or make changes to this bug.