Closed
Bug 1019835
Opened 11 years ago
Closed 11 years ago
-moz-placeholder does not work when combined with other pseudo selectors
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: daniel.c.herman, Unassigned)
References
()
Details
(Keywords: testcase)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36
Steps to reproduce:
1. Open http://jsfiddle.net/uVZt5/1/
Basically, trying to combine multiple selectors targeting the placeholder in a single rule ( other vendor prefixes, no prefix ) seems to cause the rule to not work.
Actual results:
The placeholder text is not red
Expected results:
The placeholder text should be red
Updated•11 years ago
|
Component: Untriaged → Layout: Form Controls
Keywords: testcase
Product: Firefox → Core
Version: 29 Branch → Trunk
Comment 1•11 years ago
|
||
Per spec, a rule with an invalid selector (and an unknown pseudo-element makes a selector invalid) is ignored. That's what you're seeing here.
Note that some UAs don't implement this part of the spec correctly.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•