File: INVALID.css

package info (click to toggle)
iceweasel 2.0.0.19-0etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 298,784 kB
  • ctags: 317,912
  • sloc: cpp: 1,796,902; ansic: 987,677; xml: 109,036; makefile: 47,777; asm: 35,201; perl: 26,983; sh: 20,879; cs: 6,232; java: 5,513; python: 3,249; pascal: 459; lex: 306; php: 244; csh: 132; objc: 97; yacc: 79; ada: 49; awk: 14; sql: 4; sed: 4
file content (410 lines) | stat: -rw-r--r-- 13,232 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is mozilla.org code.
 *
 * 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):
 *
 * 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
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */
/* Test of illegal CSS1 input.
   Illegal @ rules */
@ignored;
P { color: purple }
@ignored [ skip me ];
P { color: purple }
@ignored { skip me }
P { color: purple }
@ignored ( skip me too );
P { color: purple }

/* Handle dangling semi-colons. Outside the scope of the CSS1 document
   but a reasonable parser should be able to eat them. */
@extra-semicolon;;
P { color: purple }

/* These are all properties that have an extra keyword (fish) at the
   end. CSS1 says that such properties are to be ignored. Because the
   properties are all set in the BODY tag we can see if anything
   happens to invalid.html when this sheet is loaded (there should be
   no effect because the entire declaration block should be skipped). */
BODY {
  word-spacing: normal fish;
  wOrd-spacing: 12.0em fish;
  WoRd-Spacing: 12.0eX fish;
  worD-Spacing: 12PX fish;
  word-Spacing: 12.0In fish;
  word-sPacing: 12.0cm fish;
  word-spAcing: 12.0mm fish;
  word-spaCing: 12.0pt fish;
  word-spacIng: 12.0pc fish;
  color: red fish;
  color: rgb(0, 0, 0) fish;
  color: rGb(110%, 23, 9123784328342834) fish;
  color: #f00 fish;
  color: #ff00ff fish;
  background: red none repeat scroll 20% 30% fish;
  background: none repeat scroll 20% 30% red fish;
  background: repeat scroll 20% 30% red none fish;
  background: scroll 20% 30% red none repeat fish;
  background: 20% 30% red none repeat scroll fish;
  background-color: blue fish;
  background-color: rgb(0, 0, 0) fish;
  background-color: rGb(110%, 23, 9123784328342834) fish;
  BackGround-Color: Transparent fish;
  background-image: none fish;
  background-image: url(fowl.url) fish;
  background-image: url( fowl.url ) fish;
  background-image: url( "fowl.url" ) fish;
  background-image: url( 'fowl.url' ) fish;
  background-repeat: repeat fish;
  background-repeat: repeat-x fish;
  background-repeat: repeat-y fish;
  background-repeat: no-repeat fish;
  Background-Attachment: Scroll fish;
  Background-Attachment: Fixed fish;
  background-position: 73% fish;
  background-position: -73% fish;
  background-position: +3% fish;
  background-position: +3.5% fish;
  background-position: 10% 20% fish;
  background-position: 10% 23in fish;
  background-position: 23in fish;
  background-position: 23in 10% fish;
  Background-Position: 23IN 30CM fish;
  Background-Position: top left fish;
  Background-Position: left top fish;
  Background-Position: top fish;
  Background-Position: top center fish;
  Background-Position: center top fish;
  Background-Position: right top fish;
  Background-Position: top right fish;
  Background-Position: left fish;
  Background-Position: left center fish;
  Background-Position: center left fish;
  Background-Position: right fish;
  Background-Position: right center fish;
  Background-Position: center right fish;
  Background-Position: bottom fish;
  Background-Position: bottom center fish;
  Background-Position: center bottom fish;
  Background-Position: bottom right fish;
  Background-Position: right bottom fish;
  font: italic small-caps bold 12pt helvetica
  font: italic bold small-caps 12pt helvetica
  font: small-caps bold italic 12pt helvetica
  font: small-caps italic bold 12pt helvetica
  font: bold italic small-caps 12pt helvetica
  font: bold small-caps italic 12pt helvetica
  font: bold 12pt helvetica
  font: 12pt helvetica
  font: 12pt/14pt sans-serif 27;
  font: 80% sans-serif 27;
  font: x-large/110% "new century schoolbook", serif 27;
  font: bold italic large Palatino, serif 27;
  font: normal small-caps 120%/120% fantasy 27;
  font-family: gill, helvetica, times new roman, sans-serif 27;
  font-style: normal fish;
  font-style: italic fish;
  font-style: oblique fish;
  font-variant: normal fish;
  font-variant: small-caps fish;
  font-weight: normal fish;
  font-weight: bold fish;
  font-weight: bolder fish;
  font-weight: lighter fish;
  font-weight: 100 fish;
  font-weight: 200 fish;
  font-weight: 300 fish;
  font-weight: 400 fish;
  font-weight: 500 fish;
  font-weight: 600 fish;
  font-weight: 700 fish;
  font-weight: 800 fish;
  font-weight: 900 fish;
  font-size: Xx-smAll fish;
  font-size: x-Small fish;
  font-size: Small fish;
  font-size: Medium fish;
  font-size: LaRgE fish;
  font-size: x-LaRgE fish;
  font-size: Xx-LaRgE fish;
  font-size: LaRgEr fish;
  font-size: smalLer fish;
  font-size: 3.0in fish;
  font-size: 120% fish;
  letter-spacing: normal fish;
  letter-spacing: 3.0in fish;
  text-decoration: none fish;
  text-decoration: underline fish;
  text-decoration: overline underline fish;
  text-decoration: line-through overline underline fish;
  text-decoration: blink line-through overline underline fish;
  vertical-align: baseline fish;
  vertical-align: sub fish;
  vertical-align: super fish;
  vertical-align: top fish;
  vertical-align: text-top fish;
  vertical-align: middle fish;
  vertical-align: bottom fish;
  vertical-align: text-bottom fish;
  vertical-align: 120% fish;
  text-transform: capitalize fish;
  text-transform: uppercase fish;
  text-transform: lowercase fish;
  text-transform: none fish;
  text-align: left fish;
  text-align: right fish;
  text-align: center fish;
  text-align: justify fish;
  text-indent: 3.0in fish;
  text-indent: 120% fish;
  line-height: normal fish;
  line-height: 17 fish;
  line-height: 17.0in fish;
  line-height: 17% fish;
  margin-top: 17.0in fish;
  margin-top: 120% fish;
  margin-top: auto fish;
  margin-right: 17.0in fish;
  margin-right: 120% fish;
  margin-right: auto fish;
  margin-bottom: 17.0in fish;
  margin-bottom: 120% fish;
  margin-bottom: auto fish;
  margin-left: 17.0in fish;
  margin-left: 120% fish;
  margin-left: auto fish;
  margin: 17.0in fish;
  margin: 120% fish;
  margin: auto fish;
  margin: 17.0in auto fish;
  margin: 17.0in 120% fish;
  margin: 17.0in 17.0in fish;
  margin: 120% 17.0in fish;
  margin: 120% auto fish;
  margin: 120% 120% fish;
  margin: auto 120% fish;
  margin: auto 17.0in fish;
  margin: auto auto fish;
  margin: 17.0in 17.0in 17.0in fish;
  margin: 17.0in 17.0in 120% fish;
  margin: 17.0in 17.0in auto fish;
  margin: 17.0in 120% 17.0in fish;
  margin: 17.0in auto 17.0in fish;
  margin: 17.0in 17.0in 17.0in 17.0in fish;
  margin: 17.0in 120% 17.0in 17.0in fish;
  margin: 120% 120% 17.0in 17.0in fish;
  margin: 120% 120% 120% 17.0in fish;
  margin: 120% 120% 120% 120% fish;
  padding-top: 17.0in fish;
  padding-top: 120% fish;
  padding-right: 17.0in fish;
  padding-right: 120% fish;
  padding-bottom: 17.0in fish;
  padding-bottom: 120% fish;
  padding-left: 17.0in fish;
  padding-left: 120% fish;
  padding: 17.0in fish;
  padding: 120% fish;
  padding: 17.0in 120% fish;
  padding: 17.0in 17.0in fish;
  padding: 120% 17.0in fish;
  padding: 120% 120% fish;
  padding: 17.0in 17.0in 17.0in fish;
  padding: 17.0in 17.0in 120% fish;
  padding: 17.0in 120% 17.0in fish;
  padding: 17.0in 17.0in 17.0in 17.0in fish;
  padding: 17.0in 120% 17.0in 17.0in fish;
  padding: 120% 120% 17.0in 17.0in fish;
  padding: 120% 120% 120% 17.0in fish;
  padding: 120% 120% 120% 120% fish;
  border-top-width: thin fish;
  border-top-width: medium fish;
  border-top-width: thick fish;
  border-top-width: 3.0in fish;
  border-right-width: thin fish;
  border-right-width: medium fish;
  border-right-width: thick fish;
  border-right-width: 3.0in fish;
  border-bottom-width: thin fish;
  border-bottom-width: medium fish;
  border-bottom-width: thick fish;
  border-bottom-width: 3.0in fish;
  border-left-width: thin fish;
  border-left-width: medium fish;
  border-left-width: thick fish;
  border-left-width: 3.0in fish;
  border-width: thin fish;
  border-width: 3.0in fish;
  border-width: thick thick fish;
  border-width: 3.0in thick fish;
  border-width: thin 3.0in thick fish;
  border-width: 3.0in thick thin fish;
  border-width: 3.0in thick medium fish;
  border-color: red fish;
  border-color: red blue fish;
  border-color: red blue rgb(0, 0, 0) fish;
  border-color: red blue green yellow fish;
  border-style: none fish;
  border-style: dotted fish;
  border-style: dashed fish;
  border-style: solid fish;
  border-style: double fish;
  border-style: groove fish;
  border-style: ridge fish;
  border-style: inset fish;
  border-style: outset fish;
  border-style: dashed none fish;
  border-style: dashed dotted none fish;
  border-style: dashed dotted inset none fish;
  border-top: 3.0in fish;
  border-top: thin fish;
  border-top: 3.0in dashed fish;
  border-top: thin dotted fish;
  border-top: 3.0in dashed red fish;
  border-top: thin dotted green fish;
  border-top: green thin dotted fish;
  border-top: green dotted thin fish;
  border-right: 3.0in fish;
  border-right: thin fish;
  border-right: 3.0in dashed fish;
  border-right: thin dotted fish;
  border-right: 3.0in dashed red fish;
  border-right: thin dotted green fish;
  border-right: green thin dotted fish;
  border-right: green dotted thin fish;
  border-bottom: 3.0in fish;
  border-bottom: thin fish;
  border-bottom: 3.0in dashed fish;
  border-bottom: thin dotted fish;
  border-bottom: 3.0in dashed red fish;
  border-bottom: thin dotted green fish;
  border-bottom: green thin dotted fish;
  border-bottom: green dotted thin fish;
  border-left: 3.0in fish;
  border-left: thin fish;
  border-left: 3.0in dashed fish;
  border-left: thin dotted fish;
  border-left: 3.0in dashed red fish;
  border-left: thin dotted green fish;
  border-left: green thin dotted fish;
  border-left: green dotted thin fish;
  border: 3.0in fish;
  border: thin fish;
  border: 3.0in dashed fish;
  border: thin dotted fish;
  border: 3.0in dashed red fish;
  border: thin dotted green fish;
  border: green thin dotted fish;
  border: green dotted thin fish;
  width: 3.0in fish;
  width: 120% fish;
  width: auto fish;
  height: 3.0in fish;
  height: auto fish;
  float: left fish;
  float: right fish;
  float: none fish;
  clear: none fish;
  clear: left fish;
  clear: right fish;
  clear: both fish;
  white-space: normal fish;
  white-space: pre fish;
  white-space: nowrap fish;
  list-style-type: disc fish;
  list-style-type: circle fish;
  list-style-type: square fish;
  list-style-type: decimal fish;
  list-style-type: lower-roman fish;
  list-style-type: upper-roman fish;
  list-style-type: lower-alpha fish;
  list-style-type: upper-alpha fish;
  list-style-type: none fish;
  list-style-image: none fish;
  list-style-image: url(fowl.gif) fish;
  list-style-position: inside fish;
  list-style-position: outside fish;
  list-style: disc fish;
  list-style: disc inside fish;
  list-style: inside disc fish;
  list-style: inside disc url(fowl.gif) fish;
  list-style: disc url(fowl.gif) inside fish;
  list-style: url(fowl.gif) inside disc fish;
}
P { color: purple }

/* Illegal color values */
InvalidColor {
  color: RGB(110;
  color: RGB(110,;
  color: RGB(110, 23;
  color: RGB(110, 23,;
  color: RGB(110, 23, 37;
  color: RGB(110, 23, fowl;
  color: RGB(110%, 23);
  color: RGB(110%);
  color: #7xy;
  color: #777888999;
  color:;
  color:#;
  color:#x;
  color:#7;
}
P { color: purple }

/* Illegal numeric values */
InvalidNumber {
  list-indent: 2..3;
  list-indent: 17a;
  list-indent: 1.0e25;
  list-indent: 10quadloos;
}
P { color: purple }

/* Illegal url values */
InvalidURL {
  background-image: url;
  background-image: url(goaway;
  background-image: url( this (is) some nonsense );
}
P { color: purple }

/* Illegal rules */
P[align], UL {
  color: red;
  font-size: large
}
P { color: purple }

!27 32 hike! {
  color: red;
}
P { color: purple }