Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr...
[wine-gecko.git] / layout / style / viewsource.css
blob3305897b1e0b901d852c8f80e81576071989efec
1 @charset "utf-8";
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
15 * The Original Code is mozilla.org code.
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998
20 * the Initial Developer. All Rights Reserved.
22 * Contributor(s):
23 * Blake Ross <BlakeR1234@aol.com>
25 * Alternatively, the contents of this file may be used under the terms of
26 * either of the GNU General Public License Version 2 or later (the "GPL"),
27 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
39 @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
41 *|*:root {
42 background-color: white;
44 #viewsource {
45 font-family: -moz-fixed;
46 font-weight: normal;
47 color: black;
48 white-space: pre;
50 #viewsource.wrap {
51 white-space: pre-wrap;
52 word-wrap: break-word;
54 pre {
55 font: inherit;
56 color: inherit;
57 white-space: inherit;
58 margin: 0;
60 .start-tag {
61 color: purple;
62 font-weight: bold;
64 .end-tag {
65 color: purple;
66 font-weight: bold;
68 .comment {
69 color: green;
70 font-style: italic;
72 .cdata {
73 color: #CC0066;
75 .doctype {
76 color: steelblue;
77 font-style: italic;
79 .pi {
80 color: orchid;
81 font-style: italic;
83 .entity {
84 color:#FF4500;
85 font-weight: normal;
87 .text {
88 font-weight: normal;
90 .attribute-name {
91 color: black;
92 font-weight: bold;
94 .attribute-value {
95 color: blue;
96 font-weight: normal;
98 .summary {
99 display: block;
100 background-color: #FFFFCC;
101 width: 90%;
102 border: solid;
103 border-width: 1pt;
104 font-family: sans-serif;
106 .popup {
107 font-weight: normal;
109 .markupdeclaration {
110 color: steelblue;
111 font-style: italic;
113 .error, .error > .start-tag, .error > .end-tag,
114 .error > .comment, .error > .cdata, .error > .doctype,
115 .error > .pi, .error > .entity, .error > .attribute-name,
116 .error > .attribute-value {
117 color: red;
118 font-weight: bold;