Doesn't properly generate input placeholder rules
See original GitHub issuesource:
input::placeholder { color: black; }
input::-webkit-input-placeholder { line-height: 16px; /* fix chrome bug */ }
output:
input::-moz-placeholder { color: black; }
input:-ms-input-placeholder { color: black; }
input::placeholder { color: black; }
input::-webkit-input-placeholder { line-height: 16px; /* fix chrome bug */ }
expected:
input::-moz-placeholder { color: black; }
input:-ms-input-placeholder { color: black; }
input::-webkit-input-placeholder { color: black; }
input::placeholder { color: black; }
input::-webkit-input-placeholder { line-height: 16px; /* fix chrome bug */ }
I’d expect to be able to “extend” the generated webkit rule (in the example), rather than have it completely omitted by AP.
Issue Analytics
- State:
- Created 10 years ago
- Comments:23 (12 by maintainers)
Top Results From Across the Web
Don't Use The Placeholder Attribute - Smashing Magazine
An input called “Create a Password” being filled out. The placeholder reads, Wait—what's the minimum length? How many numbers do they want ...
Read more >HTML5 textarea placeholder not appearing - Stack Overflow
If you have an input in your form and placeholder is not showing because a white space at the beginning, this may be...
Read more >:placeholder-shown - CSS: Cascading Style Sheets | MDN
The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text.
Read more >Placeholders in Form Fields Are Harmful
Sometimes placeholders do not disappear when users move their input focus into the field. If the placeholder remains in the field as editable ......
Read more >The Anatomy of Accessible Forms - Deque Systems
Instructions help users to submit the form successfully. However, if the instructions are provided with a placeholder attribute, then the user ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I understand, that you have some point, but them come another user and say, that he want different logic 😉.
reduce the padding in textbox. i am able to get the placeholder in firefox