2006-08-06 04:31:14 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
|
|
|
|
|
|
|
|
<title>HTMLPurifier Progress</title>
|
|
|
|
|
|
|
|
<style type="text/css">
|
2006-08-06 22:53:07 +00:00
|
|
|
|
2006-08-07 20:28:35 +00:00
|
|
|
td {padding-right:1em;border-bottom:1px solid #000;padding-left:0.5em;}
|
2006-08-06 21:24:59 +00:00
|
|
|
th {text-align:left;padding-top:1.4em;font-size:13pt;
|
|
|
|
border-bottom:2px solid #000;background:#FFF;}
|
|
|
|
thead th {text-align:left;padding:0.1em;background-color:#EEE;}
|
|
|
|
|
2006-08-07 00:04:01 +00:00
|
|
|
.impl-yes {background:#AFA;}
|
|
|
|
.impl-no {background:#FAA;}
|
|
|
|
|
|
|
|
.danger {background:#FEE;}
|
2006-08-07 20:28:35 +00:00
|
|
|
.css1 {color:#060;}
|
2006-08-06 21:24:59 +00:00
|
|
|
|
2006-08-06 04:31:14 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
</head><body>
|
|
|
|
|
|
|
|
<h1>HTMLPurifier Progress</h1>
|
|
|
|
|
2006-08-07 00:04:01 +00:00
|
|
|
<h2>Key</h2>
|
|
|
|
|
2006-08-07 20:28:35 +00:00
|
|
|
<table cellspacing="0"><tbody>
|
|
|
|
<tr><td class="impl-yes">Implemented</td></tr>
|
|
|
|
<tr><td class="impl-no">Will not implement</td></tr>
|
|
|
|
<tr><td class="danger">Dangerous attribute/property</td></tr>
|
|
|
|
<tr><td class="css1">Present in CSS1</td></tr>
|
|
|
|
</tbody></table>
|
2006-08-07 00:04:01 +00:00
|
|
|
|
|
|
|
<h2>Interesting Attributes</h2>
|
2006-08-06 04:31:14 +00:00
|
|
|
|
2006-08-06 21:24:59 +00:00
|
|
|
<table cellspacing="0">
|
2006-08-06 04:31:14 +00:00
|
|
|
|
|
|
|
<thead>
|
|
|
|
<tr><th>Attribute</th><th>Tags</th><th>Notes</th></tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<tr><th></th></tr>
|
|
|
|
<tbody>
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td>-</td><td>-</td><td>-</td></tr>
|
2006-08-06 04:31:14 +00:00
|
|
|
</tbody>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="3">CSS</th></tr>
|
2006-08-06 04:31:14 +00:00
|
|
|
<tr><td>style</td><td>All</td><td>Needs CSS parser</td></tr>
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="3">Questionable</th></tr>
|
2006-08-06 04:31:14 +00:00
|
|
|
<tr><td>accesskey</td><td>A</td><td>May interfere with main interface</td></tr>
|
|
|
|
<tr><td>tabindex</td><td>A</td><td>May interfere with main interface</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr><td>target</td><td>A</td><td>Config enabled, only useful for frame layouts</td></tr>
|
2006-08-06 04:31:14 +00:00
|
|
|
</tbody>
|
|
|
|
|
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="3">Miscellaneous</th></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<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</td></tr>
|
2006-08-06 04:31:14 +00:00
|
|
|
<tr><td>rev</td><td>A</td><td>Largely user-defined</td></tr>
|
|
|
|
<tr><td>axis</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr>
|
2006-08-07 00:04:01 +00:00
|
|
|
<tr><td>char</td><td>COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR</td><td>W3C only: No browser implementation</td></tr>
|
2006-08-06 04:31:14 +00:00
|
|
|
<tr><td>headers</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr>
|
|
|
|
<tr><td>scope</td><td>TD, TH</td><td>W3C only: No browser implementation</td></tr>
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="3">URI</th></tr>
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td rowspan="2">cite</td><td>BLOCKQUOTE, Q</td><td>-</td></tr>
|
|
|
|
<tr><td>DEL, INS</td><td>-</td></tr>
|
|
|
|
<tr><td>href</td><td>A</td><td>-</td></tr>
|
|
|
|
<tr><td>longdesc</td><td>IMG</td><td>-</td></tr>
|
2006-08-06 04:31:14 +00:00
|
|
|
<tr><td>src</td><td>IMG</td><td>Required</td></tr>
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="3">Transform</th></tr>
|
2006-08-07 00:04:01 +00:00
|
|
|
<tr><td rowspan="5">align</td><td>CAPTION</td><td>-</td></tr>
|
2006-08-06 21:52:33 +00:00
|
|
|
<tr><td>IMG</td><td>Near-equiv style 'caption-side', drop left and right</td></tr>
|
|
|
|
<tr><td>TABLE</td><td>Margin-left and margin-right = auto or parent div</td></tr>
|
|
|
|
<tr><td>HR</td><td>Margin-left and margin-right = auto or parent div (disputed, 'text-align' may work)</td></tr>
|
2006-08-07 00:04:01 +00:00
|
|
|
<tr class="impl-yes"><td>H1, H2, H3, H4, H5, H6, P</td><td>Equivalent style 'text-align'</td></tr>
|
2006-08-06 21:52:33 +00:00
|
|
|
<tr><td>alt</td><td>IMG</td><td>Required, insert image filename if non-existant</td></tr>
|
|
|
|
<tr><td rowspan="3">bgcolor</td><td>TABLE</td><td>Equivalent style 'background-color' (test compat)</td></tr>
|
|
|
|
<tr><td>TR</td><td>Equivalent style 'background-color' (test compat)</td></tr>
|
|
|
|
<tr><td>TD, TH</td><td>Equivalent style 'background-color'</td></tr>
|
|
|
|
<tr><td>border</td><td>IMG</td><td>No clean way, either set 'border-width' in parent A, custom CSS class ~'nolinkborder' if border=0</td></tr>
|
|
|
|
<tr><td>clear</td><td>BR</td><td>Near-equiv style 'clear', transform 'all' into 'both'</td></tr>
|
|
|
|
<tr><td>compact</td><td>DL, OL, UL</td><td>Boolean, needs custom CSS class</td></tr>
|
|
|
|
<tr><td>dir</td><td>BDO</td><td>Required, insert ltr (or configuration value) if none</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>hspace</td><td>IMG</td><td>Near-equiv styles 'margin-top' and 'margin-bottom'</td></tr>
|
2006-08-07 00:04:01 +00:00
|
|
|
<tr class="impl-yes"><td>lang</td><td>*</td><td>Copy value to xml:lang</td></tr>
|
2006-08-06 21:52:33 +00:00
|
|
|
<tr><td rowspan="2">name</td><td>IMG</td><td>Turn into ID</td></tr>
|
|
|
|
<tr><td>A</td><td>Turn into ID? (not deprecated)</td></tr>
|
|
|
|
<tr><td>noshade</td><td>HR</td><td>Boolean, style 'border-style:solid;'</td></tr>
|
|
|
|
<tr><td>nowrap</td><td>TD, TH</td><td>Boolean, style 'white-space:nowrap;' (not compat with IE5)</td></tr>
|
|
|
|
<tr><td>size</td><td>HR</td><td>Near-equiv 'width', needs px suffix if original was pixels</td></tr>
|
|
|
|
<tr><td>start</td><td>OL</td><td>Poorly supported 'counter-reset', transform may not be desirable</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>OL</td></tr>
|
|
|
|
<tr><td>UL</td></tr>
|
|
|
|
<tr><td>value</td><td>LI</td><td>Poorly supported 'counter-reset', transform may not be desirable, see ol.start</td></tr>
|
|
|
|
<tr><td>vspace</td><td>IMG</td><td>Near-equiv styles 'margin-left' and 'margin-right', see hspace</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<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>
|
2006-08-06 21:52:33 +00:00
|
|
|
<tr><td>TD, TH</td></tr>
|
2006-08-06 04:31:14 +00:00
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h3>CSS</h3>
|
|
|
|
|
2006-08-06 21:24:59 +00:00
|
|
|
<table cellspacing="0">
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
<tr><th>Name</th><th>Notes</th></tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<!--
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td>-</td><td>-</td></tr>
|
2006-08-06 21:24:59 +00:00
|
|
|
-->
|
|
|
|
|
2006-08-06 21:52:33 +00:00
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="2">Standard</th></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr class="css1"><td>background-color</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>background</td><td>Depends on background-*</td></tr>
|
|
|
|
<tr class="css1"><td>border</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>border-color</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>border-style</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>border-width</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>border-*</td><td>-</td></tr>
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td>border-*-color</td><td>-</td></tr>
|
|
|
|
<tr><td>border-*-style</td><td>-</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr class="css1"><td>border-*-width</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>clear</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>color</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>float</td><td>May require layout precautions with clear</td></tr>
|
|
|
|
<tr class="css1"><td>font</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>font-family</td><td>CSS validator may complain if fallback font
|
2006-08-06 21:24:59 +00:00
|
|
|
family not specified</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr class="css1"><td>font-size</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>font-style</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>font-variant</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>font-weight</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>letter-spacing</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>line-height</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>list-style-position</td><td>Strange behavior in browsers</td></tr>
|
|
|
|
<tr class="css1"><td>list-style-type</td><td>Well-supported values are: disc, circle, square
|
2006-08-06 21:24:59 +00:00
|
|
|
decimal, lower-roman, upper-roman, lower-alpha and upper-alpha. See also
|
|
|
|
CSS 3. Mostly IE lack of support.</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr class="css1"><td>list-style</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>margin</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>margin-*</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>padding</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>padding-*</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>text-align</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>text-decoration</td><td>No blink (argh my eyes)</td></tr>
|
|
|
|
<tr class="css1"><td>text-indent</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>text-transform</td><td>-</td></tr>
|
|
|
|
<tr class="css1"><td>width</td><td>Interesting</td></tr>
|
|
|
|
<tr class="css1"><td>word-spacing</td><td>IE 5 no support</td></tr>
|
2006-08-06 21:24:59 +00:00
|
|
|
</tbody>
|
|
|
|
|
2006-08-06 21:52:33 +00:00
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="2">Table</th></tr>
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td>border-collapse</td><td>-</td></tr>
|
|
|
|
<tr><td>caption-side</td><td>-</td></tr>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><td>empty-cells</td><td>No IE support, possible fix with &nbsp;?</td></tr>
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td>table-layout</td><td>-</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr class="css1"><td>vertical-align</td><td>Also applies to others with explicit height</td></tr>
|
2006-08-06 21:24:59 +00:00
|
|
|
</tbody>
|
|
|
|
|
2006-08-06 21:52:33 +00:00
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="2">Absolute positioning</th></tr>
|
2006-08-07 00:04:01 +00:00
|
|
|
<tr class="danger"><td>bottom</td><td rowspan="4">Dangerous, must be non-negative</td></tr>
|
|
|
|
<tr class="danger"><td>left</td></tr>
|
|
|
|
<tr class="danger"><td>right</td></tr>
|
|
|
|
<tr class="danger"><td>top</td></tr>
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td>clip</td><td>-</td></tr>
|
|
|
|
<tr><td>position</td><td>-</td></tr>
|
2006-08-07 00:04:01 +00:00
|
|
|
<tr class="danger"><td>z-index</td><td>Dangerous</td></tr>
|
2006-08-06 21:24:59 +00:00
|
|
|
</tbody>
|
|
|
|
|
2006-08-06 21:52:33 +00:00
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="2">Unknown</th></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr class="danger css1"><td>background-image</td><td>Dangerous</td></tr>
|
|
|
|
<tr class="css1"><td>background-attachment</td><td>Depends on background-image</td></tr>
|
|
|
|
<tr class="css1"><td>background-position</td><td>Depends on background-image</td></tr>
|
2006-08-07 00:04:01 +00:00
|
|
|
<tr class="danger"><td>cursor</td><td>Dangerous but fluffy</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr class="danger css1"><td>display</td><td>Dangerous but interesting;
|
2006-08-06 21:24:59 +00:00
|
|
|
will not implement list-item, run-in (Opera only) or table (no IE);
|
|
|
|
inline-block has incomplete IE6 support and requires -moz-inline-box
|
|
|
|
for Mozilla.</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr><td class="css1">height</td><td>Interesting, why use it?</td></tr>
|
|
|
|
<tr class="danger css1"><td>list-style-image</td><td>Dangerous?</td></tr>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><td>max-height</td><td rowspan="4">No IE 5/6</td></tr>
|
|
|
|
<tr><td>min-height</td></tr>
|
|
|
|
<tr><td>max-width</td></tr>
|
|
|
|
<tr><td>min-width</td></tr>
|
|
|
|
<tr><td>orphans</td><td>No IE support</td></tr>
|
|
|
|
<tr><td>widows</td><td>No IE support</td></tr>
|
|
|
|
<tr><td>overflow</td><td>IE 5/6 almost (remove visible if set)</td></tr>
|
|
|
|
<tr><td>page-break-after</td><td>IE 5.5/6 and Opera</td></tr>
|
|
|
|
<tr><td>page-break-before</td><td>Mostly supported</td></tr>
|
|
|
|
<tr><td>page-break-inside</td><td>Opera only</td></tr>
|
|
|
|
<tr><td>quotes</td><td>May be dropped from CSS2</td></tr>
|
2006-08-07 00:04:01 +00:00
|
|
|
<tr class="danger"><td>visibility</td><td>Dangerous</td></tr>
|
2006-08-07 20:28:35 +00:00
|
|
|
<tr><td class="css1">white-space</td><td>Spotty implementation: pre (no IE 5/6), nowrap (no IE 5),
|
2006-08-06 21:24:59 +00:00
|
|
|
pre-wrap (only Opera), pre-line (no-support). Fixable?</td></tr>
|
|
|
|
</tbody>
|
|
|
|
|
2006-08-06 21:52:33 +00:00
|
|
|
<tbody>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><th colspan="2">Aural</th></tr>
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td>azimuth</td><td>-</td></tr>
|
|
|
|
<tr><td>cue</td><td>-</td></tr>
|
|
|
|
<tr><td>cue-after</td><td>-</td></tr>
|
|
|
|
<tr><td>cue-before</td><td>-</td></tr>
|
|
|
|
<tr><td>elevation</td><td>-</td></tr>
|
|
|
|
<tr><td>pause-after</td><td>-</td></tr>
|
|
|
|
<tr><td>pause-before</td><td>-</td></tr>
|
|
|
|
<tr><td>pause</td><td>-</td></tr>
|
|
|
|
<tr><td>pitch-range</td><td>-</td></tr>
|
|
|
|
<tr><td>pitch</td><td>-</td></tr>
|
|
|
|
<tr><td>play-during</td><td>-</td></tr>
|
|
|
|
<tr><td>richness</td><td>-</td></tr>
|
2006-08-06 21:24:59 +00:00
|
|
|
<tr><td>speak-header</td><td>Table related</td></tr>
|
2006-08-06 22:53:07 +00:00
|
|
|
<tr><td>speak-numeral</td><td>-</td></tr>
|
|
|
|
<tr><td>speak-punctuation</td><td>-</td></tr>
|
|
|
|
<tr><td>speak</td><td>-</td></tr>
|
|
|
|
<tr><td>speech-rate</td><td>-</td></tr>
|
|
|
|
<tr><td>stress</td><td>-</td></tr>
|
|
|
|
<tr><td>voice-family</td><td>-</td></tr>
|
|
|
|
<tr><td>volume</td><td>-</td></tr>
|
2006-08-06 21:24:59 +00:00
|
|
|
</tbody>
|
|
|
|
|
|
|
|
<tbody class="impl-no">
|
|
|
|
<tr><th colspan="2">Will not implement</th></tr>
|
|
|
|
<tr><td>content</td><td>Not applicable for inline styles</td></tr>
|
|
|
|
<tr><td>counter-increment</td><td>Needs content, Opera only</td></tr>
|
|
|
|
<tr><td>counter-reset</td><td>Needs content, Opera only</td></tr>
|
|
|
|
<tr><td>direction</td><td>No support</td></tr>
|
|
|
|
<tr><td>outline-color</td><td rowspan="4">IE Mac and Opera on outside,
|
|
|
|
Mozilla on inside and needs -moz-outline, no IE support.</td></tr>
|
|
|
|
<tr><td>outline-style</td></tr>
|
|
|
|
<tr><td>outline-width</td></tr>
|
|
|
|
<tr><td>outline</td></tr>
|
|
|
|
<tr><td>unicode-bidi</td><td>No support</td></tr>
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
2006-08-06 04:31:14 +00:00
|
|
|
|
|
|
|
</body></html>
|