Backed out changeset 4730eb3ec77a (bug 246620)
authorGeoff Lankow <geoff@darktrojan.net>
Mon, 26 Dec 2011 13:19:08 +1300
changeset 83357 9f29daaecbcc646a4e233c2f1863eebbb32f28a5
parent 83356 389a18921ea5b47430c3323f4a62d5cfa5b2b872
child 83358 93b804e5f3f52dde909e45e5da157e74a6a5e5bf
push id21753
push userphilringnalda@gmail.com
push dateMon, 26 Dec 2011 04:52:27 +0000
treeherdermozilla-central@9f29daaecbcc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs246620
milestone12.0a1
backs out4730eb3ec77ab1e13aa60bcec18d94e2e6fb4685
first release with
nightly linux32
9f29daaecbcc / 12.0a1 / 20111226031002 / files
nightly linux64
9f29daaecbcc / 12.0a1 / 20111226031002 / files
nightly mac
9f29daaecbcc / 12.0a1 / 20111226031002 / files
nightly win32
9f29daaecbcc / 12.0a1 / 20111226031002 / files
nightly win64
9f29daaecbcc / 12.0a1 / 20111226031002 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;