1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

Add tests for "height" and "max-height" (#26552).

git-svn-id: http://svn.redmine.org/redmine/trunk@17175 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2018-01-13 00:32:53 +00:00
parent 679cf413ab
commit f496402634

View File

@ -80,8 +80,10 @@ class Redmine::WikiFormatting::TextileFormatterTest < ActionView::TestCase
'p{border-right:1px}. text' => '<p style="border-right:1px;">text</p>',
'p{border-top:1px}. text' => '<p style="border-top:1px;">text</p>',
'p{border-bottom:1px}. text' => '<p style="border-bottom:1px;">text</p>',
'p{max-width:100px}. text' => '<p style="max-width:100px;">text</p>',
'p{width:50px}. text' => '<p style="width:50px;">text</p>',
'p{max-width:100px}. text' => '<p style="max-width:100px;">text</p>',
'p{height:40px}. text' => '<p style="height:40px;">text</p>',
'p{max-height:80px}. text' => '<p style="max-height:80px;">text</p>',
}, false)
# multiple styles