0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-03 05:11:52 +00:00

Add CSS tables.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@178 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2006-08-06 21:24:59 +00:00
parent c57ceb0f76
commit 88ccca7d4e

View File

@ -6,10 +6,18 @@
<title>HTMLPurifier Progress</title> <title>HTMLPurifier Progress</title>
<style type="text/css"> <style type="text/css">
thead tr {background-color:#EEE;} td {padding-right:1em;border-bottom:1px solid #000;}
td {padding-right:1em;border-bottom:1px solid #CCC;} th {text-align:left;padding-top:1.4em;font-size:13pt;
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;} thead th {text-align:left;padding:0.1em;background-color:#EEE;}
.impl-standard {background:#CFC;}
.impl-aural {background:#CCF;}
.impl-table {background:#FFC;}
.impl-position {background:#FCF;}
.impl-no {background:#FCC;}
.impl-unknown {background:#CCC;}
</style> </style>
</head><body> </head><body>
@ -18,7 +26,7 @@ thead th {text-align:left;padding:0.1em;}
<h2>Attributes</h2> <h2>Attributes</h2>
<table frame="hsides" rules="groups"> <table cellspacing="0">
<thead> <thead>
<tr><th>Attribute</th><th>Tags</th><th>Notes</th></tr> <tr><th>Attribute</th><th>Tags</th><th>Notes</th></tr>
@ -32,19 +40,19 @@ thead th {text-align:left;padding:0.1em;}
--> -->
<tbody> <tbody>
<tr><th>CSS</th></tr> <tr><th colspan="3">CSS</th></tr>
<tr><td>style</td><td>All</td><td>Needs CSS parser</td></tr> <tr><td>style</td><td>All</td><td>Needs CSS parser</td></tr>
</tbody> </tbody>
<tbody> <tbody>
<tr><th>Questionable</th></tr> <tr><th colspan="3">Questionable</th></tr>
<tr><td>accesskey</td><td>A</td><td>May interfere with main interface</td></tr> <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> <tr><td>tabindex</td><td>A</td><td>May interfere with main interface</td></tr>
<tr><td>target</td><td>A</td><td>Config? (only useful for frame layouts)</td></tr> <tr><td>target</td><td>A</td><td>Config? (only useful for frame layouts)</td></tr>
</tbody> </tbody>
<tbody> <tbody>
<tr><th>Miscellaneous</th></tr> <tr><th colspan="3">Miscellaneous</th></tr>
<tr><td>datetime</td><td>DEL, INS</td><td>No visible effect</td></tr> <tr><td>datetime</td><td>DEL, INS</td><td>No visible effect</td></tr>
<tr><td>rel</td><td>A</td><td>Largely user-defined</td></tr> <tr><td>rel</td><td>A</td><td>Largely user-defined</td></tr>
<tr><td>rev</td><td>A</td><td>Largely user-defined</td></tr> <tr><td>rev</td><td>A</td><td>Largely user-defined</td></tr>
@ -55,7 +63,7 @@ thead th {text-align:left;padding:0.1em;}
</tbody> </tbody>
<tbody> <tbody>
<tr><th>URI</th></tr> <tr><th colspan="3">URI</th></tr>
<tr><td rowspan="2">cite</td><td>BLOCKQUOTE, Q</td><td></td></tr> <tr><td rowspan="2">cite</td><td>BLOCKQUOTE, Q</td><td></td></tr>
<tr><td>DEL, INS</td><td></td></tr> <tr><td>DEL, INS</td><td></td></tr>
<tr><td>href</td><td>A</td><td></td></tr> <tr><td>href</td><td>A</td><td></td></tr>
@ -64,7 +72,7 @@ thead th {text-align:left;padding:0.1em;}
</tbody> </tbody>
<tbody> <tbody>
<tr><th>Transform</th></tr> <tr><th colspan="3">Transform</th></tr>
<tr><td rowspan="4">align</td><td>CAPTION</td><td></td></tr> <tr><td rowspan="4">align</td><td>CAPTION</td><td></td></tr>
<tr><td>IMG</td><td></td></tr> <tr><td>IMG</td><td></td></tr>
<tr><td>TABLE</td><td></td></tr> <tr><td>TABLE</td><td></td></tr>
@ -101,6 +109,142 @@ thead th {text-align:left;padding:0.1em;}
<h3>CSS</h3> <h3>CSS</h3>
<p>Coming soon...</p> <table cellspacing="0">
<thead>
<tr><th>Name</th><th>Notes</th></tr>
</thead>
<!--
<tr><td></td><td></td></tr>
-->
<tbody class="impl-standard">
<tr><th colspan="2">Standard</th></tr>
<tr><td>background-color</td><td></td></tr>
<tr><td>background</td><td>Depends on background-*</td></tr>
<tr><td>border</td><td></td></tr>
<tr><td>border-color</td><td></td></tr>
<tr><td>border-style</td><td></td></tr>
<tr><td>border-width</td><td></td></tr>
<tr><td>border-*</td><td></td></tr>
<tr><td>border-*-color</td><td></td></tr>
<tr><td>border-*-style</td><td></td></tr>
<tr><td>border-*-width</td><td></td></tr>
<tr><td>clear</td><td></td></tr>
<tr><td>color</td><td></td></tr>
<tr><td>float</td><td>May require layout precautions with clear</td></tr>
<tr><td>font-family</td><td>CSS validator may complain if fallback font
family not specified</td></tr>
<tr><td>font-size</td><td></td></tr>
<tr><td>font-style</td><td></td></tr>
<tr><td>font-variant</td><td></td></tr>
<tr><td>font-weight</td><td></td></tr>
<tr><td>letter-spacing</td><td></td></tr>
<tr><td>line-height</td><td></td></tr>
<tr><td>list-style-position</td><td>Strange behavior in browsers</td></tr>
<tr><td>list-style-type</td><td>Well-supported values are: disc, circle, square
decimal, lower-roman, upper-roman, lower-alpha and upper-alpha. See also
CSS 3. Mostly IE lack of support.</td></tr>
<tr><td>list-style</td><td></td></tr>
<tr><td>margin</td><td></td></tr>
<tr><td>margin-*</td><td></td></tr>
<tr><td>padding</td><td></td></tr>
<tr><td>padding-*</td><td></td></tr>
<tr><td>text-align</td><td></td></tr>
<tr><td>text-decoration</td><td>No blink (argh my eyes)</td></tr>
<tr><td>text-indent</td><td></td></tr>
<tr><td>text-transform</td><td></td></tr>
<tr><td>width</td><td>Interesting</td></tr>
<tr><td>word-spacing</td><td>IE 5 no support</td></tr>
</tbody>
<tbody class="impl-table">
<tr><th colspan="2">Table</th></tr>
<tr><td>border-collapse</td><td></td></tr>
<tr><td>caption-side</td><td></td></tr>
<tr><td>empty-cells</td><td>No IE support, possible fix with &amp;nbsp;?</td></tr>
<tr><td>table-layout</td><td></td></tr>
<tr><td>vertical-align</td><td>Also applies to others with explicit height</td></tr>
</tbody>
<tbody class="impl-position">
<tr><th colspan="2">Absolute positioning</th></tr>
<tr><td>bottom</td><td rowspan="4">Dangerous, must be non-negative</td></tr>
<tr><td>left</td></tr>
<tr><td>right</td></tr>
<tr><td>top</td></tr>
<tr><td>clip</td><td></td></tr>
<tr><td>position</td><td></td></tr>
<tr><td>z-index</td><td>Dangerous</td></tr>
</tbody>
<tbody class="impl-unknown">
<tr><th colspan="2">Unknown</th></tr>
<tr><td>background-image</td><td>Dangerous</td></tr>
<tr><td>background-attachment</td><td>Depends on background-image</td></tr>
<tr><td>background-position</td><td>Depends on background-image</td></tr>
<tr><td>cursor</td><td>Dangerous but fluffy</td></tr>
<tr><td>display</td><td>Dangerous but interesting;
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>
<tr><td>height</td><td>Interesting, why use it?</td></tr>
<tr><td>list-style-image</td><td>Dangerous?</td></tr>
<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>
<tr><td>visibility</td><td>Dangerous</td></tr>
<tr><td>white-space</td><td>Spotty implementation: pre (no IE 5/6), nowrap (no IE 5),
pre-wrap (only Opera), pre-line (no-support). Fixable?</td></tr>
</tbody>
<tbody class="impl-aural">
<tr><th colspan="2">Aural</th></tr>
<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>
<tr><td>speak-header</td><td>Table related</td></tr>
<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>
</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>
</body></html> </body></html>