Bug 57160
| Summary: | [GTK] layoutTestController.overridePreference("WebKitDefaultFontSize"...) does not take into account screen DPI | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Martin Robinson <mrobinson> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | zan |
| Priority: | P3 | Keywords: | Gtk, LayoutTestFailure |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Martin Robinson
fast/harness/override-preferences-2.html uses layoutTestController.overridePreference wit the WebKitDefaultFontSize key to test overriding the default font size. The argument is a font size in pixels. The WebKit GTK+ API accepts font sizes in points. DumpRenderTree should be updated to account for the screen resolution when calculating the value to pass too the API.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Martin Robinson
Committed r82040: <http://trac.webkit.org/changeset/82040>
Martin Robinson
This is no longer an issue now that we don't have DumpRenderTree any longer.