3 class HTMLPurifier_AttrDef_CSS_BackgroundTest
extends HTMLPurifier_AttrDefHarness
8 $config = HTMLPurifier_Config
::createDefault();
9 $this->def
= new HTMLPurifier_AttrDef_CSS_Background($config);
11 $valid = '#333 url("chess.png") repeat fixed 50% top';
12 $this->assertDef($valid);
13 $this->assertDef('url(\'chess.png\') #333 50% top repeat fixed', $valid);
15 'rgb(34, 56, 33) url(chess.png) repeat fixed top',
16 'rgb(34,56,33) url("chess.png") repeat fixed top'