Summary: | [GTK] Do not hardcode font family in served remote inspector HTML snippets | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adrian Perez <aperez> | ||||||
Component: | WebKit Misc. | Assignee: | Adrian Perez <aperez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | berto, buildbot, cgarcia, commit-queue, darin, gustavo, mcatanzaro, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | Other | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Adrian Perez
2017-10-02 06:44:04 PDT
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. |