Bug 22069

Summary: [GTK] Input field displayed weird on jisho.org
Product: WebKit Reporter: Martin Sourada <martin.sourada>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: alp, jmalonzo, mrobinson
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
URL: http://jisho.org/
Attachments:
Description Flags
Screenshot of jisho in webkit-gtk (midori browser)
none
Screenshot of jisho on gecko (epiphany browser) none

Description Martin Sourada 2008-11-04 14:12:05 PST
Input fields on http://jisho.org/ are displayed wierd - there is a nonfunctional drop-down button inside the field and when you write something, also checkbox inside the field appears. Furthermore, cursor/text isn't vertically centered there. This does not happen on gecko based browsers. I'll attach screenshots for comparison. Also the word Japanese usually gets separated into two lines, not sure if it's a bug in webkit though.
Comment 1 Martin Sourada 2008-11-04 14:12:51 PST
Created attachment 24894 [details]
Screenshot of jisho in webkit-gtk (midori browser)
Comment 2 Martin Sourada 2008-11-04 14:13:35 PST
Created attachment 24895 [details]
Screenshot of jisho on gecko (epiphany browser)
Comment 3 Alp Toker 2008-11-06 07:36:11 PST
Confirmed. This is due to our naive implementation of WebKit search input fields.

The code is in the WebCore/platform/gtk/RenderThemeGtk.cpp RenderThemeGtk::paintSearchField*() functions. I won't have time to work on this any time soon but can review patches.
Comment 4 Jan Alonzo 2008-12-05 13:59:05 PST
Alp,

Should we follow Mac/Safari wrt the search input or you OK with just a simple text box (Chrome/Win only displays a text box IIRC)
Comment 5 Martin Robinson 2012-02-20 14:16:45 PST
Search fields are fully implemented now.