Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Unified Diff: net/url_request/url_request_view_net_internals_job.cc

Issue 257050: Make the font sizes on about:net-internals consistent. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_view_net_internals_job.cc
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 eac53bce5b68ebb6c5723ed7ae65010f9772c5a3..f8cf21c651c265d58e2a0f3c28f43c506c8bbce8 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/"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698