home
/
zktecojo
/
public_html
/
htmlpurifier
/
tests
/
HTMLPurifier
/
AttrDef
/
CSS
➕ New
📤 Upload
✎ Editing:
BorderTest.php
← Back
<?php class HTMLPurifier_AttrDef_CSS_BorderTest extends HTMLPurifier_AttrDefHarness { public function test() { $config = HTMLPurifier_Config::createDefault(); $this->def = new HTMLPurifier_AttrDef_CSS_Border($config); $this->assertDef('thick solid red', 'thick solid #FF0000'); $this->assertDef('thick solid'); $this->assertDef('solid red', 'solid #FF0000'); $this->assertDef('1px solid #000'); $this->assertDef('1px solid rgb(0, 0, 0)', '1px solid rgb(0,0,0)'); } } // vim: et sw=4 sts=4
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel