1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 19:30:21 +02:00

Commit initial implementation of AttrDef_CSS, with text-align being the only defined property. Further development will be going on in AttrDef and CSSDefinition.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@223 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2006-08-12 20:22:09 +00:00
parent df52406a88
commit 7c86e3cc0f
9 changed files with 91 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ AttrDef
out for mailto scheme, IPv6 validation is broken (fringe), unintuitive
variable overwriting, missing validation for query, fragment and path,
no percent-encode fixing
CSS - parser doesn't accept advanced CSS (fringe)
AttrTransform - doesn't accept AttrContext, non-validating
Lang - invalid xml:lang value can overwrite valid lang value (fringe)
ChildDef - not-allowed nodes translated to text, likely invalid handling

View File

@@ -161,7 +161,7 @@ thead th {text-align:left;padding:0.1em;background-color:#EEE;}
<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 impl-yes"><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>