There's a string with a HTML+CSS snippet in Source/WebKit/UIProcess/API/gtk/WebKitRemoteInspectorProtocolHandler.cpp which contains a hardcoded font. It seems like it would be a good idea to not hardcode this.
This could be done in a similar way as this patch in Epiphany: https://bugzilla.gnome.org/show_bug.cgi?id=783489 It uses “font:menu” to obtain the system font, which is supported since CSS 2. I'll be sending a patch.
Created attachment 322373 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Created attachment 322441 [details] Patch for landing
Comment on attachment 322441 [details] Patch for landing Clearing flags on attachment: 322441 Committed r222749: <http://trac.webkit.org/changeset/222749>
All reviewed patches have been landed. Closing bug.
<rdar://problem/34777611>