Closed
Bug 1239856
Opened 9 years ago
Closed 9 years ago
Background-position does not work for input element on hover.
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1227327
Tracking | Status | |
---|---|---|
firefox44 | --- | unaffected |
firefox45 | + | unaffected |
firefox46 | + | unaffected |
firefox47 | --- | unaffected |
firefox48 | --- | fixed |
firefox49 | --- | fixed |
People
(Reporter: travis, Assigned: mstange)
References
Details
(Keywords: regression, testcase)
Attachments
(1 file)
468 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160107004004
Steps to reproduce:
1) Set background to a url on an input element of type "submit".
2) Set background-position on input:hover.
Actual results:
Background does not change on mouse hover.
If manually setting the element state to :hover in dev tools, the background position only changes if you scroll it off the page.
The background position does change if you click the element.
Expected results:
The position of the background image should change.
The attached test has two inputs: one of type submit that exhibits the problem and one of type text that exhibits the expected behavior.
I was able to replicate the issue in Firefox Developer Edition (45.0a2) and Firefox Nightly (46.0a1) with a new profile but not Firefox 43.0.
jsfiddle matching the attached test: https://jsfiddle.net/1n59n4eo/5/
Works in Fx44b8, not works in 45.0a2 (2016-01-12) & 46.0a1 (2016-01-12).
Status: UNCONFIRMED → NEW
status-firefox44:
--- → unaffected
status-firefox45:
--- → affected
status-firefox46:
--- → affected
Component: Untriaged → Layout
Ever confirmed: true
Keywords: regression,
testcase
Product: Firefox → Core
Version: 46 Branch → 45 Branch
It seems there are two bug:
1: the button have focus will not get background while mouse out, but the background be restore when focus out.
2: the button lost the background when got focus, not be restore.
[Tracking Requested - why for this release]: Web-facing regression
Issue 1: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=097cac1912b9658ba68389b5dd72d4cc45e762d5&tochange=21cabf6ab3e9a254cdc9370986f300213b346cb2
Issue 2: Seems affected by my profile's prefs, reproducible in safemode, not reproducible in new profile.
Blocks: 1201327
Keywords: regressionwindow-wanted
Updated•9 years ago
|
Flags: needinfo?(mstange)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Flags: needinfo?(mstange)
Comment 6•9 years ago
|
||
David, do you know who could help on this bug? Thanks
Flags: needinfo?(dbaron)
Comment 7•9 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #6)
> David, do you know who could help on this bug? Thanks
Do we need more help on this one? The regression was backed out in bug 1244258. Bug 1201327 is where further work will happen.
Flags: needinfo?(dbaron) → needinfo?(sledru)
Updated•9 years ago
|
tracking-firefox45:
+ → ---
Comment 8•9 years ago
|
||
OK, thanks for the information.
BTW, unaffected is enough to remove it from our radar (we keep the tracking because knowing that it has been tracked for 45 is an interesting information for us)
tracking-firefox45:
--- → +
Flags: needinfo?(sledru)
Assignee | ||
Comment 9•9 years ago
|
||
Bug 1201327 got backed out on 46, so this is now 46:unaffected.
Assignee | ||
Comment 10•9 years ago
|
||
I've backed out bug 1201327 on Aurora 47, so this bug is only present on Nightly now.
status-firefox47:
--- → unaffected
status-firefox48:
--- → affected
Assignee | ||
Comment 12•9 years ago
|
||
I've fixed this in bug 1227327, marking as a duplicate of that.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•9 years ago
|
Updated•9 years ago
|
status-firefox49:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•