HTMLPurifier Progress

Key

Implemented
Will not implement
Dangerous attribute/property
Present in CSS1

Interesting Attributes

AttributeTagsNotes
CSS
styleAllNeeds CSS parser
Questionable
accesskeyAMay interfere with main interface
tabindexAMay interfere with main interface
targetAConfig enabled, only useful for frame layouts
Miscellaneous
datetimeDEL, INSNo visible effect, ISO format
relALargely user-defined, nofollow
revALargely user-defined
axisTD, THW3C only: No browser implementation
charCOL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TRW3C only: No browser implementation
headersTD, THW3C only: No browser implementation
scopeTD, THW3C only: No browser implementation
URI
citeBLOCKQUOTE, Q-
DEL, INS-
hrefA-
longdescIMG-
srcIMGRequired
Transform
alignCAPTION-
IMGNear-equiv style 'caption-side', drop left and right
TABLEMargin-left and margin-right = auto or parent div
HRMargin-left and margin-right = auto or parent div (disputed, 'text-align' may work)
H1, H2, H3, H4, H5, H6, PEquivalent style 'text-align'
altIMGRequired, insert image filename if non-existant
bgcolorTABLEEquivalent style 'background-color' (test compat)
TREquivalent style 'background-color' (test compat)
TD, THEquivalent style 'background-color'
borderIMGNo clean way, either set 'border-width' in parent A, custom CSS class ~'nolinkborder' if border=0
clearBRNear-equiv style 'clear', transform 'all' into 'both'
compactDL, OL, ULBoolean, needs custom CSS class
dirBDORequired, insert ltr (or configuration value) if none
heightTD, THNear-equiv style 'height', needs px suffix if original was in pixels
hspaceIMGNear-equiv styles 'margin-top' and 'margin-bottom'
lang*Copy value to xml:lang
nameIMGTurn into ID
ATurn into ID? (not deprecated)
noshadeHRBoolean, style 'border-style:solid;'
nowrapTD, THBoolean, style 'white-space:nowrap;' (not compat with IE5)
sizeHRNear-equiv 'width', needs px suffix if original was pixels
srcIMGRequired, insert blank or default img if not set
startOLPoorly supported 'counter-reset', transform may not be desirable
typeLIEquivalent style 'list-style-type', different allowed values though. (needs testing)
OL
UL
valueLIPoorly supported 'counter-reset', transform may not be desirable, see ol.start
vspaceIMGNear-equiv styles 'margin-left' and 'margin-right', see hspace
widthHRNear-equiv style 'width', needs px suffix if original was pixels
TD, TH

CSS

NameNotes
Standard
background-color-
backgroundDepends on background-*
border-
border-color-
border-style-
border-width-
border-*-
border-*-color-
border-*-style-
border-*-width-
clear-
color-
floatMay require layout precautions with clear
font-
font-familyCSS validator may complain if fallback font family not specified
font-size-
font-style-
font-variant-
font-weight-
letter-spacing-
line-height-
list-style-positionStrange behavior in browsers
list-style-typeWell-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.
list-style-
margin-
margin-*-
padding-
padding-*-
text-align-
text-decorationNo blink (argh my eyes)
text-indent-
text-transform-
widthInteresting
word-spacingIE 5 no support
Table
border-collapse-
caption-side-
empty-cellsNo IE support, possible fix with  ?
table-layout-
vertical-alignAlso applies to others with explicit height
Absolute positioning
bottomDangerous, must be non-negative
left
right
top
clip-
position-
z-indexDangerous
Unknown
background-imageDangerous
background-attachmentDepends on background-image
background-positionDepends on background-image
cursorDangerous but fluffy
displayDangerous 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.
heightInteresting, why use it?
list-style-imageDangerous?
max-heightNo IE 5/6
min-height
max-width
min-width
orphansNo IE support
widowsNo IE support
overflowIE 5/6 almost (remove visible if set)
page-break-afterIE 5.5/6 and Opera
page-break-beforeMostly supported
page-break-insideOpera only
quotesMay be dropped from CSS2
visibilityDangerous
white-spaceSpotty implementation: pre (no IE 5/6), nowrap (no IE 5), pre-wrap (only Opera), pre-line (no-support). Fixable?
Aural
azimuth-
cue-
cue-after-
cue-before-
elevation-
pause-after-
pause-before-
pause-
pitch-range-
pitch-
play-during-
richness-
speak-headerTable related
speak-numeral-
speak-punctuation-
speak-
speech-rate-
stress-
voice-family-
volume-
Will not implement
contentNot applicable for inline styles
counter-incrementNeeds content, Opera only
counter-resetNeeds content, Opera only
directionNo support
outline-colorIE Mac and Opera on outside, Mozilla on inside and needs -moz-outline, no IE support.
outline-style
outline-width
outline
unicode-bidiNo support