Skip to content

Commit 38a59e1

Browse files
Kate IvanovaiText-CI
authored andcommitted
Replace Bootstrap337Test.typography
DEVSIX-6144 Autoported commit. Original commit hash: [9a754aea]
1 parent c7688af commit 38a59e1

File tree

5 files changed

+54
-2
lines changed

5 files changed

+54
-2
lines changed

itext.tests/itext.html2pdf.tests/itext/html2pdf/css/ListCssTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,10 @@ public virtual void UnsupportedType() {
9797
NUnit.Framework.Assert.Catch(typeof(NullReferenceException), () => ConvertToPdfAndCompare("unsupportedType"
9898
, SOURCE_FOLDER, DESTINATION_FOLDER));
9999
}
100+
101+
[NUnit.Framework.Test]
102+
public virtual void HorizontalDescriptionListTest() {
103+
ConvertToPdfAndCompare("horizontalDescriptionList", SOURCE_FOLDER, DESTINATION_FOLDER);
104+
}
100105
}
101106
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<style>
4+
* {
5+
box-sizing: border-box;
6+
}
7+
dl {
8+
margin-top: 0;
9+
margin-bottom: 20px;
10+
}
11+
.dl-horizontal dt {
12+
float: left;
13+
width: 160px;
14+
overflow: hidden;
15+
clear: left;
16+
text-align: right;
17+
text-overflow: ellipsis;
18+
white-space: nowrap;
19+
}
20+
dt {
21+
line-height: 1.42857143;
22+
font-weight: 700;
23+
}
24+
.dl-horizontal dd {
25+
margin-left: 180px;
26+
}
27+
dd {
28+
line-height: 1.42857143;
29+
}
30+
31+
</style>
32+
<body>
33+
<p>Horizontal descriptions</p>
34+
<dl class="dl-horizontal">
35+
<dt>Description lists</dt>
36+
<dd>A description list is perfect for defining terms.</dd>
37+
<dt>iText</dt>
38+
<dd>Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum.</dd>
39+
<dd>Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum.</dd>
40+
<dt>iText</dt>
41+
<dd>Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum.</dd>
42+
<dt>Hello, iText! Hello!</dt>
43+
<dd>Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum.
44+
</dd>
45+
</dl>
46+
</body>
47+
</html>

itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/TextPropertiesTest/textTransformTest01.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h1>Text Transform</h1>
1212

1313
<div style="text-transform:capitalize">
1414
<h1>Text Transform</h1>
15-
This.example <span>demonstrates</span> dif<span>fer<span>ent text-transforms.
15+
This.example <span>demonstrates</span> dif<span>fer</span>ent text-transforms.
1616
</div>
1717

1818
<div style="text-transform:uppercase">

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8eeaf8242a220730705357d86e1400dfe5afc480
1+
9a754aeaaaa4f8601d99b2f39992dd17416583d0

0 commit comments

Comments
 (0)