Skip to content

Commit 62c164a

Browse files
vitali-priText-CI
authored andcommitted
Add a test for the crash while drawing input field with placeholder
DEVSIX-7737 Autoported commit. Original commit hash: [e4d6d57c6]
1 parent 77876b6 commit 62c164a

File tree

6 files changed

+15
-1
lines changed

6 files changed

+15
-1
lines changed

itext.tests/itext.html2pdf.tests/itext/html2pdf/element/FormTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public virtual void SimpleTextFieldTest() {
5252
RunTest("simpleTextField");
5353
}
5454

55+
[NUnit.Framework.Test]
56+
public virtual void TextFieldWithPlaceholderTest() {
57+
RunTest("textFieldWithPlaceholder");
58+
}
59+
5560
[NUnit.Framework.Test]
5661
public virtual void SplitTextFieldTest() {
5762
RunTest("splitTextField");
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<body style="font-size:10px">
4+
<div>
5+
<label>Label</label>
6+
<input type="text" placeholder="test">
7+
</div>
8+
</body>
9+
</html>

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19c9293004deeffd4df279261796a6b1985e1881
1+
e4d6d57c6d1aaa8d7201b35a7732e0c0f1302979

0 commit comments

Comments
 (0)