Bug 867089 - Validate the playbackRate before using it. r=ehsan
[gecko.git] / layout / style / viewsource.css
blob5ee0320a67006da395aa2f55cc137aeba48af566
1 @charset "utf-8";
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
8 *|*:root {
9 background-color: white;
10 color: black;
11 direction: ltr;
13 #viewsource {
14 font-family: -moz-fixed;
15 font-weight: normal;
16 white-space: pre;
17 counter-reset: line;
19 #viewsource.wrap {
20 white-space: pre-wrap;
21 word-wrap: break-word;
23 pre {
24 font: inherit;
25 color: inherit;
26 white-space: inherit;
27 margin: 0 0 0 5ch;
29 pre[id]:before,
30 span[id]:before {
31 content: counter(line) " ";
32 counter-increment: line;
33 -moz-user-select: none;
34 display: inline-block;
35 width: 5ch;
36 margin: 0 0 0 -5ch;
37 text-align: right;
38 color: #ccc;
39 font-weight: normal;
40 font-style: normal;
42 span[id]:after {
43 content: "\200e"; /* workaround for bug 717811 */
45 .start-tag {
46 color: purple;
47 font-weight: bold;
49 .end-tag {
50 color: purple;
51 font-weight: bold;
53 .comment {
54 color: green;
55 font-style: italic;
57 .cdata {
58 color: #CC0066;
60 .doctype {
61 color: steelblue;
62 font-style: italic;
64 .pi {
65 color: orchid;
66 font-style: italic;
68 .entity {
69 color:#FF4500;
70 font-weight: normal;
72 .text {
73 font-weight: normal;
75 .attribute-name {
76 color: black;
77 font-weight: bold;
79 .attribute-value {
80 color: blue;
81 font-weight: normal;
83 .markupdeclaration {
84 color: steelblue;
85 font-style: italic;
87 span:not(.error), a:not(.error) {
88 unicode-bidi: embed;
90 span[id] {
91 unicode-bidi: -moz-isolate;
93 .error,
94 .error > :-moz-any(.start-tag, .end-tag, .comment, .cdata, .doctype, .pi,
95 .entity, .attribute-name, .attribute-value) {
96 color: red;
97 font-weight: bold;