Backed out changeset 4730eb3ec77a (bug 246620)
authorGeoff Lankow <geoff@darktrojan.net>
Mon, 26 Dec 2011 13:19:08 +1300
changeset 84582 9f29daaecbcc646a4e233c2f1863eebbb32f28a5
parent 84581 389a18921ea5b47430c3323f4a62d5cfa5b2b872
child 84583 93b804e5f3f52dde909e45e5da157e74a6a5e5bf
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs246620
milestone12.0a1
backs out4730eb3ec77ab1e13aa60bcec18d94e2e6fb4685
Backed out changeset 4730eb3ec77a (bug 246620)
layout/style/viewsource.css
--- a/layout/style/viewsource.css
+++ b/layout/style/viewsource.css
@@ -16,17 +16,16 @@
  *
  * The Initial Developer of the Original Code is
  * Netscape Communications Corporation.
  * Portions created by the Initial Developer are Copyright (C) 1998
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
  *   Blake Ross <BlakeR1234@aol.com>
- *   Geoff Lankow <geoff@darktrojan.net>
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either of the GNU General Public License Version 2 or later (the "GPL"),
  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  * in which case the provisions of the GPL or the LGPL are applicable instead
  * of those above. If you wish to allow use of your version of this file only
  * under the terms of either the GPL or the LGPL, and not to allow others to
  * use your version of this file under the terms of the MPL, indicate your
@@ -43,40 +42,26 @@
   background-color: white;
   color: black;
   direction: ltr;
 }
 #viewsource {
   font-family: -moz-fixed;
   font-weight: normal;
   white-space: pre;
-  counter-reset: line;
 }
 #viewsource.wrap {
   white-space: pre-wrap;
   word-wrap: break-word;
 }
 pre {
   font: inherit;
   color: inherit;
   white-space: inherit; 
-  margin: 0 0 0 5ch;
-}
-pre[id]:before,
-span[id]:before {
-  content: counter(line) " ";
-  counter-increment: line;
-  -moz-user-select: none;
-  display: inline-block;
-  width: 5ch;
-  margin: 0 0 0 -5ch;
-  text-align: right;
-  color: #ccc;
-  font-weight: normal;
-  font-style: normal;
+  margin: 0;
 }
 .start-tag {
  color: purple;
  font-weight: bold;
 }
 .end-tag {
  color: purple;
  font-weight: bold;