The safecss_filter_attr() function is used by KSES to filter HTML style attributes, removing any properties that are illegal. This should be applied to CSS and style attributes in HTML, so that any illegal properties are flagged as such.
It seems that HTMLHint is not currently applying CSSLint to style attributes, but if it did, then a kses rule added to CSSLint could then apply to both HTML and CSS.
The
safecss_filter_attr()
function is used by KSES to filter HTMLstyle
attributes, removing any properties that are illegal. This should be applied to CSS andstyle
attributes in HTML, so that any illegal properties are flagged as such.It seems that HTMLHint is not currently applying CSSLint to
style
attributes, but if it did, then akses
rule added to CSSLint could then apply to both HTML and CSS.