| Summary: | unstyled input type=search forces text indent | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Derk-Jan Hartman <hartman.wiki> | ||||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED INVALID | ||||||||
| Severity: | Normal | ||||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
Created attachment 219787 [details]
with type="search" and appearance:none;
Apparently you need all of this:
input[type="search"] {
-webkit-appearance: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
-webkit-apparence: none;
}
That doesn't really match my expectations, but ok
|
Created attachment 219786 [details] screenshot with type="text" When you have an input with type="search" which employs -webkit-appearance:search field, and you counter this with -webkit-appearance:none; you still have a text indent present that shouldn't be there.