X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins-dist%2Fcompresseur%2Flib%2Fcsstidy%2FDocs%2F__filesource%2Ffsource_csstidy__data.inc.php.html;fp=www%2Fplugins-dist%2Fcompresseur%2Flib%2Fcsstidy%2FDocs%2F__filesource%2Ffsource_csstidy__data.inc.php.html;h=0000000000000000000000000000000000000000;hb=e847eea4a82a7396dd0abf860f9b30d654f38629;hp=5c62d6c48a9e9cacdfc2dbc4b738335ea2f034d2;hpb=d686c3e22e97dd46ef42bcd0f138c65083f8f232;p=ptitvelo%2Fweb%2Fwww.git diff --git a/www/plugins-dist/compresseur/lib/csstidy/Docs/__filesource/fsource_csstidy__data.inc.php.html b/www/plugins-dist/compresseur/lib/csstidy/Docs/__filesource/fsource_csstidy__data.inc.php.html deleted file mode 100644 index 5c62d6c..0000000 --- a/www/plugins-dist/compresseur/lib/csstidy/Docs/__filesource/fsource_csstidy__data.inc.php.html +++ /dev/null @@ -1,521 +0,0 @@ - - -File Source for data.inc.php - - - - - - - - - - - - - -
csstidy
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] -
- - - - - - -
-
- -

Source for file data.inc.php

-

Documentation is available at data.inc.php

-
-
  1. <?php
  2. -
  3. /**
  4. -
  5. * Various CSS Data for CSSTidy
  6. -
  7. *
  8. -
  9. * This file is part of CSSTidy.
  10. -
  11. *
  12. -
  13. * CSSTidy is free software; you can redistribute it and/or modify
  14. -
  15. * it under the terms of the GNU General Public License as published by
  16. -
  17. * the Free Software Foundation; either version 2 of the License, or
  18. -
  19. * (at your option) any later version.
  20. -
  21. *
  22. -
  23. * CSSTidy is distributed in the hope that it will be useful,
  24. -
  25. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. -
  27. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  28. -
  29. * GNU General Public License for more details.
  30. -
  31. *
  32. -
  33. * You should have received a copy of the GNU General Public License
  34. -
  35. * along with CSSTidy; if not, write to the Free Software
  36. -
  37. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  38. -
  39. *
  40. -
  41. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  42. -
  43. * @package csstidy
  44. -
  45. * @author Florian Schmitz (floele at gmail dot com) 2005
  46. -
  47. */
  48. -
  49.  
  50. -
  51. define('AT_START', 1);
  52. -
  53. define('AT_END', 2);
  54. -
  55. define('SEL_START', 3);
  56. -
  57. define('SEL_END', 4);
  58. -
  59. define('PROPERTY', 5);
  60. -
  61. define('VALUE', 6);
  62. -
  63. define('COMMENT', 7);
  64. -
  65. define('DEFAULT_AT', 41);
  66. -
  67.  
  68. -
  69. /**
  70. -
  71. * All whitespace allowed in CSS
  72. -
  73. *
  74. -
  75. * @global array $GLOBALS['csstidy']['whitespace']
  76. -
  77. * @version 1.0
  78. -
  79. */
  80. -
  81. $GLOBALS['csstidy']['whitespace'] = array(' ',"\n","\t","\r","\x0B");
  82. -
  83.  
  84. -
  85. /**
  86. -
  87. * All CSS tokens used by csstidy
  88. -
  89. *
  90. -
  91. * @global string $GLOBALS['csstidy']['tokens']
  92. -
  93. * @version 1.0
  94. -
  95. */
  96. -
  97. $GLOBALS['csstidy']['tokens'] = '/@}{;:=\'"(,\\!$%&)*+.<>?[]^`|~';
  98. -
  99.  
  100. -
  101. /**
  102. -
  103. * All CSS units (CSS 3 units included)
  104. -
  105. *
  106. -
  107. * @see compress_numbers()
  108. -
  109. * @global array $GLOBALS['csstidy']['units']
  110. -
  111. * @version 1.0
  112. -
  113. */
  114. -
  115. $GLOBALS['csstidy']['units'] = array('in','cm','mm','pt','pc','px','rem','em','%','ex','gd','vw','vh','vm','deg','grad','rad','ms','s','khz','hz');
  116. -
  117.  
  118. -
  119. /**
  120. -
  121. * Available at-rules
  122. -
  123. *
  124. -
  125. * @global array $GLOBALS['csstidy']['at_rules']
  126. -
  127. * @version 1.0
  128. -
  129. */
  130. -
  131. $GLOBALS['csstidy']['at_rules'] = array('page' => 'is','font-face' => 'is','charset' => 'iv', 'import' => 'iv','namespace' => 'iv','media' => 'at');
  132. -
  133.  
  134. -
  135. /**
  136. -
  137. * Properties that allow <number> as value
  138. -
  139. *
  140. -
  141. * @todo CSS3 properties
  142. -
  143. * @see compress_numbers();
  144. -
  145. * @global array $GLOBALS['csstidy']['number_values']
  146. -
  147. * @version 1.2
  148. -
  149. */
  150. -
  151. $GLOBALS['csstidy']['number_values'] = array('line-height','pitch-range','richness','speech-rate','stress','volume','font','font-weight','z-index','counter-increment','counter-reset','orphans','widows');
  152. -
  153.  
  154. -
  155. /**
  156. -
  157. * Properties that allow <color> as value
  158. -
  159. *
  160. -
  161. * @todo CSS3 properties
  162. -
  163. * @see compress_numbers();
  164. -
  165. * @global array $GLOBALS['csstidy']['color_values']
  166. -
  167. * @version 1.0
  168. -
  169. */
  170. -
  171. $GLOBALS['csstidy']['color_values'] = array();
  172. -
  173. $GLOBALS['csstidy']['color_values'][] = 'background-color';
  174. -
  175. $GLOBALS['csstidy']['color_values'][] = 'border-color';
  176. -
  177. $GLOBALS['csstidy']['color_values'][] = 'border-top-color';
  178. -
  179. $GLOBALS['csstidy']['color_values'][] = 'border-right-color';
  180. -
  181. $GLOBALS['csstidy']['color_values'][] = 'border-bottom-color';
  182. -
  183. $GLOBALS['csstidy']['color_values'][] = 'border-left-color';
  184. -
  185. $GLOBALS['csstidy']['color_values'][] = 'color';
  186. -
  187. $GLOBALS['csstidy']['color_values'][] = 'outline-color';
  188. -
  189.  
  190. -
  191.  
  192. -
  193. /**
  194. -
  195. * Default values for the background properties
  196. -
  197. *
  198. -
  199. * @todo Possibly property names will change during CSS3 development
  200. -
  201. * @global array $GLOBALS['csstidy']['background_prop_default']
  202. -
  203. * @see dissolve_short_bg()
  204. -
  205. * @see merge_bg()
  206. -
  207. * @version 1.0
  208. -
  209. */
  210. -
  211. $GLOBALS['csstidy']['background_prop_default'] = array();
  212. -
  213. $GLOBALS['csstidy']['background_prop_default']['background-image'] = 'none';
  214. -
  215. $GLOBALS['csstidy']['background_prop_default']['background-size'] = 'auto';
  216. -
  217. $GLOBALS['csstidy']['background_prop_default']['background-repeat'] = 'repeat';
  218. -
  219. $GLOBALS['csstidy']['background_prop_default']['background-position'] = '0 0';
  220. -
  221. $GLOBALS['csstidy']['background_prop_default']['background-attachment'] = 'scroll';
  222. -
  223. $GLOBALS['csstidy']['background_prop_default']['background-clip'] = 'border';
  224. -
  225. $GLOBALS['csstidy']['background_prop_default']['background-origin'] = 'padding';
  226. -
  227. $GLOBALS['csstidy']['background_prop_default']['background-color'] = 'transparent';
  228. -
  229.  
  230. -
  231. /**
  232. -
  233. * A list of non-W3C color names which get replaced by their hex-codes
  234. -
  235. *
  236. -
  237. * @global array $GLOBALS['csstidy']['replace_colors']
  238. -
  239. * @see cut_color()
  240. -
  241. * @version 1.0
  242. -
  243. */
  244. -
  245. $GLOBALS['csstidy']['replace_colors'] = array();
  246. -
  247. $GLOBALS['csstidy']['replace_colors']['aliceblue'] = '#F0F8FF';
  248. -
  249. $GLOBALS['csstidy']['replace_colors']['antiquewhite'] = '#FAEBD7';
  250. -
  251. $GLOBALS['csstidy']['replace_colors']['aquamarine'] = '#7FFFD4';
  252. -
  253. $GLOBALS['csstidy']['replace_colors']['azure'] = '#F0FFFF';
  254. -
  255. $GLOBALS['csstidy']['replace_colors']['beige'] = '#F5F5DC';
  256. -
  257. $GLOBALS['csstidy']['replace_colors']['bisque'] = '#FFE4C4';
  258. -
  259. $GLOBALS['csstidy']['replace_colors']['blanchedalmond'] = '#FFEBCD';
  260. -
  261. $GLOBALS['csstidy']['replace_colors']['blueviolet'] = '#8A2BE2';
  262. -
  263. $GLOBALS['csstidy']['replace_colors']['brown'] = '#A52A2A';
  264. -
  265. $GLOBALS['csstidy']['replace_colors']['burlywood'] = '#DEB887';
  266. -
  267. $GLOBALS['csstidy']['replace_colors']['cadetblue'] = '#5F9EA0';
  268. -
  269. $GLOBALS['csstidy']['replace_colors']['chartreuse'] = '#7FFF00';
  270. -
  271. $GLOBALS['csstidy']['replace_colors']['chocolate'] = '#D2691E';
  272. -
  273. $GLOBALS['csstidy']['replace_colors']['coral'] = '#FF7F50';
  274. -
  275. $GLOBALS['csstidy']['replace_colors']['cornflowerblue'] = '#6495ED';
  276. -
  277. $GLOBALS['csstidy']['replace_colors']['cornsilk'] = '#FFF8DC';
  278. -
  279. $GLOBALS['csstidy']['replace_colors']['crimson'] = '#DC143C';
  280. -
  281. $GLOBALS['csstidy']['replace_colors']['cyan'] = '#00FFFF';
  282. -
  283. $GLOBALS['csstidy']['replace_colors']['darkblue'] = '#00008B';
  284. -
  285. $GLOBALS['csstidy']['replace_colors']['darkcyan'] = '#008B8B';
  286. -
  287. $GLOBALS['csstidy']['replace_colors']['darkgoldenrod'] = '#B8860B';
  288. -
  289. $GLOBALS['csstidy']['replace_colors']['darkgray'] = '#A9A9A9';
  290. -
  291. $GLOBALS['csstidy']['replace_colors']['darkgreen'] = '#006400';
  292. -
  293. $GLOBALS['csstidy']['replace_colors']['darkkhaki'] = '#BDB76B';
  294. -
  295. $GLOBALS['csstidy']['replace_colors']['darkmagenta'] = '#8B008B';
  296. -
  297. $GLOBALS['csstidy']['replace_colors']['darkolivegreen'] = '#556B2F';
  298. -
  299. $GLOBALS['csstidy']['replace_colors']['darkorange'] = '#FF8C00';
  300. -
  301. $GLOBALS['csstidy']['replace_colors']['darkorchid'] = '#9932CC';
  302. -
  303. $GLOBALS['csstidy']['replace_colors']['darkred'] = '#8B0000';
  304. -
  305. $GLOBALS['csstidy']['replace_colors']['darksalmon'] = '#E9967A';
  306. -
  307. $GLOBALS['csstidy']['replace_colors']['darkseagreen'] = '#8FBC8F';
  308. -
  309. $GLOBALS['csstidy']['replace_colors']['darkslateblue'] = '#483D8B';
  310. -
  311. $GLOBALS['csstidy']['replace_colors']['darkslategray'] = '#2F4F4F';
  312. -
  313. $GLOBALS['csstidy']['replace_colors']['darkturquoise'] = '#00CED1';
  314. -
  315. $GLOBALS['csstidy']['replace_colors']['darkviolet'] = '#9400D3';
  316. -
  317. $GLOBALS['csstidy']['replace_colors']['deeppink'] = '#FF1493';
  318. -
  319. $GLOBALS['csstidy']['replace_colors']['deepskyblue'] = '#00BFFF';
  320. -
  321. $GLOBALS['csstidy']['replace_colors']['dimgray'] = '#696969';
  322. -
  323. $GLOBALS['csstidy']['replace_colors']['dodgerblue'] = '#1E90FF';
  324. -
  325. $GLOBALS['csstidy']['replace_colors']['feldspar'] = '#D19275';
  326. -
  327. $GLOBALS['csstidy']['replace_colors']['firebrick'] = '#B22222';
  328. -
  329. $GLOBALS['csstidy']['replace_colors']['floralwhite'] = '#FFFAF0';
  330. -
  331. $GLOBALS['csstidy']['replace_colors']['forestgreen'] = '#228B22';
  332. -
  333. $GLOBALS['csstidy']['replace_colors']['gainsboro'] = '#DCDCDC';
  334. -
  335. $GLOBALS['csstidy']['replace_colors']['ghostwhite'] = '#F8F8FF';
  336. -
  337. $GLOBALS['csstidy']['replace_colors']['gold'] = '#FFD700';
  338. -
  339. $GLOBALS['csstidy']['replace_colors']['goldenrod'] = '#DAA520';
  340. -
  341. $GLOBALS['csstidy']['replace_colors']['greenyellow'] = '#ADFF2F';
  342. -
  343. $GLOBALS['csstidy']['replace_colors']['honeydew'] = '#F0FFF0';
  344. -
  345. $GLOBALS['csstidy']['replace_colors']['hotpink'] = '#FF69B4';
  346. -
  347. $GLOBALS['csstidy']['replace_colors']['indianred'] = '#CD5C5C';
  348. -
  349. $GLOBALS['csstidy']['replace_colors']['indigo'] = '#4B0082';
  350. -
  351. $GLOBALS['csstidy']['replace_colors']['ivory'] = '#FFFFF0';
  352. -
  353. $GLOBALS['csstidy']['replace_colors']['khaki'] = '#F0E68C';
  354. -
  355. $GLOBALS['csstidy']['replace_colors']['lavender'] = '#E6E6FA';
  356. -
  357. $GLOBALS['csstidy']['replace_colors']['lavenderblush'] = '#FFF0F5';
  358. -
  359. $GLOBALS['csstidy']['replace_colors']['lawngreen'] = '#7CFC00';
  360. -
  361. $GLOBALS['csstidy']['replace_colors']['lemonchiffon'] = '#FFFACD';
  362. -
  363. $GLOBALS['csstidy']['replace_colors']['lightblue'] = '#ADD8E6';
  364. -
  365. $GLOBALS['csstidy']['replace_colors']['lightcoral'] = '#F08080';
  366. -
  367. $GLOBALS['csstidy']['replace_colors']['lightcyan'] = '#E0FFFF';
  368. -
  369. $GLOBALS['csstidy']['replace_colors']['lightgoldenrodyellow'] = '#FAFAD2';
  370. -
  371. $GLOBALS['csstidy']['replace_colors']['lightgrey'] = '#D3D3D3';
  372. -
  373. $GLOBALS['csstidy']['replace_colors']['lightgreen'] = '#90EE90';
  374. -
  375. $GLOBALS['csstidy']['replace_colors']['lightpink'] = '#FFB6C1';
  376. -
  377. $GLOBALS['csstidy']['replace_colors']['lightsalmon'] = '#FFA07A';
  378. -
  379. $GLOBALS['csstidy']['replace_colors']['lightseagreen'] = '#20B2AA';
  380. -
  381. $GLOBALS['csstidy']['replace_colors']['lightskyblue'] = '#87CEFA';
  382. -
  383. $GLOBALS['csstidy']['replace_colors']['lightslateblue'] = '#8470FF';
  384. -
  385. $GLOBALS['csstidy']['replace_colors']['lightslategray'] = '#778899';
  386. -
  387. $GLOBALS['csstidy']['replace_colors']['lightsteelblue'] = '#B0C4DE';
  388. -
  389. $GLOBALS['csstidy']['replace_colors']['lightyellow'] = '#FFFFE0';
  390. -
  391. $GLOBALS['csstidy']['replace_colors']['limegreen'] = '#32CD32';
  392. -
  393. $GLOBALS['csstidy']['replace_colors']['linen'] = '#FAF0E6';
  394. -
  395. $GLOBALS['csstidy']['replace_colors']['magenta'] = '#FF00FF';
  396. -
  397. $GLOBALS['csstidy']['replace_colors']['mediumaquamarine'] = '#66CDAA';
  398. -
  399. $GLOBALS['csstidy']['replace_colors']['mediumblue'] = '#0000CD';
  400. -
  401. $GLOBALS['csstidy']['replace_colors']['mediumorchid'] = '#BA55D3';
  402. -
  403. $GLOBALS['csstidy']['replace_colors']['mediumpurple'] = '#9370D8';
  404. -
  405. $GLOBALS['csstidy']['replace_colors']['mediumseagreen'] = '#3CB371';
  406. -
  407. $GLOBALS['csstidy']['replace_colors']['mediumslateblue'] = '#7B68EE';
  408. -
  409. $GLOBALS['csstidy']['replace_colors']['mediumspringgreen'] = '#00FA9A';
  410. -
  411. $GLOBALS['csstidy']['replace_colors']['mediumturquoise'] = '#48D1CC';
  412. -
  413. $GLOBALS['csstidy']['replace_colors']['mediumvioletred'] = '#C71585';
  414. -
  415. $GLOBALS['csstidy']['replace_colors']['midnightblue'] = '#191970';
  416. -
  417. $GLOBALS['csstidy']['replace_colors']['mintcream'] = '#F5FFFA';
  418. -
  419. $GLOBALS['csstidy']['replace_colors']['mistyrose'] = '#FFE4E1';
  420. -
  421. $GLOBALS['csstidy']['replace_colors']['moccasin'] = '#FFE4B5';
  422. -
  423. $GLOBALS['csstidy']['replace_colors']['navajowhite'] = '#FFDEAD';
  424. -
  425. $GLOBALS['csstidy']['replace_colors']['oldlace'] = '#FDF5E6';
  426. -
  427. $GLOBALS['csstidy']['replace_colors']['olivedrab'] = '#6B8E23';
  428. -
  429. $GLOBALS['csstidy']['replace_colors']['orangered'] = '#FF4500';
  430. -
  431. $GLOBALS['csstidy']['replace_colors']['orchid'] = '#DA70D6';
  432. -
  433. $GLOBALS['csstidy']['replace_colors']['palegoldenrod'] = '#EEE8AA';
  434. -
  435. $GLOBALS['csstidy']['replace_colors']['palegreen'] = '#98FB98';
  436. -
  437. $GLOBALS['csstidy']['replace_colors']['paleturquoise'] = '#AFEEEE';
  438. -
  439. $GLOBALS['csstidy']['replace_colors']['palevioletred'] = '#D87093';
  440. -
  441. $GLOBALS['csstidy']['replace_colors']['papayawhip'] = '#FFEFD5';
  442. -
  443. $GLOBALS['csstidy']['replace_colors']['peachpuff'] = '#FFDAB9';
  444. -
  445. $GLOBALS['csstidy']['replace_colors']['peru'] = '#CD853F';
  446. -
  447. $GLOBALS['csstidy']['replace_colors']['pink'] = '#FFC0CB';
  448. -
  449. $GLOBALS['csstidy']['replace_colors']['plum'] = '#DDA0DD';
  450. -
  451. $GLOBALS['csstidy']['replace_colors']['powderblue'] = '#B0E0E6';
  452. -
  453. $GLOBALS['csstidy']['replace_colors']['rosybrown'] = '#BC8F8F';
  454. -
  455. $GLOBALS['csstidy']['replace_colors']['royalblue'] = '#4169E1';
  456. -
  457. $GLOBALS['csstidy']['replace_colors']['saddlebrown'] = '#8B4513';
  458. -
  459. $GLOBALS['csstidy']['replace_colors']['salmon'] = '#FA8072';
  460. -
  461. $GLOBALS['csstidy']['replace_colors']['sandybrown'] = '#F4A460';
  462. -
  463. $GLOBALS['csstidy']['replace_colors']['seagreen'] = '#2E8B57';
  464. -
  465. $GLOBALS['csstidy']['replace_colors']['seashell'] = '#FFF5EE';
  466. -
  467. $GLOBALS['csstidy']['replace_colors']['sienna'] = '#A0522D';
  468. -
  469. $GLOBALS['csstidy']['replace_colors']['skyblue'] = '#87CEEB';
  470. -
  471. $GLOBALS['csstidy']['replace_colors']['slateblue'] = '#6A5ACD';
  472. -
  473. $GLOBALS['csstidy']['replace_colors']['slategray'] = '#708090';
  474. -
  475. $GLOBALS['csstidy']['replace_colors']['snow'] = '#FFFAFA';
  476. -
  477. $GLOBALS['csstidy']['replace_colors']['springgreen'] = '#00FF7F';
  478. -
  479. $GLOBALS['csstidy']['replace_colors']['steelblue'] = '#4682B4';
  480. -
  481. $GLOBALS['csstidy']['replace_colors']['tan'] = '#D2B48C';
  482. -
  483. $GLOBALS['csstidy']['replace_colors']['thistle'] = '#D8BFD8';
  484. -
  485. $GLOBALS['csstidy']['replace_colors']['tomato'] = '#FF6347';
  486. -
  487. $GLOBALS['csstidy']['replace_colors']['turquoise'] = '#40E0D0';
  488. -
  489. $GLOBALS['csstidy']['replace_colors']['violet'] = '#EE82EE';
  490. -
  491. $GLOBALS['csstidy']['replace_colors']['violetred'] = '#D02090';
  492. -
  493. $GLOBALS['csstidy']['replace_colors']['wheat'] = '#F5DEB3';
  494. -
  495. $GLOBALS['csstidy']['replace_colors']['whitesmoke'] = '#F5F5F5';
  496. -
  497. $GLOBALS['csstidy']['replace_colors']['yellowgreen'] = '#9ACD32';
  498. -
  499.  
  500. -
  501.  
  502. -
  503. /**
  504. -
  505. * A list of all shorthand properties that are devided into four properties and/or have four subvalues
  506. -
  507. *
  508. -
  509. * @global array $GLOBALS['csstidy']['shorthands']
  510. -
  511. * @todo Are there new ones in CSS3?
  512. -
  513. * @see dissolve_4value_shorthands()
  514. -
  515. * @see merge_4value_shorthands()
  516. -
  517. * @version 1.0
  518. -
  519. */
  520. -
  521. $GLOBALS['csstidy']['shorthands'] = array();
  522. -
  523. $GLOBALS['csstidy']['shorthands']['border-color'] = array('border-top-color','border-right-color','border-bottom-color','border-left-color');
  524. -
  525. $GLOBALS['csstidy']['shorthands']['border-style'] = array('border-top-style','border-right-style','border-bottom-style','border-left-style');
  526. -
  527. $GLOBALS['csstidy']['shorthands']['border-width'] = array('border-top-width','border-right-width','border-bottom-width','border-left-width');
  528. -
  529. $GLOBALS['csstidy']['shorthands']['margin'] = array('margin-top','margin-right','margin-bottom','margin-left');
  530. -
  531. $GLOBALS['csstidy']['shorthands']['padding'] = array('padding-top','padding-right','padding-bottom','padding-left');
  532. -
  533. $GLOBALS['csstidy']['shorthands']['-moz-border-radius'] = 0;
  534. -
  535.  
  536. -
  537. /**
  538. -
  539. * All CSS Properties. Needed for csstidy::property_is_next()
  540. -
  541. *
  542. -
  543. * @global array $GLOBALS['csstidy']['all_properties']
  544. -
  545. * @todo Add CSS3 properties
  546. -
  547. * @version 1.0
  548. -
  549. * @see csstidy::property_is_next()
  550. -
  551. */
  552. -
  553. $GLOBALS['csstidy']['all_properties'] = array();
  554. -
  555. $GLOBALS['csstidy']['all_properties']['background'] = 'CSS1.0,CSS2.0,CSS2.1';
  556. -
  557. $GLOBALS['csstidy']['all_properties']['background-color'] = 'CSS1.0,CSS2.0,CSS2.1';
  558. -
  559. $GLOBALS['csstidy']['all_properties']['background-image'] = 'CSS1.0,CSS2.0,CSS2.1';
  560. -
  561. $GLOBALS['csstidy']['all_properties']['background-repeat'] = 'CSS1.0,CSS2.0,CSS2.1';
  562. -
  563. $GLOBALS['csstidy']['all_properties']['background-attachment'] = 'CSS1.0,CSS2.0,CSS2.1';
  564. -
  565. $GLOBALS['csstidy']['all_properties']['background-position'] = 'CSS1.0,CSS2.0,CSS2.1';
  566. -
  567. $GLOBALS['csstidy']['all_properties']['border'] = 'CSS1.0,CSS2.0,CSS2.1';
  568. -
  569. $GLOBALS['csstidy']['all_properties']['border-top'] = 'CSS1.0,CSS2.0,CSS2.1';
  570. -
  571. $GLOBALS['csstidy']['all_properties']['border-right'] = 'CSS1.0,CSS2.0,CSS2.1';
  572. -
  573. $GLOBALS['csstidy']['all_properties']['border-bottom'] = 'CSS1.0,CSS2.0,CSS2.1';
  574. -
  575. $GLOBALS['csstidy']['all_properties']['border-left'] = 'CSS1.0,CSS2.0,CSS2.1';
  576. -
  577. $GLOBALS['csstidy']['all_properties']['border-color'] = 'CSS1.0,CSS2.0,CSS2.1';
  578. -
  579. $GLOBALS['csstidy']['all_properties']['border-top-color'] = 'CSS2.0,CSS2.1';
  580. -
  581. $GLOBALS['csstidy']['all_properties']['border-bottom-color'] = 'CSS2.0,CSS2.1';
  582. -
  583. $GLOBALS['csstidy']['all_properties']['border-left-color'] = 'CSS2.0,CSS2.1';
  584. -
  585. $GLOBALS['csstidy']['all_properties']['border-right-color'] = 'CSS2.0,CSS2.1';
  586. -
  587. $GLOBALS['csstidy']['all_properties']['border-style'] = 'CSS1.0,CSS2.0,CSS2.1';
  588. -
  589. $GLOBALS['csstidy']['all_properties']['border-top-style'] = 'CSS2.0,CSS2.1';
  590. -
  591. $GLOBALS['csstidy']['all_properties']['border-right-style'] = 'CSS2.0,CSS2.1';
  592. -
  593. $GLOBALS['csstidy']['all_properties']['border-left-style'] = 'CSS2.0,CSS2.1';
  594. -
  595. $GLOBALS['csstidy']['all_properties']['border-bottom-style'] = 'CSS2.0,CSS2.1';
  596. -
  597. $GLOBALS['csstidy']['all_properties']['border-width'] = 'CSS1.0,CSS2.0,CSS2.1';
  598. -
  599. $GLOBALS['csstidy']['all_properties']['border-top-width'] = 'CSS1.0,CSS2.0,CSS2.1';
  600. -
  601. $GLOBALS['csstidy']['all_properties']['border-right-width'] = 'CSS1.0,CSS2.0,CSS2.1';
  602. -
  603. $GLOBALS['csstidy']['all_properties']['border-left-width'] = 'CSS1.0,CSS2.0,CSS2.1';
  604. -
  605. $GLOBALS['csstidy']['all_properties']['border-bottom-width'] = 'CSS1.0,CSS2.0,CSS2.1';
  606. -
  607. $GLOBALS['csstidy']['all_properties']['border-collapse'] = 'CSS2.0,CSS2.1';
  608. -
  609. $GLOBALS['csstidy']['all_properties']['border-spacing'] = 'CSS2.0,CSS2.1';
  610. -
  611. $GLOBALS['csstidy']['all_properties']['bottom'] = 'CSS2.0,CSS2.1';
  612. -
  613. $GLOBALS['csstidy']['all_properties']['caption-side'] = 'CSS2.0,CSS2.1';
  614. -
  615. $GLOBALS['csstidy']['all_properties']['content'] = 'CSS2.0,CSS2.1';
  616. -
  617. $GLOBALS['csstidy']['all_properties']['clear'] = 'CSS1.0,CSS2.0,CSS2.1';
  618. -
  619. $GLOBALS['csstidy']['all_properties']['clip'] = 'CSS1.0,CSS2.0,CSS2.1';
  620. -
  621. $GLOBALS['csstidy']['all_properties']['color'] = 'CSS1.0,CSS2.0,CSS2.1';
  622. -
  623. $GLOBALS['csstidy']['all_properties']['counter-reset'] = 'CSS2.0,CSS2.1';
  624. -
  625. $GLOBALS['csstidy']['all_properties']['counter-increment'] = 'CSS2.0,CSS2.1';
  626. -
  627. $GLOBALS['csstidy']['all_properties']['cursor'] = 'CSS2.0,CSS2.1';
  628. -
  629. $GLOBALS['csstidy']['all_properties']['empty-cells'] = 'CSS2.0,CSS2.1';
  630. -
  631. $GLOBALS['csstidy']['all_properties']['display'] = 'CSS1.0,CSS2.0,CSS2.1';
  632. -
  633. $GLOBALS['csstidy']['all_properties']['direction'] = 'CSS2.0,CSS2.1';
  634. -
  635. $GLOBALS['csstidy']['all_properties']['float'] = 'CSS1.0,CSS2.0,CSS2.1';
  636. -
  637. $GLOBALS['csstidy']['all_properties']['font'] = 'CSS1.0,CSS2.0,CSS2.1';
  638. -
  639. $GLOBALS['csstidy']['all_properties']['font-family'] = 'CSS1.0,CSS2.0,CSS2.1';
  640. -
  641. $GLOBALS['csstidy']['all_properties']['font-style'] = 'CSS1.0,CSS2.0,CSS2.1';
  642. -
  643. $GLOBALS['csstidy']['all_properties']['font-variant'] = 'CSS1.0,CSS2.0,CSS2.1';
  644. -
  645. $GLOBALS['csstidy']['all_properties']['font-weight'] = 'CSS1.0,CSS2.0,CSS2.1';
  646. -
  647. $GLOBALS['csstidy']['all_properties']['font-stretch'] = 'CSS2.0';
  648. -
  649. $GLOBALS['csstidy']['all_properties']['font-size-adjust'] = 'CSS2.0';
  650. -
  651. $GLOBALS['csstidy']['all_properties']['font-size'] = 'CSS1.0,CSS2.0,CSS2.1';
  652. -
  653. $GLOBALS['csstidy']['all_properties']['height'] = 'CSS1.0,CSS2.0,CSS2.1';
  654. -
  655. $GLOBALS['csstidy']['all_properties']['left'] = 'CSS1.0,CSS2.0,CSS2.1';
  656. -
  657. $GLOBALS['csstidy']['all_properties']['line-height'] = 'CSS1.0,CSS2.0,CSS2.1';
  658. -
  659. $GLOBALS['csstidy']['all_properties']['list-style'] = 'CSS1.0,CSS2.0,CSS2.1';
  660. -
  661. $GLOBALS['csstidy']['all_properties']['list-style-type'] = 'CSS1.0,CSS2.0,CSS2.1';
  662. -
  663. $GLOBALS['csstidy']['all_properties']['list-style-image'] = 'CSS1.0,CSS2.0,CSS2.1';
  664. -
  665. $GLOBALS['csstidy']['all_properties']['list-style-position'] = 'CSS1.0,CSS2.0,CSS2.1';
  666. -
  667. $GLOBALS['csstidy']['all_properties']['margin'] = 'CSS1.0,CSS2.0,CSS2.1';
  668. -
  669. $GLOBALS['csstidy']['all_properties']['margin-top'] = 'CSS1.0,CSS2.0,CSS2.1';
  670. -
  671. $GLOBALS['csstidy']['all_properties']['margin-right'] = 'CSS1.0,CSS2.0,CSS2.1';
  672. -
  673. $GLOBALS['csstidy']['all_properties']['margin-bottom'] = 'CSS1.0,CSS2.0,CSS2.1';
  674. -
  675. $GLOBALS['csstidy']['all_properties']['margin-left'] = 'CSS1.0,CSS2.0,CSS2.1';
  676. -
  677. $GLOBALS['csstidy']['all_properties']['marks'] = 'CSS1.0,CSS2.0';
  678. -
  679. $GLOBALS['csstidy']['all_properties']['marker-offset'] = 'CSS2.0';
  680. -
  681. $GLOBALS['csstidy']['all_properties']['max-height'] = 'CSS2.0,CSS2.1';
  682. -
  683. $GLOBALS['csstidy']['all_properties']['max-width'] = 'CSS2.0,CSS2.1';
  684. -
  685. $GLOBALS['csstidy']['all_properties']['min-height'] = 'CSS2.0,CSS2.1';
  686. -
  687. $GLOBALS['csstidy']['all_properties']['min-width'] = 'CSS2.0,CSS2.1';
  688. -
  689. $GLOBALS['csstidy']['all_properties']['overflow'] = 'CSS1.0,CSS2.0,CSS2.1';
  690. -
  691. $GLOBALS['csstidy']['all_properties']['orphans'] = 'CSS2.0,CSS2.1';
  692. -
  693. $GLOBALS['csstidy']['all_properties']['outline'] = 'CSS2.0,CSS2.1';
  694. -
  695. $GLOBALS['csstidy']['all_properties']['outline-width'] = 'CSS2.0,CSS2.1';
  696. -
  697. $GLOBALS['csstidy']['all_properties']['outline-style'] = 'CSS2.0,CSS2.1';
  698. -
  699. $GLOBALS['csstidy']['all_properties']['outline-color'] = 'CSS2.0,CSS2.1';
  700. -
  701. $GLOBALS['csstidy']['all_properties']['padding'] = 'CSS1.0,CSS2.0,CSS2.1';
  702. -
  703. $GLOBALS['csstidy']['all_properties']['padding-top'] = 'CSS1.0,CSS2.0,CSS2.1';
  704. -
  705. $GLOBALS['csstidy']['all_properties']['padding-right'] = 'CSS1.0,CSS2.0,CSS2.1';
  706. -
  707. $GLOBALS['csstidy']['all_properties']['padding-bottom'] = 'CSS1.0,CSS2.0,CSS2.1';
  708. -
  709. $GLOBALS['csstidy']['all_properties']['padding-left'] = 'CSS1.0,CSS2.0,CSS2.1';
  710. -
  711. $GLOBALS['csstidy']['all_properties']['page-break-before'] = 'CSS1.0,CSS2.0,CSS2.1';
  712. -
  713. $GLOBALS['csstidy']['all_properties']['page-break-after'] = 'CSS1.0,CSS2.0,CSS2.1';
  714. -
  715. $GLOBALS['csstidy']['all_properties']['page-break-inside'] = 'CSS2.0,CSS2.1';
  716. -
  717. $GLOBALS['csstidy']['all_properties']['page'] = 'CSS2.0';
  718. -
  719. $GLOBALS['csstidy']['all_properties']['position'] = 'CSS1.0,CSS2.0,CSS2.1';
  720. -
  721. $GLOBALS['csstidy']['all_properties']['quotes'] = 'CSS2.0,CSS2.1';
  722. -
  723. $GLOBALS['csstidy']['all_properties']['right'] = 'CSS2.0,CSS2.1';
  724. -
  725. $GLOBALS['csstidy']['all_properties']['size'] = 'CSS1.0,CSS2.0';
  726. -
  727. $GLOBALS['csstidy']['all_properties']['speak-header'] = 'CSS2.0,CSS2.1';
  728. -
  729. $GLOBALS['csstidy']['all_properties']['table-layout'] = 'CSS2.0,CSS2.1';
  730. -
  731. $GLOBALS['csstidy']['all_properties']['top'] = 'CSS1.0,CSS2.0,CSS2.1';
  732. -
  733. $GLOBALS['csstidy']['all_properties']['text-indent'] = 'CSS1.0,CSS2.0,CSS2.1';
  734. -
  735. $GLOBALS['csstidy']['all_properties']['text-align'] = 'CSS1.0,CSS2.0,CSS2.1';
  736. -
  737. $GLOBALS['csstidy']['all_properties']['text-decoration'] = 'CSS1.0,CSS2.0,CSS2.1';
  738. -
  739. $GLOBALS['csstidy']['all_properties']['text-shadow'] = 'CSS2.0';
  740. -
  741. $GLOBALS['csstidy']['all_properties']['letter-spacing'] = 'CSS1.0,CSS2.0,CSS2.1';
  742. -
  743. $GLOBALS['csstidy']['all_properties']['word-spacing'] = 'CSS1.0,CSS2.0,CSS2.1';
  744. -
  745. $GLOBALS['csstidy']['all_properties']['text-transform'] = 'CSS1.0,CSS2.0,CSS2.1';
  746. -
  747. $GLOBALS['csstidy']['all_properties']['white-space'] = 'CSS1.0,CSS2.0,CSS2.1';
  748. -
  749. $GLOBALS['csstidy']['all_properties']['unicode-bidi'] = 'CSS2.0,CSS2.1';
  750. -
  751. $GLOBALS['csstidy']['all_properties']['vertical-align'] = 'CSS1.0,CSS2.0,CSS2.1';
  752. -
  753. $GLOBALS['csstidy']['all_properties']['visibility'] = 'CSS1.0,CSS2.0,CSS2.1';
  754. -
  755. $GLOBALS['csstidy']['all_properties']['width'] = 'CSS1.0,CSS2.0,CSS2.1';
  756. -
  757. $GLOBALS['csstidy']['all_properties']['widows'] = 'CSS2.0,CSS2.1';
  758. -
  759. $GLOBALS['csstidy']['all_properties']['z-index'] = 'CSS1.0,CSS2.0,CSS2.1';
  760. -
  761. /* Speech */
  762. -
  763. $GLOBALS['csstidy']['all_properties']['volume'] = 'CSS2.0,CSS2.1';
  764. -
  765. $GLOBALS['csstidy']['all_properties']['speak'] = 'CSS2.0,CSS2.1';
  766. -
  767. $GLOBALS['csstidy']['all_properties']['pause'] = 'CSS2.0,CSS2.1';
  768. -
  769. $GLOBALS['csstidy']['all_properties']['pause-before'] = 'CSS2.0,CSS2.1';
  770. -
  771. $GLOBALS['csstidy']['all_properties']['pause-after'] = 'CSS2.0,CSS2.1';
  772. -
  773. $GLOBALS['csstidy']['all_properties']['cue'] = 'CSS2.0,CSS2.1';
  774. -
  775. $GLOBALS['csstidy']['all_properties']['cue-before'] = 'CSS2.0,CSS2.1';
  776. -
  777. $GLOBALS['csstidy']['all_properties']['cue-after'] = 'CSS2.0,CSS2.1';
  778. -
  779. $GLOBALS['csstidy']['all_properties']['play-during'] = 'CSS2.0,CSS2.1';
  780. -
  781. $GLOBALS['csstidy']['all_properties']['azimuth'] = 'CSS2.0,CSS2.1';
  782. -
  783. $GLOBALS['csstidy']['all_properties']['elevation'] = 'CSS2.0,CSS2.1';
  784. -
  785. $GLOBALS['csstidy']['all_properties']['speech-rate'] = 'CSS2.0,CSS2.1';
  786. -
  787. $GLOBALS['csstidy']['all_properties']['voice-family'] = 'CSS2.0,CSS2.1';
  788. -
  789. $GLOBALS['csstidy']['all_properties']['pitch'] = 'CSS2.0,CSS2.1';
  790. -
  791. $GLOBALS['csstidy']['all_properties']['pitch-range'] = 'CSS2.0,CSS2.1';
  792. -
  793. $GLOBALS['csstidy']['all_properties']['stress'] = 'CSS2.0,CSS2.1';
  794. -
  795. $GLOBALS['csstidy']['all_properties']['richness'] = 'CSS2.0,CSS2.1';
  796. -
  797. $GLOBALS['csstidy']['all_properties']['speak-punctuation'] = 'CSS2.0,CSS2.1';
  798. -
  799. $GLOBALS['csstidy']['all_properties']['speak-numeral'] = 'CSS2.0,CSS2.1';
  800. -
  801.  
  802. -
  803. /**
  804. -
  805. * An array containing all predefined templates.
  806. -
  807. *
  808. -
  809. * @global array $GLOBALS['csstidy']['predefined_templates']
  810. -
  811. * @version 1.0
  812. -
  813. * @see csstidy::load_template()
  814. -
  815. */
  816. -
  817. $GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="at">'; //string before @rule
  818. -
  819. $GLOBALS['csstidy']['predefined_templates']['default'][] = '</span> <span class="format">{</span>'."\n"; //bracket after @-rule
  820. -
  821. $GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="selector">'; //string before selector
  822. -
  823. $GLOBALS['csstidy']['predefined_templates']['default'][] = '</span> <span class="format">{</span>'."\n"; //bracket after selector
  824. -
  825. $GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="property">'; //string before property
  826. -
  827. $GLOBALS['csstidy']['predefined_templates']['default'][] = '</span><span class="value">'; //string after property+before value
  828. -
  829. $GLOBALS['csstidy']['predefined_templates']['default'][] = '</span><span class="format">;</span>'."\n"; //string after value
  830. -
  831. $GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="format">}</span>'; //closing bracket - selector
  832. -
  833. $GLOBALS['csstidy']['predefined_templates']['default'][] = "\n\n"; //space between blocks {...}
  834. -
  835. $GLOBALS['csstidy']['predefined_templates']['default'][] = "\n".'<span class="format">}</span>'. "\n\n"; //closing bracket @-rule
  836. -
  837. $GLOBALS['csstidy']['predefined_templates']['default'][] = ''; //indent in @-rule
  838. -
  839. $GLOBALS['csstidy']['predefined_templates']['default'][] = '<span class="comment">'; // before comment
  840. -
  841. $GLOBALS['csstidy']['predefined_templates']['default'][] = '</span>'."\n"; // after comment
  842. -
  843. $GLOBALS['csstidy']['predefined_templates']['default'][] = "\n"; // after last line @-rule
  844. -
  845.  
  846. -
  847. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="at">';
  848. -
  849. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span> <span class="format">{</span>'."\n";
  850. -
  851. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="selector">';
  852. -
  853. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span><span class="format">{</span>';
  854. -
  855. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="property">';
  856. -
  857. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span><span class="value">';
  858. -
  859. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span><span class="format">;</span>';
  860. -
  861. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="format">}</span>';
  862. -
  863. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = "\n";
  864. -
  865. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = "\n". '<span class="format">}'."\n".'</span>';
  866. -
  867. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '';
  868. -
  869. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '<span class="comment">'; // before comment
  870. -
  871. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = '</span>'; // after comment
  872. -
  873. $GLOBALS['csstidy']['predefined_templates']['high_compression'][] = "\n";
  874. -
  875.  
  876. -
  877. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '<span class="at">';
  878. -
  879. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '</span><span class="format">{</span>';
  880. -
  881. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '<span class="selector">';
  882. -
  883. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '</span><span class="format">{</span>';
  884. -
  885. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '<span class="property">';
  886. -
  887. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '</span><span class="value">';
  888. -
  889. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '</span><span class="format">;</span>';
  890. -
  891. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '<span class="format">}</span>';
  892. -
  893. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '';
  894. -
  895. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '<span class="format">}</span>';
  896. -
  897. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '';
  898. -
  899. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '<span class="comment">'; // before comment
  900. -
  901. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '</span>'; // after comment
  902. -
  903. $GLOBALS['csstidy']['predefined_templates']['highest_compression'][] = '';
  904. -
  905.  
  906. -
  907. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '<span class="at">';
  908. -
  909. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span> <span class="format">{</span>'."\n";
  910. -
  911. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '<span class="selector">';
  912. -
  913. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span>'."\n".'<span class="format">{</span>'."\n";
  914. -
  915. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = ' <span class="property">';
  916. -
  917. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span><span class="value">';
  918. -
  919. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span><span class="format">;</span>'."\n";
  920. -
  921. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '<span class="format">}</span>';
  922. -
  923. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = "\n\n";
  924. -
  925. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = "\n".'<span class="format">}</span>'."\n\n";
  926. -
  927. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = ' ';
  928. -
  929. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '<span class="comment">'; // before comment
  930. -
  931. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = '</span>'."\n"; // after comment
  932. -
  933. $GLOBALS['csstidy']['predefined_templates']['low_compression'][] = "\n";
  934. -
  935.  
  936. -
  937. ?>
  938. -
-
-
-
- Documentation generated on Mon, 15 May 2006 22:56:01 +0200 by phpDocumentor 1.3.0RC3 -
-
-
- - - \ No newline at end of file