0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 16:31:53 +00:00

[1.2.0] Revamp docs

- Style existing HTML files (taken from AuthTools)
- Add svn:eol-style=native and svn:keywords=Id to all file
- Add metadata to HTML files
- Trim DevNetwork by using <base>

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@532 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2006-11-19 02:36:47 +00:00
parent dec6c52695
commit 780c7fd309
3 changed files with 363 additions and 322 deletions

View File

@ -1,32 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>DevNetwork Forums</title> <meta name="description" content="Credits and links to DevNetwork forum topics." />
<link rel="stylesheet" type="text/css" href="./style.css" />
</head> <base href="http://forums.devnetwork.net/" />
<body>
<title>DevNetwork Credits - HTML Purifier End-User Documentation</title>
<p>Many thanks to the DevNetwork community for answering questions,
theorizing about design, and offering encouragement during </head>
the development of this library in these forum threads:</p> <body>
<ul> <h1>DevNetwork Credits</h1>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=52905">HTMLPurifier PHP Library hompeage</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53056">How much of CSS to implement?</a></li> <p>Many thanks to the DevNetwork community for answering questions,
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53083">Parsing URL only according to URI : Security Risk?</a></li> theorizing about design, and offering encouragement during
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53096">Gimme a name : URI and friends</a></li> the development of this library in these forum threads:</p>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53415">How to document configuration directives</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53479">IPv6</a></li> <ul>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53539">http and ftp versus news and mailto</a></li> <li><a href="viewtopic.php?t=52905">HTMLPurifier PHP Library hompeage</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53579">HTMLPurifier - Take your best shot</a></li> <li><a href="viewtopic.php?t=53056">How much of CSS to implement?</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53664">Need help optimizing a block of code</a></li> <li><a href="viewtopic.php?t=53083">Parsing URL only according to URI : Security Risk?</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=53861">Non-SGML characters</a></li> <li><a href="viewtopic.php?t=53096">Gimme a name : URI and friends</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=54283">Wordpress makes me cry</a></li> <li><a href="viewtopic.php?t=53415">How to document configuration directives</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=54478">Parameter Object vs. Parameter Array vs. Parameter Functions</a></li> <li><a href="viewtopic.php?t=53479">IPv6</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=54521">Convert encoding where output cannot represent characters</a></li> <li><a href="viewtopic.php?t=53539">http and ftp versus news and mailto</a></li>
<li><a href="http://forums.devnetwork.net/viewtopic.php?t=56411">Reporting errors in a document without line numbers</a></li> <li><a href="viewtopic.php?t=53579">HTMLPurifier - Take your best shot</a></li>
</ul> <li><a href="viewtopic.php?t=53664">Need help optimizing a block of code</a></li>
</body> <li><a href="viewtopic.php?t=53861">Non-SGML characters</a></li>
<li><a href="viewtopic.php?t=54283">Wordpress makes me cry</a></li>
<li><a href="viewtopic.php?t=54478">Parameter Object vs. Parameter Array vs. Parameter Functions</a></li>
<li><a href="viewtopic.php?t=54521">Convert encoding where output cannot represent characters</a></li>
<li><a href="viewtopic.php?t=56411">Reporting errors in a document without line numbers</a></li>
</ul>
<p>...as well as any I may have forgotten.</p>
<div id="version">$Id$</div>
</body>
</html> </html>

View File

@ -1,292 +1,295 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>HTMLPurifier Progress</title> <meta name="description" content="Tables assessing implementation coverage of HTML Purifier." />
<link rel="stylesheet" type="text/css" href="./style.css" />
<style type="text/css">
<title>Implementation Progress - HTML Purifier End-User Documentation</title>
td {padding-right:1em;border-bottom:1px solid #000;padding-left:0.5em;}
th {text-align:left;padding-top:1.4em;font-size:13pt; <style type="text/css">
border-bottom:2px solid #000;background:#FFF;}
thead th {text-align:left;padding:0.1em;background-color:#EEE;} td {padding-right:1em;border-bottom:1px solid #000;padding-left:0.5em;}
th {text-align:left;padding-top:1.4em;font-size:13pt;
.impl-yes {background:#9D9;} border-bottom:2px solid #000;background:#FFF;}
.impl-partial {background:#FFA;} thead th {text-align:left;padding:0.1em;background-color:#EEE;}
.impl-no {background:#CCC;}
.impl-yes {background:#9D9;}
.danger {color:#600;} .impl-partial {background:#FFA;}
.css1 {color:#060;} .impl-no {background:#CCC;}
.required {font-weight:bold;}
.feature {color:#999;} .danger {color:#600;}
.css1 {color:#060;}
</style> .required {font-weight:bold;}
.feature {color:#999;}
</head><body>
</style>
<h1>HTMLPurifier Progress</h1>
</head><body>
<h2>Key</h2>
<h1>Implementation Progress</h1>
<table cellspacing="0"><tbody>
<tr><td class="impl-yes">Implemented</td></tr> <h2>Key</h2>
<tr><td class="impl-partial">Partially implemented</td></tr>
<tr><td class="impl-no">Will not implement</td></tr> <table cellspacing="0"><tbody>
<tr><td class="danger">Dangerous attribute/property</td></tr> <tr><td class="impl-yes">Implemented</td></tr>
<tr><td class="css1">Present in CSS1</td></tr> <tr><td class="impl-partial">Partially implemented</td></tr>
<tr><td class="feature">Feature, requires extra work</td></tr> <tr><td class="impl-no">Will not implement</td></tr>
</tbody></table> <tr><td class="danger">Dangerous attribute/property</td></tr>
<tr><td class="css1">Present in CSS1</td></tr>
<h3>CSS</h3> <tr><td class="feature">Feature, requires extra work</td></tr>
</tbody></table>
<table cellspacing="0">
<h2>CSS</h3>
<thead>
<tr><th>Name</th><th>Notes</th></tr> <table cellspacing="0">
</thead>
<thead>
<!-- <tr><th>Name</th><th>Notes</th></tr>
<tr><td>-</td><td>-</td></tr> </thead>
-->
<!--
<tbody> <tr><td>-</td><td>-</td></tr>
<tr><th colspan="2">Standard</th></tr> -->
<tr class="css1 impl-yes"><td>background-color</td><td>COMPOSITE(&lt;color&gt;, transparent)</td></tr>
<tr class="css1 impl-yes"><td>background</td><td>SHORTHAND, only for color, see below for info on background-image and friends</td></tr> <tbody>
<tr class="css1 impl-yes"><td>border</td><td>SHORTHAND, MULTIPLE</td></tr> <tr><th colspan="2">Standard</th></tr>
<tr class="css1 impl-yes"><td>border-color</td><td>MULTIPLE</td></tr> <tr class="css1 impl-yes"><td>background-color</td><td>COMPOSITE(&lt;color&gt;, transparent)</td></tr>
<tr class="css1 impl-yes"><td>border-style</td><td>MULTIPLE</td></tr> <tr class="css1 impl-yes"><td>background</td><td>SHORTHAND, only for color, see below for info on background-image and friends</td></tr>
<tr class="css1 impl-yes"><td>border-width</td><td>MULTIPLE</td></tr> <tr class="css1 impl-yes"><td>border</td><td>SHORTHAND, MULTIPLE</td></tr>
<tr class="css1 impl-yes"><td>border-*</td><td>SHORTHAND</td></tr> <tr class="css1 impl-yes"><td>border-color</td><td>MULTIPLE</td></tr>
<tr class="impl-yes"><td>border-*-color</td><td>COMPOSITE(&lt;color&gt;, transparent)</td></tr> <tr class="css1 impl-yes"><td>border-style</td><td>MULTIPLE</td></tr>
<tr class="impl-yes"><td>border-*-style</td><td>ENUM(none, hidden, dotted, dashed, <tr class="css1 impl-yes"><td>border-width</td><td>MULTIPLE</td></tr>
solid, double, groove, ridge, inset, outset)</td></tr> <tr class="css1 impl-yes"><td>border-*</td><td>SHORTHAND</td></tr>
<tr class="css1 impl-yes"><td>border-*-width</td><td>COMPOSITE(&lt;length&gt;, thin, medium, thick)</td></tr> <tr class="impl-yes"><td>border-*-color</td><td>COMPOSITE(&lt;color&gt;, transparent)</td></tr>
<tr class="css1 impl-yes"><td>clear</td><td>ENUM(none, left, right, both)</td></tr> <tr class="impl-yes"><td>border-*-style</td><td>ENUM(none, hidden, dotted, dashed,
<tr class="css1 impl-yes"><td>color</td><td>&lt;color&gt;</td></tr> solid, double, groove, ridge, inset, outset)</td></tr>
<tr class="css1 impl-yes"><td>float</td><td>ENUM(left, right, none), May require layout <tr class="css1 impl-yes"><td>border-*-width</td><td>COMPOSITE(&lt;length&gt;, thin, medium, thick)</td></tr>
precautions with clear</td></tr> <tr class="css1 impl-yes"><td>clear</td><td>ENUM(none, left, right, both)</td></tr>
<tr class="css1 impl-yes"><td>font</td><td>SHORTHAND</td></tr> <tr class="css1 impl-yes"><td>color</td><td>&lt;color&gt;</td></tr>
<tr class="css1 impl-yes"><td>font-family</td><td>CSS validator may complain if fallback font <tr class="css1 impl-yes"><td>float</td><td>ENUM(left, right, none), May require layout
family not specified</td></tr> precautions with clear</td></tr>
<tr class="css1 impl-yes"><td>font-size</td><td>COMPOSITE(&lt;absolute-size&gt;, <tr class="css1 impl-yes"><td>font</td><td>SHORTHAND</td></tr>
&lt;relative-size&gt;, &lt;length&gt;, &lt;percentage&gt;)</td></tr> <tr class="css1 impl-yes"><td>font-family</td><td>CSS validator may complain if fallback font
<tr class="css1 impl-yes"><td>font-style</td><td>ENUM(normal, italic, oblique)</td></tr> family not specified</td></tr>
<tr class="css1 impl-yes"><td>font-variant</td><td>ENUM(normal, small-caps)</td></tr> <tr class="css1 impl-yes"><td>font-size</td><td>COMPOSITE(&lt;absolute-size&gt;,
<tr class="css1 impl-yes"><td>font-weight</td><td>ENUM(normal, bold, bolder, lighter, &lt;relative-size&gt;, &lt;length&gt;, &lt;percentage&gt;)</td></tr>
100, 200, 300, 400, 500, 600, 700, 800, 900), maybe special code for <tr class="css1 impl-yes"><td>font-style</td><td>ENUM(normal, italic, oblique)</td></tr>
in-between integers</td></tr> <tr class="css1 impl-yes"><td>font-variant</td><td>ENUM(normal, small-caps)</td></tr>
<tr class="css1 impl-yes"><td>letter-spacing</td><td>COMPOSITE(&lt;length&gt;, normal)</td></tr> <tr class="css1 impl-yes"><td>font-weight</td><td>ENUM(normal, bold, bolder, lighter,
<tr class="css1 impl-yes"><td>line-height</td><td>COMPOSITE(&lt;number&gt;, 100, 200, 300, 400, 500, 600, 700, 800, 900), maybe special code for
&lt;length&gt;, &lt;percentage&gt;, normal)</td></tr> in-between integers</td></tr>
<tr class="css1 impl-yes"><td>list-style-position</td><td>ENUM(inside, outside), <tr class="css1 impl-yes"><td>letter-spacing</td><td>COMPOSITE(&lt;length&gt;, normal)</td></tr>
Strange behavior in browsers</td></tr> <tr class="css1 impl-yes"><td>line-height</td><td>COMPOSITE(&lt;number&gt;,
<tr class="css1 impl-yes"><td>list-style-type</td><td>ENUM(...), &lt;length&gt;, &lt;percentage&gt;, normal)</td></tr>
Well-supported values are: disc, circle, square, <tr class="css1 impl-yes"><td>list-style-position</td><td>ENUM(inside, outside),
decimal, lower-roman, upper-roman, lower-alpha and upper-alpha. See also Strange behavior in browsers</td></tr>
CSS 3. Mostly IE lack of support.</td></tr> <tr class="css1 impl-yes"><td>list-style-type</td><td>ENUM(...),
<tr class="css1 impl-yes"><td>list-style</td><td>SHORTHAND</td></tr> Well-supported values are: disc, circle, square,
<tr class="css1 impl-yes"><td>margin</td><td>MULTIPLE</td></tr> decimal, lower-roman, upper-roman, lower-alpha and upper-alpha. See also
<tr class="css1 impl-yes"><td>margin-*</td><td>COMPOSITE(&lt;length&gt;, CSS 3. Mostly IE lack of support.</td></tr>
&lt;percentage&gt;, auto)</td></tr> <tr class="css1 impl-yes"><td>list-style</td><td>SHORTHAND</td></tr>
<tr class="css1 impl-yes"><td>padding</td><td>MULTIPLE</td></tr> <tr class="css1 impl-yes"><td>margin</td><td>MULTIPLE</td></tr>
<tr class="css1 impl-yes"><td>padding-*</td><td>COMPOSITE(&lt;length&gt;(positive), <tr class="css1 impl-yes"><td>margin-*</td><td>COMPOSITE(&lt;length&gt;,
&lt;percentage&gt;(positive))</td></tr> &lt;percentage&gt;, auto)</td></tr>
<tr class="css1 impl-yes"><td>text-align</td><td>ENUM(left, right, <tr class="css1 impl-yes"><td>padding</td><td>MULTIPLE</td></tr>
center, justify)</td></tr> <tr class="css1 impl-yes"><td>padding-*</td><td>COMPOSITE(&lt;length&gt;(positive),
<tr class="css1 impl-yes"><td>text-decoration</td><td>No blink (argh my eyes), not &lt;percentage&gt;(positive))</td></tr>
enum, can be combined (composite sorta): underline, overline, <tr class="css1 impl-yes"><td>text-align</td><td>ENUM(left, right,
line-through</td></tr> center, justify)</td></tr>
<tr class="css1 impl-yes"><td>text-indent</td><td>COMPOSITE(&lt;length&gt;, <tr class="css1 impl-yes"><td>text-decoration</td><td>No blink (argh my eyes), not
&lt;percentage&gt;)</td></tr> enum, can be combined (composite sorta): underline, overline,
<tr class="css1 impl-yes"><td>text-transform</td><td>ENUM(capitalize, uppercase, line-through</td></tr>
lowercase, none)</td></tr> <tr class="css1 impl-yes"><td>text-indent</td><td>COMPOSITE(&lt;length&gt;,
<tr class="css1 impl-yes"><td>width</td><td>COMPOSITE(&lt;length&gt;, &lt;percentage&gt;)</td></tr>
&lt;percentage&gt;, auto), Interesting</td></tr> <tr class="css1 impl-yes"><td>text-transform</td><td>ENUM(capitalize, uppercase,
<tr class="css1 impl-yes"><td>word-spacing</td><td>COMPOSITE(&lt;length&gt;, auto), lowercase, none)</td></tr>
IE 5 no support</td></tr> <tr class="css1 impl-yes"><td>width</td><td>COMPOSITE(&lt;length&gt;,
</tbody> &lt;percentage&gt;, auto), Interesting</td></tr>
<tr class="css1 impl-yes"><td>word-spacing</td><td>COMPOSITE(&lt;length&gt;, auto),
<tbody> IE 5 no support</td></tr>
<tr><th colspan="2">Table</th></tr> </tbody>
<tr class="impl-yes"><td>border-collapse</td><td>ENUM(collapse, seperate)</td></tr>
<tr class="impl-yes"><td>caption-side</td><td>ENUM(top, bottom)</td></tr> <tbody>
<tr class="feature"><td>empty-cells</td><td>ENUM(show, hide), No IE support makes this useless, <tr><th colspan="2">Table</th></tr>
possible fix with &amp;nbsp;? Unknown release milestone.</td></tr> <tr class="impl-yes"><td>border-collapse</td><td>ENUM(collapse, seperate)</td></tr>
<tr class="impl-yes"><td>table-layout</td><td>ENUM(auto, fixed)</td></tr> <tr class="impl-yes"><td>caption-side</td><td>ENUM(top, bottom)</td></tr>
<tr class="impl-yes css1"><td>vertical-align</td><td>COMPOSITE(ENUM(baseline, sub, <tr class="feature"><td>empty-cells</td><td>ENUM(show, hide), No IE support makes this useless,
super, top, text-top, middle, bottom, text-bottom), &lt;percentage&gt;, possible fix with &amp;nbsp;? Unknown release milestone.</td></tr>
&lt;length&gt;) Also applies to others with explicit height</td></tr> <tr class="impl-yes"><td>table-layout</td><td>ENUM(auto, fixed)</td></tr>
</tbody> <tr class="impl-yes css1"><td>vertical-align</td><td>COMPOSITE(ENUM(baseline, sub,
super, top, text-top, middle, bottom, text-bottom), &lt;percentage&gt;,
<tbody> &lt;length&gt;) Also applies to others with explicit height</td></tr>
<tr><th colspan="2">Absolute positioning, unknown release milestone</th></tr> </tbody>
<tr class="danger"><td>bottom</td><td rowspan="4">Dangerous, must be non-negative</td></tr>
<tr class="danger"><td>left</td></tr> <tbody>
<tr class="danger"><td>right</td></tr> <tr><th colspan="2">Absolute positioning, unknown release milestone</th></tr>
<tr class="danger"><td>top</td></tr> <tr class="danger"><td>bottom</td><td rowspan="4">Dangerous, must be non-negative</td></tr>
<tr><td>clip</td><td>-</td></tr> <tr class="danger"><td>left</td></tr>
<tr class="danger"><td>position</td><td>ENUM(static, relative, absolute, fixed), permit <tr class="danger"><td>right</td></tr>
relative not absolute?</td></tr> <tr class="danger"><td>top</td></tr>
<tr class="danger"><td>z-index</td><td>Dangerous</td></tr> <tr><td>clip</td><td>-</td></tr>
</tbody> <tr class="danger"><td>position</td><td>ENUM(static, relative, absolute, fixed), permit
relative not absolute?</td></tr>
<tbody> <tr class="danger"><td>z-index</td><td>Dangerous</td></tr>
<tr><th colspan="2">Unknown</th></tr> </tbody>
<tr class="danger css1"><td>background-image</td><td>Dangerous, target milestone 1.2</td></tr>
<tr class="css1"><td>background-attachment</td><td>ENUM(scroll, fixed), <tbody>
Depends on background-image</td></tr> <tr><th colspan="2">Unknown</th></tr>
<tr class="css1"><td>background-position</td><td>Depends on background-image</td></tr> <tr class="danger css1"><td>background-image</td><td>Dangerous, target milestone 1.2</td></tr>
<tr class="danger impl-no"><td>cursor</td><td>Dangerous but fluffy</td></tr> <tr class="css1"><td>background-attachment</td><td>ENUM(scroll, fixed),
<tr class="danger css1"><td>display</td><td>ENUM(...), Dangerous but interesting; Depends on background-image</td></tr>
will not implement list-item, run-in (Opera only) or table (no IE); <tr class="css1"><td>background-position</td><td>Depends on background-image</td></tr>
inline-block has incomplete IE6 support and requires -moz-inline-box <tr class="danger impl-no"><td>cursor</td><td>Dangerous but fluffy</td></tr>
for Mozilla. Unknown target milestone.</td></tr> <tr class="danger css1"><td>display</td><td>ENUM(...), Dangerous but interesting;
<tr><td class="css1">height</td><td>Interesting, why use it? Unknown target milestone.</td></tr> will not implement list-item, run-in (Opera only) or table (no IE);
<tr class="danger css1"><td>list-style-image</td><td>Dangerous? Target milestone 1.2</td></tr> inline-block has incomplete IE6 support and requires -moz-inline-box
<tr class="impl-no"><td>max-height</td><td rowspan="4">No IE 5/6</td></tr> for Mozilla. Unknown target milestone.</td></tr>
<tr class="impl-no"><td>min-height</td></tr> <tr><td class="css1">height</td><td>Interesting, why use it? Unknown target milestone.</td></tr>
<tr class="impl-no"><td>max-width</td></tr> <tr class="danger css1"><td>list-style-image</td><td>Dangerous? Target milestone 1.2</td></tr>
<tr class="impl-no"><td>min-width</td></tr> <tr class="impl-no"><td>max-height</td><td rowspan="4">No IE 5/6</td></tr>
<tr class="impl-no"><td>orphans</td><td>No IE support</td></tr> <tr class="impl-no"><td>min-height</td></tr>
<tr class="impl-no"><td>widows</td><td>No IE support</td></tr> <tr class="impl-no"><td>max-width</td></tr>
<tr><td>overflow</td><td>ENUM, IE 5/6 almost (remove visible if set). Unknown target milestone.</td></tr> <tr class="impl-no"><td>min-width</td></tr>
<tr><td>page-break-after</td><td>ENUM(auto, always, avoid, left, right), <tr class="impl-no"><td>orphans</td><td>No IE support</td></tr>
IE 5.5/6 and Opera. Unknown target milestone.</td></tr> <tr class="impl-no"><td>widows</td><td>No IE support</td></tr>
<tr><td>page-break-before</td><td>ENUM(auto, always, avoid, left, right), <tr><td>overflow</td><td>ENUM, IE 5/6 almost (remove visible if set). Unknown target milestone.</td></tr>
Mostly supported. Unknown target milestone.</td></tr> <tr><td>page-break-after</td><td>ENUM(auto, always, avoid, left, right),
<tr><td>page-break-inside</td><td>ENUM(avoid, auto), Opera only. Unknown target milestone.</td></tr> IE 5.5/6 and Opera. Unknown target milestone.</td></tr>
<tr class="impl-no"><td>quotes</td><td>May be dropped from CSS2, fairly useless for inline context</td></tr> <tr><td>page-break-before</td><td>ENUM(auto, always, avoid, left, right),
<tr class="impl-no"><td>visibility</td><td>ENUM(visible, hidden, collapse), Mostly supported. Unknown target milestone.</td></tr>
Dangerous</td></tr> <tr><td>page-break-inside</td><td>ENUM(avoid, auto), Opera only. Unknown target milestone.</td></tr>
<tr class="css1 feature"><td>white-space</td><td>ENUM(normal, pre, nowrap, pre-wrap, <tr class="impl-no"><td>quotes</td><td>May be dropped from CSS2, fairly useless for inline context</td></tr>
pre-line), Spotty implementation: <tr class="impl-no"><td>visibility</td><td>ENUM(visible, hidden, collapse),
pre (no IE 5/6), nowrap (no IE 5), Dangerous</td></tr>
pre-wrap (only Opera), pre-line (no support). Fixable? Unknown target milestone.</td></tr> <tr class="css1 feature"><td>white-space</td><td>ENUM(normal, pre, nowrap, pre-wrap,
</tbody> pre-line), Spotty implementation:
pre (no IE 5/6), nowrap (no IE 5),
<tbody class="impl-no"> pre-wrap (only Opera), pre-line (no support). Fixable? Unknown target milestone.</td></tr>
<tr><th colspan="2">Aural</th></tr> </tbody>
<tr><td>azimuth</td><td>-</td></tr>
<tr><td>cue</td><td>-</td></tr> <tbody class="impl-no">
<tr><td>cue-after</td><td>-</td></tr> <tr><th colspan="2">Aural</th></tr>
<tr><td>cue-before</td><td>-</td></tr> <tr><td>azimuth</td><td>-</td></tr>
<tr><td>elevation</td><td>-</td></tr> <tr><td>cue</td><td>-</td></tr>
<tr><td>pause-after</td><td>-</td></tr> <tr><td>cue-after</td><td>-</td></tr>
<tr><td>pause-before</td><td>-</td></tr> <tr><td>cue-before</td><td>-</td></tr>
<tr><td>pause</td><td>-</td></tr> <tr><td>elevation</td><td>-</td></tr>
<tr><td>pitch-range</td><td>-</td></tr> <tr><td>pause-after</td><td>-</td></tr>
<tr><td>pitch</td><td>-</td></tr> <tr><td>pause-before</td><td>-</td></tr>
<tr><td>play-during</td><td>-</td></tr> <tr><td>pause</td><td>-</td></tr>
<tr><td>richness</td><td>-</td></tr> <tr><td>pitch-range</td><td>-</td></tr>
<tr><td>speak-header</td><td>Table related</td></tr> <tr><td>pitch</td><td>-</td></tr>
<tr><td>speak-numeral</td><td>-</td></tr> <tr><td>play-during</td><td>-</td></tr>
<tr><td>speak-punctuation</td><td>-</td></tr> <tr><td>richness</td><td>-</td></tr>
<tr><td>speak</td><td>-</td></tr> <tr><td>speak-header</td><td>Table related</td></tr>
<tr><td>speech-rate</td><td>-</td></tr> <tr><td>speak-numeral</td><td>-</td></tr>
<tr><td>stress</td><td>-</td></tr> <tr><td>speak-punctuation</td><td>-</td></tr>
<tr><td>voice-family</td><td>-</td></tr> <tr><td>speak</td><td>-</td></tr>
<tr><td>volume</td><td>-</td></tr> <tr><td>speech-rate</td><td>-</td></tr>
</tbody> <tr><td>stress</td><td>-</td></tr>
<tr><td>voice-family</td><td>-</td></tr>
<tbody class="impl-no"> <tr><td>volume</td><td>-</td></tr>
<tr><th colspan="2">Will not implement</th></tr> </tbody>
<tr><td>content</td><td>Not applicable for inline styles</td></tr>
<tr><td>counter-increment</td><td>Needs content, Opera only</td></tr> <tbody class="impl-no">
<tr><td>counter-reset</td><td>Needs content, Opera only</td></tr> <tr><th colspan="2">Will not implement</th></tr>
<tr><td>direction</td><td>No support</td></tr> <tr><td>content</td><td>Not applicable for inline styles</td></tr>
<tr><td>outline-color</td><td rowspan="4">IE Mac and Opera on outside, <tr><td>counter-increment</td><td>Needs content, Opera only</td></tr>
Mozilla on inside and needs -moz-outline, no IE support.</td></tr> <tr><td>counter-reset</td><td>Needs content, Opera only</td></tr>
<tr><td>outline-style</td></tr> <tr><td>direction</td><td>No support</td></tr>
<tr><td>outline-width</td></tr> <tr><td>outline-color</td><td rowspan="4">IE Mac and Opera on outside,
<tr><td>outline</td></tr> Mozilla on inside and needs -moz-outline, no IE support.</td></tr>
<tr><td>unicode-bidi</td><td>No support</td></tr> <tr><td>outline-style</td></tr>
</tbody> <tr><td>outline-width</td></tr>
<tr><td>outline</td></tr>
</table> <tr><td>unicode-bidi</td><td>No support</td></tr>
</tbody>
<h2>Interesting Attributes</h2>
</table>
<table cellspacing="0">
<h2>Interesting Attributes</h2>
<thead>
<tr><th>Attribute</th><th>Tags</th><th>Notes</th></tr> <table cellspacing="0">
</thead>
<thead>
<!-- <tr><th>Attribute</th><th>Tags</th><th>Notes</th></tr>
<tr><th></th></tr> </thead>
<tbody>
<tr><td>-</td><td>-</td><td>-</td></tr> <!--
</tbody> <tr><th></th></tr>
--> <tbody>
<tr><td>-</td><td>-</td><td>-</td></tr>
<tbody> </tbody>
<tr><th colspan="3">CSS</th></tr> -->
<tr class="impl-yes"><td>style</td><td>All</td><td>Not all properties may be implemented, parser is good though.</td></tr>
</tbody> <tbody>
<tr><th colspan="3">CSS</th></tr>
<tbody> <tr class="impl-yes"><td>style</td><td>All</td><td>Not all properties may be implemented, parser is good though.</td></tr>
<tr><th colspan="3">Questionable</th></tr> </tbody>
<tr class="impl-no"><td>accesskey</td><td>A</td><td>May interfere with main interface</td></tr>
<tr class="impl-no"><td>tabindex</td><td>A</td><td>May interfere with main interface</td></tr> <tbody>
<tr><td>target</td><td>A</td><td>Config enabled, only useful for frame layouts</td></tr> <tr><th colspan="3">Questionable</th></tr>
</tbody> <tr class="impl-no"><td>accesskey</td><td>A</td><td>May interfere with main interface</td></tr>
<tr class="impl-no"><td>tabindex</td><td>A</td><td>May interfere with main interface</td></tr>
<tbody> <tr><td>target</td><td>A</td><td>Config enabled, only useful for frame layouts</td></tr>
<tr><th colspan="3">Miscellaneous</th></tr> </tbody>
<tr><td>datetime</td><td>DEL, INS</td><td>No visible effect, ISO format</td></tr>
<tr><td>rel</td><td>A</td><td>Largely user-defined: nofollow, tag (see microformats)</td></tr> <tbody>
<tr><td>rev</td><td>A</td><td>Largely user-defined: vote-*</td></tr> <tr><th colspan="3">Miscellaneous</th></tr>
<tr class="feature"><td>axis</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr> <tr><td>datetime</td><td>DEL, INS</td><td>No visible effect, ISO format</td></tr>
<tr class="feature"><td>char</td><td>COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR</td><td>W3C only: No browser implementation</td></tr> <tr><td>rel</td><td>A</td><td>Largely user-defined: nofollow, tag (see microformats)</td></tr>
<tr class="feature"><td>headers</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr> <tr><td>rev</td><td>A</td><td>Largely user-defined: vote-*</td></tr>
<tr class="feature"><td>scope</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr> <tr class="feature"><td>axis</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr>
</tbody> <tr class="feature"><td>char</td><td>COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR</td><td>W3C only: No browser implementation</td></tr>
<tr class="feature"><td>headers</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr>
<tbody class="impl-yes"> <tr class="feature"><td>scope</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr>
<tr><th colspan="3">URI</th></tr> </tbody>
<tr><td rowspan="2">cite</td><td>BLOCKQUOTE, Q</td><td>For attribution</td></tr>
<tr><td>DEL, INS</td><td>Link to explanation why it changed</td></tr> <tbody class="impl-yes">
<tr><td>href</td><td>A</td><td>-</td></tr> <tr><th colspan="3">URI</th></tr>
<tr><td>longdesc</td><td>IMG</td><td>-</td></tr> <tr><td rowspan="2">cite</td><td>BLOCKQUOTE, Q</td><td>For attribution</td></tr>
<tr class="required"><td>src</td><td>IMG</td><td>Required</td></tr> <tr><td>DEL, INS</td><td>Link to explanation why it changed</td></tr>
</tbody> <tr><td>href</td><td>A</td><td>-</td></tr>
<tr><td>longdesc</td><td>IMG</td><td>-</td></tr>
<tbody> <tr class="required"><td>src</td><td>IMG</td><td>Required</td></tr>
<tr><th colspan="3">Transform, target milestone 1.4</th></tr> </tbody>
<tr><td rowspan="5">align</td><td>CAPTION</td><td>Near-equiv style 'caption-side', drop left and right</td></tr>
<tr><td>IMG</td><td rowspan="2">Margin-left and margin-right = auto or parent div</td></tr> <tbody>
<tr><td>TABLE</td></tr> <tr><th colspan="3">Transform, target milestone 1.4</th></tr>
<tr><td>HR</td><td>Equivalent style 'text-align' (IE tested)</td></tr> <tr><td rowspan="5">align</td><td>CAPTION</td><td>Near-equiv style 'caption-side', drop left and right</td></tr>
<tr class="impl-yes"><td>H1, H2, H3, H4, H5, H6, P</td><td>Equivalent style 'text-align'</td></tr> <tr><td>IMG</td><td rowspan="2">Margin-left and margin-right = auto or parent div</td></tr>
<tr class="required impl-yes"><td>alt</td><td>IMG</td><td>Required, insert image filename if src is present or default invalid image text</td></tr> <tr><td>TABLE</td></tr>
<tr><td rowspan="3">bgcolor</td><td>TABLE</td><td>Equivalent style 'background-color' (IE tested)</td></tr> <tr><td>HR</td><td>Equivalent style 'text-align' (IE tested)</td></tr>
<tr><td>TR</td><td>Equivalent style 'background-color' (IE tested)</td></tr> <tr class="impl-yes"><td>H1, H2, H3, H4, H5, H6, P</td><td>Equivalent style 'text-align'</td></tr>
<tr><td>TD, TH</td><td>Equivalent style 'background-color'</td></tr> <tr class="required impl-yes"><td>alt</td><td>IMG</td><td>Required, insert image filename if src is present or default invalid image text</td></tr>
<tr><td>border</td><td>IMG</td><td>Equivalent style 'border-width', only applies when link present</td></tr> <tr><td rowspan="3">bgcolor</td><td>TABLE</td><td>Equivalent style 'background-color' (IE tested)</td></tr>
<tr><td>clear</td><td>BR</td><td>Near-equiv style 'clear', transform 'all' into 'both'</td></tr> <tr><td>TR</td><td>Equivalent style 'background-color' (IE tested)</td></tr>
<tr class="impl-no"><td>compact</td><td>DL, OL, UL</td><td>Boolean, needs custom CSS class; rarely used anyway</td></tr> <tr><td>TD, TH</td><td>Equivalent style 'background-color'</td></tr>
<tr class="required impl-yes"><td>dir</td><td>BDO</td><td>Required, insert ltr (or configuration value) if none</td></tr> <tr><td>border</td><td>IMG</td><td>Equivalent style 'border-width', only applies when link present</td></tr>
<tr><td>height</td><td>TD, TH</td><td>Near-equiv style 'height', needs px suffix if original was in pixels</td></tr> <tr><td>clear</td><td>BR</td><td>Near-equiv style 'clear', transform 'all' into 'both'</td></tr>
<tr><td>hspace</td><td>IMG</td><td>Near-equiv styles 'margin-top' and 'margin-bottom', needs px suffix</td></tr> <tr class="impl-no"><td>compact</td><td>DL, OL, UL</td><td>Boolean, needs custom CSS class; rarely used anyway</td></tr>
<tr class="impl-yes"><td>lang</td><td>*</td><td>Copy value to xml:lang</td></tr> <tr class="required impl-yes"><td>dir</td><td>BDO</td><td>Required, insert ltr (or configuration value) if none</td></tr>
<tr><td rowspan="2">name</td><td>IMG</td><td>Turn into ID</td></tr> <tr><td>height</td><td>TD, TH</td><td>Near-equiv style 'height', needs px suffix if original was in pixels</td></tr>
<tr><td>A</td><td>Turn into ID? (not deprecated, though in which specs?)</td></tr> <tr><td>hspace</td><td>IMG</td><td>Near-equiv styles 'margin-top' and 'margin-bottom', needs px suffix</td></tr>
<tr><td>noshade</td><td>HR</td><td>Boolean, style 'border-style:solid;'</td></tr> <tr class="impl-yes"><td>lang</td><td>*</td><td>Copy value to xml:lang</td></tr>
<tr><td>nowrap</td><td>TD, TH</td><td>Boolean, style 'white-space:nowrap;' (not compat with IE5)</td></tr> <tr><td rowspan="2">name</td><td>IMG</td><td>Turn into ID</td></tr>
<tr><td>size</td><td>HR</td><td>Near-equiv 'width', needs px suffix if original was pixels</td></tr> <tr><td>A</td><td>Turn into ID? (not deprecated, though in which specs?)</td></tr>
<tr class="required impl-yes"><td>src</td><td>IMG</td><td>Required, insert blank or default img if not set</td></tr> <tr><td>noshade</td><td>HR</td><td>Boolean, style 'border-style:solid;'</td></tr>
<tr><td>start</td><td>OL</td><td>Poorly supported 'counter-reset', transform may not be desirable</td></tr> <tr><td>nowrap</td><td>TD, TH</td><td>Boolean, style 'white-space:nowrap;' (not compat with IE5)</td></tr>
<tr><td rowspan="3">type</td><td>LI</td><td rowspan="3">Equivalent style 'list-style-type', different allowed values though. (needs testing)</td></tr> <tr><td>size</td><td>HR</td><td>Near-equiv 'width', needs px suffix if original was pixels</td></tr>
<tr><td>OL</td></tr> <tr class="required impl-yes"><td>src</td><td>IMG</td><td>Required, insert blank or default img if not set</td></tr>
<tr><td>UL</td></tr> <tr><td>start</td><td>OL</td><td>Poorly supported 'counter-reset', transform may not be desirable</td></tr>
<tr><td>value</td><td>LI</td><td>Poorly supported 'counter-reset', transform may not be desirable, see ol.start. Configurable.</td></tr> <tr><td rowspan="3">type</td><td>LI</td><td rowspan="3">Equivalent style 'list-style-type', different allowed values though. (needs testing)</td></tr>
<tr><td>vspace</td><td>IMG</td><td>Near-equiv styles 'margin-left' and 'margin-right', needs px suffix, see hspace</td></tr> <tr><td>OL</td></tr>
<tr><td rowspan="2">width</td><td>HR</td><td rowspan="2">Near-equiv style 'width', needs px suffix if original was pixels</td></tr> <tr><td>UL</td></tr>
<tr><td>TD, TH</td></tr> <tr><td>value</td><td>LI</td><td>Poorly supported 'counter-reset', transform may not be desirable, see ol.start. Configurable.</td></tr>
</tbody> <tr><td>vspace</td><td>IMG</td><td>Near-equiv styles 'margin-left' and 'margin-right', needs px suffix, see hspace</td></tr>
<tr><td rowspan="2">width</td><td>HR</td><td rowspan="2">Near-equiv style 'width', needs px suffix if original was pixels</td></tr>
</table> <tr><td>TD, TH</td></tr>
</tbody>
</table>
</body></html> </body></html>

28
docs/style.css Normal file
View File

@ -0,0 +1,28 @@
html {font-size:1em; font-family:serif; }
body {margin-left:4em; margin-right:4em; }
dt {font-weight:bold; }
pre {margin-left:2em; }
pre, code, tt {font-family:monospace; font-size:1em; }
h1 {text-align:center; font-family:Garamond, serif;
font-variant:small-caps;}
h2 {border-bottom:1px solid #CCC; font-family:sans-serif; font-weight:normal;
font-size:1.3em;}
h3 {font-family:sans-serif; font-size:1.1em; font-weight:bold; }
h4 {font-family:sans-serif; font-size:0.9em; font-weight:bold; }
/* Used for special "See also" links. */
.reference {font-style:italic;margin-left:2em;}
/* Marks off asides, discussions on why something is the way it is */
.aside {margin-left:2em; font-family:sans-serif; font-size:0.9em; }
/* A regular table */
.table {border-collapse:collapse; border-bottom:2px solid #888; margin-left:2em; }
.table thead th {margin:0; background:#888; color:#FFF; }
.table thead th:first-child {-moz-border-radius-topleft:1em;}
.table tbody td {border-bottom:1px solid #CCC; padding-right:0.6em;padding-left:0.6em;}
/* Contains, without exception, $Id$, for SVN version info. */
#version {text-align:right; font-style:italic; }