diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 23:39:23 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 23:39:23 +0000 |
commit | 5dc49e45a85067fa5410cee7ffcadf5eeacd97db (patch) | |
tree | 8d3badd53562972a286d2582d69d5dfd49979362 /net/url_request | |
parent | 3bb0b82f159c8784cd71a371d106eaefd97114e9 (diff) | |
download | chromium_src-5dc49e45a85067fa5410cee7ffcadf5eeacd97db.zip chromium_src-5dc49e45a85067fa5410cee7ffcadf5eeacd97db.tar.gz chromium_src-5dc49e45a85067fa5410cee7ffcadf5eeacd97db.tar.bz2 |
Make the font sizes on about:net-internals consistent.
Use the HTML5 doctype + 0.8em fonts + WebKit monospace workaround.
Review URL: http://codereview.chromium.org/257050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r-- | net/url_request/url_request_view_net_internals_job.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/url_request/url_request_view_net_internals_job.cc b/net/url_request/url_request_view_net_internals_job.cc index eac53bc..f8cf21c 100644 --- a/net/url_request/url_request_view_net_internals_job.cc +++ b/net/url_request/url_request_view_net_internals_job.cc @@ -417,12 +417,13 @@ bool URLRequestViewNetInternalsJob::GetData(std::string* mime_type, return true; } - data->append("<html><head><title>Network internals</title>" + data->append("<!DOCTYPE HTML>" + "<html><head><title>Network internals</title>" "<style>" - "body { font-family: sans-serif; }\n" + "body { font-family: sans-serif; font-size: 0.8em; }\n" + "tt, code, pre { font-family: WebKitHack, monospace; }\n" ".subsection_body { margin: 10px 0 10px 2em; }\n" ".subsection_title { font-weight: bold; }\n" - ".subsection_name { font-size: 80%; }\n" "</style>" "</head><body>" "<p><a href='http://dev.chromium.org/" |