mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 08:21:52 +00:00
Minor formatting fixes.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@227 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
1e2f853f4f
commit
441a0cbe94
@ -198,7 +198,7 @@ thead th {text-align:left;padding:0.1em;background-color:#EEE;}
|
||||
<tr class="danger"><td>right</td></tr>
|
||||
<tr class="danger"><td>top</td></tr>
|
||||
<tr><td>clip</td><td>-</td></tr>
|
||||
<tr><td>position</td><td>ENUM(static, relative, absolute, fixed), permit
|
||||
<tr class="danger"><td>position</td><td>ENUM(static, relative, absolute, fixed), permit
|
||||
relative not absolute?</td></tr>
|
||||
<tr class="danger"><td>z-index</td><td>Dangerous</td></tr>
|
||||
</tbody>
|
||||
|
@ -22,14 +22,16 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness
|
||||
$this->assertDef('text-transform:capitalize;');
|
||||
|
||||
// duplicates
|
||||
$this->assertDef('text-align:right;text-align:left;', 'text-align:left;');
|
||||
$this->assertDef('text-align:right;text-align:left;',
|
||||
'text-align:left;');
|
||||
|
||||
// a few composites
|
||||
$this->assertDef('font-variant:small-caps;font-weight:900;');
|
||||
$this->assertDef('float:right;text-align:right;');
|
||||
|
||||
// selective removal
|
||||
$this->assertDef('text-transform:capitalize;destroy:it;', 'text-transform:capitalize;');
|
||||
$this->assertDef('text-transform:capitalize;destroy:it;',
|
||||
'text-transform:capitalize;');
|
||||
|
||||
// inherit works for everything
|
||||
$this->assertDef('text-align:inherit;');
|
||||
|
Loading…
Reference in New Issue
Block a user