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

Description Derk-Jan Hartman 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.
Comment 1 Derk-Jan Hartman 2013-12-20 13:37:50 PST
Created attachment 219787 [details]
with type="search" and appearance:none;
Comment 2 Derk-Jan Hartman 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