Plugin/CSS/PropertyInfo/Data.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
_make_property_data
1.0
CRAP 1.0
« Plugin/WWW/Alexa/TrafficRank.pm ↑ Summary Plugin/HTML/AttributeInfo/Data.pm »
1 package POE::Component::IRC::Plugin::CSS::PropertyInfo::Data;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = '2.001004'; # VERSION
7  
8 sub _make_property_data;
9 sub _make_vt_data;
10  
11 1 ▶sub _make_property_data {
Subroutine _make_property_data: called CC=1 SCAR=0.0
12 return (
13 1 'azimut' => {
14 applies_to => q#all elements#,
15 inherited => q#yes#,
16 initial => q#center#,
17 media => q#aural#,
18 percentages => q#N/A#,
19 values => q#<angle> | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards | inherit#,
20 },
21 'background' => {
22 applies_to => q#all elements#,
23 inherited => q#no#,
24 initial => q#see individual properties#,
25 media => q#visual#,
26 percentages => q#allowed on `background-position`#,
27 values => q#['background-color' || 'background-image' || 'background-repeat' || 'background-attachment' || 'background-position'] | inherit#,
28 },
29 'background-attachment' => {
30 applies_to => q#all elements#,
31 inherited => q#no#,
32 initial => q#scroll#,
33 media => q#visual#,
34 percentages => q#N/A#,
35 values => q#scroll | fixed | inherit#,
36 },
37 'background-color' => {
38 applies_to => q#all elements#,
39 inherited => q#no#,
40 initial => q#transparent#,
41 media => q#visual#,
42 percentages => q#N/A#,
43 values => q#<color> | transparent | inherit#,
44 },
45 'background-image' => {
46 applies_to => q#all elements#,
47 inherited => q#no#,
48 initial => q#none#,
49 media => q#visual#,
50 percentages => q#N/A#,
51 values => q#<uri> | none | inherit#,
52 },
53 'background-position' => {
54 applies_to => q#all elements#,
55 inherited => q#no#,
56 initial => q#0% 0%#,
57 media => q#visual#,
58 percentages => q#refer to the size of the box itself#,
59 values => q#[ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | inherit#,
60 },
61 'background-repeat' => {
62 applies_to => q#all elements#,
63 inherited => q#no#,
64 initial => q#repeat#,
65 media => q#visual#,
66 percentages => q#N/A#,
67 values => q#repeat | repeat-x | repeat-y | no-repeat | inherit#,
68 },
69 'border' => {
70 applies_to => q#all elements#,
71 inherited => q#no#,
72 initial => q#see individual properties#,
73 media => q#visual#,
74 percentages => q#N/A#,
75 values => q#[ <border-width> || <border-style> || 'border-top-color' ] | inherit#,
76 },
77 'border-bottom' => {
78 applies_to => q#all elements#,
79 inherited => q#no#,
80 initial => q#see individual properties#,
81 media => q#visual#,
82 percentages => q#N/A#,
83 values => q#[ <border-width> || <border-style> || 'border-top-color' ] | inherit#,
84 },
85 'border-bottom-color' => {
86 applies_to => q#all elements#,
87 inherited => q#no#,
88 initial => q#the value of the 'color' property#,
89 media => q#visual#,
90 percentages => q#N/A#,
91 values => q#<color> | transparent | inherit#,
92 },
93 'border-bottom-style' => {
94 applies_to => q#all elements#,
95 inherited => q#no#,
96 initial => q#none#,
97 media => q#visual#,
98 percentages => q#N/A#,
99 values => q#<border-style> | inherit#,
100 },
101 'border-bottom-width' => {
102 applies_to => q#all elements#,
103 inherited => q#no#,
104 initial => q#medium#,
105 media => q#visual#,
106 percentages => q#N/A#,
107 values => q#<border-width> | inherit#,
108 },
109 'border-collapse' => {
110 applies_to => q#'table' and 'inline-table' elements#,
111 inherited => q#yes#,
112 initial => q#separate#,
113 media => q#visual#,
114 percentages => q#N/A#,
115 values => q#collapse | separate | inherit#,
116 },
117 'border-color' => {
118 applies_to => q#all elements#,
119 inherited => q#no#,
120 initial => q#see individual properties#,
121 media => q#visual#,
122 percentages => q#N/A#,
123 values => q#[ <color> | transparent ]{1,4} | inherit#,
124 },
125 'border-left' => {
126 applies_to => q#all elements#,
127 inherited => q#no#,
128 initial => q#see individual properties#,
129 media => q#visual#,
130 percentages => q#N/A#,
131 values => q#[ <border-width> || <border-style> || 'border-top-color' ] | inherit#,
132 },
133 'border-left-color' => {
134 applies_to => q#all elements#,
135 inherited => q#no#,
136 initial => q#the value of the 'color' property#,
137 media => q#visual#,
138 percentages => q#N/A#,
139 values => q#<color> | transparent | inherit#,
140 },
141 'border-left-style' => {
142 applies_to => q#all elements#,
143 inherited => q#no#,
144 initial => q#none#,
145 media => q#visual#,
146 percentages => q#N/A#,
147 values => q#<border-style> | inherit#,
148 },
149 'border-left-width' => {
150 applies_to => q#all elements#,
151 inherited => q#no#,
152 initial => q#medium#,
153 media => q#visual#,
154 percentages => q#N/A#,
155 values => q#<border-width> | inherit#,
156 },
157 'border-right' => {
158 applies_to => q#all elements#,
159 inherited => q#no#,
160 initial => q#see individual properties#,
161 media => q#visual#,
162 percentages => q#N/A#,
163 values => q#[ <border-width> || <border-style> || 'border-top-color' ] | inherit#,
164 },
165 'border-right-color' => {
166 applies_to => q#all elements#,
167 inherited => q#no#,
168 initial => q#the value of the 'color' property#,
169 media => q#visual#,
170 percentages => q#N/A#,
171 values => q#<color> | transparent | inherit#,
172 },
173 'border-right-style' => {
174 applies_to => q#all elements#,
175 inherited => q#no#,
176 initial => q#none#,
177 media => q#visual#,
178 percentages => q#N/A#,
179 values => q#<border-style> | inherit#,
180 },
181 'border-right-width' => {
182 applies_to => q#all elements#,
183 inherited => q#no#,
184 initial => q#medium#,
185 media => q#visual#,
186 percentages => q#N/A#,
187 values => q#<border-width> | inherit#,
188 },
189 'border-spacing' => {
190 applies_to => q#'table' and 'inline-table' elements #,
191 inherited => q#yes#,
192 initial => q#0#,
193 media => q#visual#,
194 percentages => q#N/A#,
195 values => q#<length> <length>? | inherit#,
196 },
197 'border-style' => {
198 applies_to => q#all elements#,
199 inherited => q#no#,
200 initial => q#see individual properties#,
201 media => q#visual#,
202 percentages => q#N/A#,
203 values => q#<border-style>{1,4} | inherit#,
204 },
205 'border-top' => {
206 applies_to => q#all elements#,
207 inherited => q#no#,
208 initial => q#see individual properties#,
209 media => q#visual#,
210 percentages => q#N/A#,
211 values => q#[ <border-width> || <border-style> || 'border-top-color' ] | inherit#,
212 },
213 'border-top-color' => {
214 applies_to => q#all elements#,
215 inherited => q#no#,
216 initial => q#the value of the 'color' property#,
217 media => q#visual#,
218 percentages => q#N/A#,
219 values => q#<color> | transparent | inherit#,
220 },
221 'border-top-style' => {
222 applies_to => q#all elements#,
223 inherited => q#no#,
224 initial => q#none#,
225 media => q#visual#,
226 percentages => q#N/A#,
227 values => q#<border-style> | inherit#,
228 },
229 'border-top-width' => {
230 applies_to => q#all elements#,
231 inherited => q#no#,
232 initial => q#medium#,
233 media => q#visual#,
234 percentages => q#N/A#,
235 values => q#<border-width> | inherit#,
236 },
237 'border-width' => {
238 applies_to => q#all elements#,
239 inherited => q#no#,
240 initial => q#see individual properties#,
241 media => q#visual#,
242 percentages => q#N/A#,
243 values => q#<border-width>{1,4} | inherit#,
244 },
245 'bottom' => {
246 applies_to => q#positioned elements#,
247 inherited => q#no#,
248 initial => q#auto#,
249 media => q#visual#,
250 percentages => q#refer to height of containing block#,
251 values => q#<length> | <percentage> | auto | inherit#,
252 },
253 'caption-side' => {
254 applies_to => q#'table-caption' elements#,
255 inherited => q#yes#,
256 initial => q#top#,
257 media => q#visual#,
258 percentages => q#N/A#,
259 values => q#top | bottom | inherit#,
260 },
261 'clear' => {
262 applies_to => q#block-level elements#,
263 inherited => q#no#,
264 initial => q#none#,
265 media => q#visual#,
266 percentages => q#N/A#,
267 values => q#none | left | right | both | inherit#,
268 },
269 'color' => {
270 applies_to => q#all elements#,
271 inherited => q#yes#,
272 initial => q#depends on user agent#,
273 media => q#visual#,
274 percentages => q#N/A#,
275 values => q#<color> | inherit#,
276 },
277 'content' => {
278 applies_to => q#:before and :after pseudo-elements#,
279 inherited => q#no#,
280 initial => q#normal#,
281 media => q#all elements#,
282 percentages => q#N/A#,
283 values => q#normal | none | [ <string> | <uri> | <counter> | attr(<identifier>) | open-quote | close-quote | no-open-quote | no-close-quote ]+ | inherit#,
284 },
285 'counter-increment' => {
286 applies_to => q#all elements#,
287 inherited => q#no#,
288 initial => q#none#,
289 media => q#all elements#,
290 percentages => q#N/A#,
291 values => q#[ <identifier> <integer>? ]+ | none | inherit#,
292 },
293 'counter-reset' => {
294 applies_to => q#all elements#,
295 inherited => q#no#,
296 initial => q#none#,
297 media => q#all elements#,
298 percentages => q#N/A#,
299 values => q#[ <identifier> <integer>? ]+ | none | inherit#,
300 },
301 'cue' => {
302 applies_to => q#all elements#,
303 inherited => q#no#,
304 initial => q#see individual properties#,
305 media => q#aural#,
306 percentages => q#N/A#,
307 values => q#[ 'cue-before' || 'cue-after' ] | inherit#,
308 },
309 'cue-after' => {
310 applies_to => q#all elements#,
311 inherited => q#no#,
312 initial => q#none#,
313 media => q#aural#,
314 percentages => q#N/A#,
315 values => q# <uri> | none | inherit#,
316 },
317 'cue-before' => {
318 applies_to => q#all elements#,
319 inherited => q#no#,
320 initial => q#none#,
321 media => q#aural#,
322 percentages => q#N/A#,
323 values => q#<uri> | none | inherit#,
324 },
325 'cursor' => {
326 applies_to => q#all elements#,
327 inherited => q#yes#,
328 initial => q#auto#,
329 media => q#visual, interactive#,
330 percentages => q#N/A#,
331 values => q#[ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress ] ] | inherit#,
332 },
333 'direction' => {
334 applies_to => q#all elements, but see prose ( http://w3.org/TR/CSS21/visuren.html\#propdef-direction )#,
335 inherited => q#yes#,
336 initial => q#ltr#,
337 media => q#visual#,
338 percentages => q#N/A#,
339 values => q#ltr | rtl | inherit#,
340 },
341 'display' => {
342 applies_to => q#all elements#,
343 inherited => q#no#,
344 initial => q#inline#,
345 media => q#all elements#,
346 percentages => q#N/A#,
347 values => q#inline | block | list-item | run-in | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | none | inherit#,
348 },
349 'elevation' => {
350 applies_to => q#all elements#,
351 inherited => q#yes#,
352 initial => q#level#,
353 media => q#aural#,
354 percentages => q#N/A#,
355 values => q#<angle> | below | level | above | higher | lower | inherit#,
356 },
357 'empty-cells' => {
358 applies_to => q#'table-cell' elements#,
359 inherited => q#yes#,
360 initial => q#show#,
361 media => q#visual#,
362 percentages => q#N/A#,
363 values => q#show | hide | inherit#,
364 },
365 'float' => {
366 applies_to => q#all, but see http://www.w3.org/TR/CSS21/visuren.html\#dis-pos-flo#,
367 inherited => q#no#,
368 initial => q#none#,
369 media => q#visual#,
370 percentages => q#N/A#,
371 values => q#left | right | none | inherit#,
372 },
373 'font' => {
374 applies_to => q#all elements#,
375 inherited => q#yes#,
376 initial => q#see individual properties#,
377 media => q#visual#,
378 percentages => q#N/A#,
379 values => q#[ [ 'font-style' || 'font-variant' || 'font-weight' ]? 'font-size' [ / 'line-height' ]? 'font-family' ] | caption | icon | menu | message-box | small-caption | status-bar | inherit#,
380 },
381 'font-family' => {
382 applies_to => q#all elements#,
383 inherited => q#yes#,
384 initial => q#depends on user agent#,
385 media => q#visual#,
386 percentages => q#refer to parent element's font size#,
387 values => q#[[ <family-name> | <generic-family> ] [, <family-name>| <generic-family>]* ] | inherit#,
388 },
389 'font-size' => {
390 applies_to => q#all elements#,
391 inherited => q#yes#,
392 initial => q#medium#,
393 media => q#visual#,
394 percentages => q#N/A#,
395 values => q#<absolute-size> | <relative-size> | <length> | <percentage> | inherit#,
396 },
397 'font-style' => {
398 applies_to => q#all elements#,
399 inherited => q#yes#,
400 initial => q#normal#,
401 media => q#visual#,
402 percentages => q#N/A#,
403 values => q#normal | italic | oblique | inherit#,
404 },
405 'font-variant' => {
406 applies_to => q#all elements#,
407 inherited => q#yes#,
408 initial => q#normal#,
409 media => q#visual#,
410 percentages => q#N/A#,
411 values => q#normal | small-caps | inherit#,
412 },
413 'font-weight' => {
414 applies_to => q#all elements#,
415 inherited => q#yes#,
416 initial => q#normal#,
417 media => q#visual#,
418 percentages => q#N/A#,
419 values => q#normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit#,
420 },
421 'height' => {
422 applies_to => q#all elements but non-replaced inline elements, table columns, and column groups#,
423 inherited => q#no#,
424 initial => q#auto#,
425 media => q#visual#,
426 percentages => q#see prose ( http://w3.org/TR/CSS21/visudet.html\#propdef-height )#,
427 values => q#<length> | <percentage> | auto | inherit#,
428 },
429 'left' => {
430 applies_to => q#positioned elements#,
431 inherited => q#no#,
432 initial => q#auto#,
433 media => q#visual#,
434 percentages => q#refer to width of containing block#,
435 values => q#<length> | <percentage> | auto | inherit#,
436 },
437 'letter-spacing' => {
438 applies_to => q#all elements#,
439 inherited => q#yes#,
440 initial => q#normal#,
441 media => q#visual#,
442 percentages => q#N/A#,
443 values => q#normal | <length> | inherit#,
444 },
445 'line-height' => {
446 applies_to => q#all elements#,
447 inherited => q#yes#,
448 initial => q#normal#,
449 media => q#visual#,
450 percentages => q#refer to the font size of the element itself#,
451 values => q#normal | <number> | <length> | <percentage> | inherit#,
452 },
453 'list-style' => {
454 applies_to => q#elements with 'display: list-item'#,
455 inherited => q#yes#,
456 initial => q#see individual properties#,
457 media => q#visual#,
458 percentages => q#N/A#,
459 values => q#[ 'list-style-type' || 'list-style-position' || 'list-style-image' ] | inherit#,
460 },
461 'list-style-image' => {
462 applies_to => q#elements with 'display: list-item'#,
463 inherited => q#yes#,
464 initial => q#none#,
465 media => q#visual#,
466 percentages => q#N/A#,
467 values => q#<uri> | none | inherit#,
468 },
469 'margin' => {
470 applies_to => q#all elements except elements with table display types other than table-caption, table and inline-table#,
471 inherited => q#no#,
472 initial => q#see individual properties#,
473 media => q#visual#,
474 percentages => q#refer to width of containing block#,
475 values => q#<margin-width>{1,4} | inherit#,
476 },
477 'margin-bottom' => {
478 applies_to => q#all elements except elements with table display types other than table-caption, table and inline-table#,
479 inherited => q#no#,
480 initial => q#0#,
481 media => q#visual#,
482 percentages => q#refer to width of containing block#,
483 values => q#<margin-width> | inherit#,
484 },
485 'margin-left' => {
486 applies_to => q#all elements except elements with table display types other than table-caption, table and inline-table#,
487 inherited => q#no#,
488 initial => q#0#,
489 media => q#visual#,
490 percentages => q#refer to width of containing block#,
491 values => q#<margin-width> | inherit#,
492 },
493 'margin-right' => {
494 applies_to => q#all elements except elements with table display types other than table-caption, table and inline-table#,
495 inherited => q#no#,
496 initial => q#0#,
497 media => q#visual#,
498 percentages => q#refer to width of containing block#,
499 values => q#<margin-width> | inherit#,
500 },
501 'margin-top' => {
502 applies_to => q#all elements except elements with table display types other than table-caption, table and inline-table#,
503 inherited => q#no#,
504 initial => q#0#,
505 media => q#visual#,
506 percentages => q#refer to width of containing block#,
507 values => q#<margin-width> | inherit#,
508 },
509 'max-height' => {
510 applies_to => q#all elements but non-replaced inline elements, table columns, and column groups#,
511 inherited => q#no#,
512 initial => q#none#,
513 media => q#visual#,
514 percentages => q#see prose ( http://w3.org/TR/CSS21/visudet.html\#propdef-max-height )#,
515 values => q#<length> | <percentage> | none | inherit#,
516 },
517 'max-width' => {
518 applies_to => q#all elements but non-replaced inline elements, table rows, and row groups#,
519 inherited => q#no#,
520 initial => q#none#,
521 media => q#visual#,
522 percentages => q#refer to width of containing block#,
523 values => q#<length> | <percentage> | none | inherit#,
524 },
525 'min-height' => {
526 applies_to => q#all elements but non-replaced inline elements, table columns, and column groups#,
527 inherited => q#no#,
528 initial => q#0#,
529 media => q#visual#,
530 percentages => q#see prose ( http://w3.org/TR/CSS21/visudet.html\#propdef-min-height )#,
531 values => q#<length> | <percentage> | inherit#,
532 },
533 'min-width' => {
534 applies_to => q#all elements but non-replaced inline elements, table rows, and row groups#,
535 inherited => q#no#,
536 initial => q#0#,
537 media => q#visual#,
538 percentages => q#refer to width of containing block#,
539 values => q#<length> | <percentage> | inherit#,
540 },
541 'orphans' => {
542 applies_to => q#block-level elements#,
543 inherited => q#yes#,
544 initial => q#2#,
545 media => q#visual, paged#,
546 percentages => q#N/A#,
547 values => q#<integer> | inherit#,
548 },
549 'outline' => {
550 applies_to => q#see individual properies#,
551 inherited => q#no#,
552 initial => q#see individual properties#,
553 media => q#visual, interactive#,
554 percentages => q#N/A#,
555 values => q#[ 'outline-color' || 'outline-style' || 'outline-width' ] | inherit#,
556 },
557 'outline-color' => {
558 applies_to => q#all elements#,
559 inherited => q#no#,
560 initial => q#invert#,
561 media => q#visual, interactive#,
562 percentages => q#N/A#,
563 values => q#<color> | invert | inherit#,
564 },
565 'outline-style' => {
566 applies_to => q#all elements#,
567 inherited => q#no#,
568 initial => q#none#,
569 media => q#visual, interactive#,
570 percentages => q#N/A#,
571 values => q#<border-style> | inherit#,
572 },
573 'outline-width' => {
574 applies_to => q#all elements#,
575 inherited => q#no#,
576 initial => q#medium#,
577 media => q#visual, interactive#,
578 percentages => q#N/A#,
579 values => q#<border-width> | inherit#,
580 },
581 'overflow' => {
582 applies_to => q#non-replaced block-level elements, table cells, and inline-block elements#,
583 inherited => q#no#,
584 initial => q#visible#,
585 media => q#visual#,
586 percentages => q#N/A#,
587 values => q#visible | hidden | scroll | auto | inherit#,
588 },
589 'padding' => {
590 applies_to => q#all elements except table-row-group, table-header-group, table-footer-group, table-row, table-column-group and table-column#,
591 inherited => q#no#,
592 initial => q#see individual properties#,
593 media => q#visual#,
594 percentages => q#refer to width of containing block#,
595 values => q#<padding-width>{1,4} | inherit#,
596 },
597 'padding-bottom' => {
598 applies_to => q#all elements except table-row-group, table-header-group, table-footer-group, table-row, table-column-group and table-column#,
599 inherited => q#no#,
600 initial => q#0#,
601 media => q#visual#,
602 percentages => q#refer to width of containing block#,
603 values => q#<padding-width> | inherit#,
604 },
605 'padding-left' => {
606 applies_to => q#all elements except table-row-group, table-header-group, table-footer-group, table-row, table-column-group and table-column#,
607 inherited => q#no#,
608 initial => q#0#,
609 media => q#visual#,
610 percentages => q#refer to width of containing block#,
611 values => q#<padding-width> | inherit#,
612 },
613 'padding-right' => {
614 applies_to => q#all elements except table-row-group, table-header-group, table-footer-group, table-row, table-column-group and table-column#,
615 inherited => q#no#,
616 initial => q#0#,
617 media => q#visual#,
618 percentages => q#refer to width of containing block#,
619 values => q#<padding-width> | inherit#,
620 },
621 'padding-top' => {
622 applies_to => q#all elements except table-row-group, table-header-group, table-footer-group, table-row, table-column-group and table-column#,
623 inherited => q#no#,
624 initial => q#0#,
625 media => q#visual#,
626 percentages => q#refer to width of containing block#,
627 values => q#<padding-width> | inherit#,
628 },
629 'page-break-after' => {
630 applies_to => q#block-level elements#,
631 inherited => q#no#,
632 initial => q#auto#,
633 media => q#visual, paged#,
634 percentages => q#N/A#,
635 values => q#auto | always | avoid | left | right | inherit#,
636 },
637 'page-break-before' => {
638 applies_to => q#block-level elements#,
639 inherited => q#no#,
640 initial => q#auto#,
641 media => q#visual, paged#,
642 percentages => q#N/A#,
643 values => q#auto | always | avoid | left | right | inherit#,
644 },
645 'page-break-inside' => {
646 applies_to => q#block-level elements#,
647 inherited => q#no#,
648 initial => q#auto#,
649 media => q#visual, paged#,
650 percentages => q#N/A#,
651 values => q#avoid | auto | inherit#,
652 },
653 'pause' => {
654 applies_to => q#all elements#,
655 inherited => q#no#,
656 initial => q#see individual properties#,
657 media => q#aural#,
658 percentages => q#see descriptions of 'pause-before' and 'pause-after'#,
659 values => q#[ [<time> | <percentage>]{1,2} ] | inherit#,
660 },
661 'pause-after' => {
662 applies_to => q#all elements#,
663 inherited => q#no#,
664 initial => q#0#,
665 media => q#aural#,
666 percentages => q#see prose ( http://www.w3.org/TR/CSS21/aural.html\#propdef-pause-after )#,
667 values => q#<time> | <percentage> | inherit#,
668 },
669 'pause-before' => {
670 applies_to => q#all elements#,
671 inherited => q#no#,
672 initial => q#0#,
673 media => q#aural#,
674 percentages => q#see prose ( http://www.w3.org/TR/CSS21/aural.html\#propdef-pause-before )#,
675 values => q#<time> | <percentage> | inherit#,
676 },
677 'pitch' => {
678 applies_to => q#all elements#,
679 inherited => q#yes#,
680 initial => q#medium#,
681 media => q#aural#,
682 percentages => q#N/A#,
683 values => q#<frequency> | x-low | low | medium | high | x-high | inherit#,
684 },
685 'pitch-range' => {
686 applies_to => q#all elements#,
687 inherited => q#yes#,
688 initial => q#50#,
689 media => q#aural#,
690 percentages => q#N/A#,
691 values => q#<number> | inherit#,
692 },
693 'play-during' => {
694 applies_to => q#all elements#,
695 inherited => q#no#,
696 initial => q#auto#,
697 media => q#aural#,
698 percentages => q#N/A#,
699 values => q#<uri> [ mix || repeat ]? | auto | none | inherit#,
700 },
701 'position' => {
702 applies_to => q#all elements#,
703 inherited => q#no#,
704 initial => q#static#,
705 media => q#visual#,
706 percentages => q#N/A#,
707 values => q#static | relative | absolute | fixed | inherit#,
708 },
709 'quotes' => {
710 applies_to => q#all elements#,
711 inherited => q#yes#,
712 initial => q#depends on user agent#,
713 media => q#visual#,
714 percentages => q#N/A#,
715 values => q#[<string> <string>]+ | none | inherit#,
716 },
717 'richness' => {
718 applies_to => q#all elements#,
719 inherited => q#yes#,
720 initial => q#50#,
721 media => q#aural#,
722 percentages => q#N/A#,
723 values => q#<number> | inherit#,
724 },
725 'right' => {
726 applies_to => q#positioned elements#,
727 inherited => q#no#,
728 initial => q#auto#,
729 media => q#visual#,
730 percentages => q#refer to width of containing block#,
731 values => q#<length> | <percentage> | auto | inherit#,
732 },
733 'speak' => {
734 applies_to => q#all elements#,
735 inherited => q#yes#,
736 initial => q#normal#,
737 media => q#aural#,
738 percentages => q#N/A#,
739 values => q#normal | none | spell-out | inherit#,
740 },
741 'speak-header' => {
742 applies_to => q#elements that have table header information#,
743 inherited => q#yes#,
744 initial => q#once#,
745 media => q#aural#,
746 percentages => q#N/A#,
747 values => q#once | always | inherit#,
748 },
749 'speak-numeral' => {
750 applies_to => q#all elements#,
751 inherited => q#yes#,
752 initial => q#continuous#,
753 media => q#aural#,
754 percentages => q#N/A#,
755 values => q#digits | continuous | inherit#,
756 },
757 'speak-punctuation' => {
758 applies_to => q#all elements#,
759 inherited => q#yes#,
760 initial => q#continuous#,
761 media => q#aural#,
762 percentages => q#N/A#,
763 values => q#code | none | inherit#,
764 },
765 'speech-rate' => {
766 applies_to => q#all elements#,
767 inherited => q#yes#,
768 initial => q#medium#,
769 media => q#aural#,
770 percentages => q#N/A#,
771 values => q#<number> | x-slow | slow | medium | fast | x-fast | faster | slower | inherit#,
772 },
773 'stress' => {
774 applies_to => q#all elements#,
775 inherited => q#yes#,
776 initial => q#50#,
777 media => q#aural#,
778 percentages => q#N/A#,
779 values => q#<number> | inherit#,
780 },
781 'table-layout' => {
782 applies_to => q#'table' and 'inline-table' elements#,
783 inherited => q#no#,
784 initial => q#auto#,
785 media => q#visual#,
786 percentages => q#N/A#,
787 values => q#auto | fixed | inherit#,
788 },
789 'text-align' => {
790 applies_to => q#block-level elements, table cells and inline blocks#,
791 inherited => q#yes#,
792 initial => q#a nameless value that acts as 'left' if 'direction' is 'ltr', 'right' if 'direction' is 'rtl'#,
793 media => q#visual#,
794 percentages => q#N/A#,
795 values => q#left | right | center | justify | inherit#,
796 },
797 'text-decoration' => {
798 applies_to => q#all elements#,
799 inherited => q#no (see prose ( http://www.w3.org/TR/CSS21/text.html\#propdef-text-decoration ))#,
800 initial => q#none#,
801 media => q#visual#,
802 percentages => q#N/A#,
803 values => q#none | [ underline || overline || line-through || blink ] | inherit#,
804 },
805 'text-indent' => {
806 applies_to => q#block-level elements, table cells and inline blocks#,
807 inherited => q#yes#,
808 initial => q#0#,
809 media => q#visual#,
810 percentages => q#refer to width of containing block#,
811 values => q#<length> | <percentage> | inherit#,
812 },
813 'text-transform' => {
814 applies_to => q#all elements#,
815 inherited => q#yes#,
816 initial => q#none#,
817 media => q#visual#,
818 percentages => q#N/A#,
819 values => q#capitalize | uppercase | lowercase | none | inherit#,
820 },
821 'top' => {
822 applies_to => q#positioned elements#,
823 inherited => q#no#,
824 initial => q#auto#,
825 media => q#visual#,
826 percentages => q#refer to height of containing block#,
827 values => q#<length> | <percentage> | auto | inherit#,
828 },
829 'unicode-bidi' => {
830 applies_to => q#all elements, but see prose ( http://www.w3.org/TR/CSS21/visuren.html\#propdef-unicode-bidi )#,
831 inherited => q#no#,
832 initial => q#normal#,
833 media => q#visual#,
834 percentages => q#N/A#,
835 values => q#normal | embed | bidi-override | inherit#,
836 },
837 'vertical-align' => {
838 applies_to => q#inline-level and 'table-cell' elements#,
839 inherited => q#no#,
840 initial => q#baseline#,
841 media => q#visual#,
842 percentages => q#refer to the 'line-height' of the element itself#,
843 values => q#baseline | sub | super | top | text-top | middle | bottom | text-bottom | <percentage> | <length> | inherit#,
844 },
845 'visibility' => {
846 applies_to => q#all elements#,
847 inherited => q#yes#,
848 initial => q#visible#,
849 media => q#visual#,
850 percentages => q#N/A#,
851 values => q#visible | hidden | collapse | inherit#,
852 },
853 'voice-family' => {
854 applies_to => q#all elements#,
855 inherited => q#yes#,
856 initial => q#depends on user agent#,
857 media => q#aural#,
858 percentages => q#N/A#,
859 values => q#[[<specific-voice> | <generic-voice> ],]* [<specific-voice> | <generic-voice> ] | inherit#,
860 },
861 'volume' => {
862 applies_to => q#all elements#,
863 inherited => q#yes#,
864 initial => q#medium#,
865 media => q#aural#,
866 percentages => q#refer to inherited value#,
867 values => q#<number> | <percentage> | silent | x-soft | soft | medium | loud | x-loud | inherit#,
868 },
869 'white-space' => {
870 applies_to => q#all elements#,
871 inherited => q#yes#,
872 initial => q#normal#,
873 media => q#visual#,
874 percentages => q#N/A#,
875 values => q#normal | pre | nowrap | pre-wrap | pre-line | inherit#,
876 },
877 'widows' => {
878 applies_to => q#block-level elements#,
879 inherited => q#yes#,
880 initial => q#2#,
881 media => q#visual, paged#,
882 percentages => q#N/A#,
883 values => q#<integer> | inherit#,
884 },
885 'width' => {
886 applies_to => q#all elements but non-replaced inline elements, table rows, and row groups#,
887 inherited => q#no#,
888 initial => q#auto#,
889 media => q#visual#,
890 percentages => q#refer to width of containing block#,
891 values => q#<length> | <percentage> | auto | inherit#,
892 },
893 'word-spacing' => {
894 applies_to => q#all elements#,
895 inherited => q#yes#,
896 initial => q#normal#,
897 media => q#visual#,
898 percentages => q#N/A#,
899 values => q#normal | <length> | inherit#,
900 },
901 'z-index' => {
902 applies_to => q#positioned elements#,
903 inherited => q#no#,
904 initial => q#auto#,
905 media => q#visual#,
906 percentages => q#N/A#,
907 values => q#auto | <integer> | inherit#,
908 },
909 );
910 }
911  
912 1 ▶sub _make_vt_data {
Subroutine _make_vt_data: called CC=1 SCAR=0.0
913 return (
914 1 'margin-width' =>
915 q#http://www.w3.org/TR/CSS21/box.html\#value-def-margin-width#,
916 'absolute-size' =>
917 q#http://www.w3.org/TR/CSS21/fonts.html\#value-def-absolute-size#,
918 'number' =>
919 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-number#,
920 'time' =>
921 q#http://www.w3.org/TR/CSS21/aural.html\#value-def-time#,
922 'string' =>
923 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-string#,
924 'border-width' =>
925 q#http://www.w3.org/TR/CSS21/box.html\#value-def-border-width#,
926 'border-style' =>
927 q#http://www.w3.org/TR/CSS21/box.html\#value-def-border-style#,
928 'frequency' =>
929 q#http://www.w3.org/TR/CSS21/aural.html\#value-def-frequency#,
930 'identifier' =>
931 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-identifier#,
932 'color' =>
933 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-color#,
934 'integer' =>
935 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-integer#,
936 'specific-voice' =>
937 q#http://www.w3.org/TR/CSS21/aural.html\#value-def-specific-voice#,
938 'relative-size' =>
939 q#http://www.w3.org/TR/CSS21/fonts.html\#value-def-relative-size#,
940 'generic-voice' =>
941 q#http://www.w3.org/TR/CSS21/aural.html\#value-def-generic-voice#,
942 'padding-width' =>
943 q#http://www.w3.org/TR/CSS21/box.html\#value-def-padding-width#,
944 'angle' =>
945 q#http://www.w3.org/TR/CSS21/aural.html\#value-def-angle#,
946 'percentage' =>
947 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-percentage#,
948 'family-name' =>
949 q#http://www.w3.org/TR/CSS21/fonts.html\#value-def-family-name#,
950 'uri' =>
951 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-uri#,
952 'length' =>
953 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-length#,
954 'generic-family' =>
955 q#http://www.w3.org/TR/CSS21/fonts.html\#value-def-generic-family#,
956 'shape' =>
957 q#http://www.w3.org/TR/CSS21/visufx.html\#value-def-shape#,
958 'counter' =>
959 q#http://www.w3.org/TR/CSS21/syndata.html\#value-def-counter#,
960 );
961 }
962  
963 2 1;
964 __END__
« Plugin/WWW/Alexa/TrafficRank.pm ↑ Summary Plugin/HTML/AttributeInfo/Data.pm »