Summary: | [Gtk] Initialize webview settings before running DRT tests | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jan Alonzo <jmalonzo> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | Keywords: | Gtk | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Jan Alonzo
2008-06-26 06:15:16 PDT
Created attachment 21946 [details]
Initialize webView settings before running test
This matches some of Mac's font settings. Is there anything else I'm missing? (apart from the ones that are not yet implemented)
Comment on attachment 21946 [details] Initialize webView settings before running test >+ g_object_set(G_OBJECT(settings), >+ "default-font-family", "Times", >+ "monospace-font-family", "Courier", >+ "serif-font-family", "Times", >+ "sans-serif-font-family", "Helvetica", >+ "default-font-size", 16, >+ "default-monospace-font-size", 13, >+ "minimum-font-size", 1, >+ NULL); This looks fine to me. > This matches some of Mac's font settings. Is there anything else I'm missing? You might also disable the back forward list via webkit_web_view_set_maintains_back_forward_list. According to a comment in the mac port leaving it enabled, which is the case by default, can cause layout bugs. |