Bug 126079

Summary: unstyled input type=search forces text indent
Product: WebKit Reporter: Derk-Jan Hartman <hartman.wiki>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
screenshot with type="text"
none
with type="search" and appearance:none; none

Derk-Jan Hartman
Reported 2013-12-20 13:37:22 PST
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.
Attachments
screenshot with type="text" (7.80 KB, image/png)
2013-12-20 13:37 PST, Derk-Jan Hartman
no flags
with type="search" and appearance:none; (7.97 KB, image/png)
2013-12-20 13:37 PST, Derk-Jan Hartman
no flags
Derk-Jan Hartman
Comment 1 2013-12-20 13:37:50 PST
Created attachment 219787 [details] with type="search" and appearance:none;
Derk-Jan Hartman
Comment 2 2013-12-20 13:54:59 PST
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
Note You need to log in before you can comment on or make changes to this bug.