Closed Bug 1041793 Opened 10 years ago Closed 10 years ago

:hover pseudo class does not work on child of button element

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 843003

People

(Reporter: aoprea, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

143 bytes, text/html
Details
If you have a <span> element inside of a <button> you cannot style it using the :hover pseudo class. 

Example http://jsbin.com/kiyahuci/1/edit

According to MDN page on button [0] you should (phrasing content)

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
Component: General → DOM: Core & HTML
Product: Firefox → Core
Attached file testcase
This never ever worked in Gecko (and Presto FWIW)
Keywords: testcase
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: