From 096559bd2e233cae1dc14f33faf95e412c30be90 Mon Sep 17 00:00:00 2001 From: "eroman@chromium.org" Date: Tue, 11 May 2010 06:14:51 +0000 Subject: Aesthetic change to about:net-internals -- make the tables look less ugly by collapsing the border. TBR=willchan Review URL: http://codereview.chromium.org/1987010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46893 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/resources/net_internals/index.html | 4 ++-- chrome/browser/resources/net_internals/main.css | 18 ++++++++++++++++++ chrome/browser/resources/net_internals/testview.js | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/chrome/browser/resources/net_internals/index.html b/chrome/browser/resources/net_internals/index.html index 0c2a336..2977ba0 100644 --- a/chrome/browser/resources/net_internals/index.html +++ b/chrome/browser/resources/net_internals/index.html @@ -50,7 +50,7 @@ found in the LICENSE file. Proxies which have failed recently, and are marked as bad - +
@@ -74,7 +74,7 @@ found in the LICENSE file. -
Bad proxy server
+
diff --git a/chrome/browser/resources/net_internals/main.css b/chrome/browser/resources/net_internals/main.css index a831ca8..74a0c28 100644 --- a/chrome/browser/resources/net_internals/main.css +++ b/chrome/browser/resources/net_internals/main.css @@ -201,3 +201,21 @@ body { #proxyTabContent th { font-size: 12px; } + +/* + * Styles for TABLE that uses a thin collapsed border. + */ +table.styledTable { + border-collapse:collapse; +} + +table.styledTable, +.styledTable th, +.styledTable td { + border: 1px solid #777; +} + +.styledTable th { + background: rgb(224,236,255); +} + diff --git a/chrome/browser/resources/net_internals/testview.js b/chrome/browser/resources/net_internals/testview.js index e721606..17be709 100644 --- a/chrome/browser/resources/net_internals/testview.js +++ b/chrome/browser/resources/net_internals/testview.js @@ -42,7 +42,7 @@ TestView.prototype.onStartedConnectionTestSuite = function() { // Add a table that will hold the individual test results. var table = addNode(this.summaryDiv_, 'table'); - table.border = 1; + table.className = 'styledTable'; var thead = addNode(table, 'thead'); thead.innerHTML = '' + ''; -- cgit v1.1
Hostname
ResultExperimentErrorTime (ms)