Skip to content

Commit 25b9701

Browse files
committed
Add test for recent XHTML regression
1 parent 434e36b commit 25b9701

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/tag-set-xhtml.t

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ is $tag-set.tag-style('small'), 'font-size:0.83em;';
1414
$tag-set.base-style('small').font-size = '0.75em';
1515
is $tag-set.tag-style('small'), 'font-size:0.75em;';
1616

17+
is $tag-set.tag-style('p'), 'display:block; margin-bottom:1.12em; margin-top:1.12em; unicode-bidi:embed;';
18+
my $hidden = '';
19+
is $tag-set.tag-style('p', :$hidden), 'display:none; margin-bottom:1.12em; margin-top:1.12em; unicode-bidi:embed;';
20+
1721
$tag-set.base-style('blah').font-weight = 'bold';
1822
is $tag-set.tag-style('blah'), 'font-weight:bold;';
1923

0 commit comments

Comments
 (0)