repo.or.cz
/
htmlpurifier
/
darkodev.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Convert all to new configuration get/set format.
[htmlpurifier/darkodev.git]
/
tests
/
HTMLPurifier
/
HTMLModule
/
ProprietaryTest.php
blob
21ebe8a5b78ac0d3390a0c2cc9c045b22f25ed36
1
<
?php
2
3
class
HTMLPurifier_HTMLModule_ProprietaryTest
extends
HTMLPurifier_HTMLModuleHarness
4
{
5
6
function
setUp
() {
7
parent
::
setUp
();
8
$this
->
config
->
set
(
'HTML.Proprietary'
,
true
);
9
}
10
11
function
testMarquee
() {
12
$this
->
assertResult
(
13
'<span><marquee
14
width="20%"
15
height="34"
16
direction="left"
17
behavior="alternate"
18
scrolldelay="3"
19
scrollamount="5"
20
loop="4"
21
bgcolor="#FF0000"
22
hspace="5"
23
vspace="3"
24
><div>Block</div><span>Inline</span>Text</marquee></span>'
25
);
26
}
27
28
}
29
30
// vim: et sw=4 sts=4