Closed Bug 1533900 Opened 5 years ago Closed 5 years ago

Span inside button does not apply css hover effects

Categories

(Core :: DOM: Events, defect)

65 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1089326
Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- fixed
firefox67 --- fixed

People

(Reporter: adjenks, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

https://jsfiddle.net/7o6fx5vh/1/

Actual results:

Hover styles not applied to span inside button.

Expected results:

Hover styles should be applied to span inside button.

Fixed range:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=f6eebcc14c22762f521fb567a9588963b8720592&tochange=61570c16c2d564c24fab36713fb169c4144453e9

Fixed by: 36b949bef798 Olli Pettay — Bug 1089326, make <button> hit testing similar to other elements which may have some content, and for click target find the common (interactive) ancestor, r=masayuki

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Component: Untriaged → DOM: Events
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.