Skip to content

Commit 070917c

Browse files
committed
[RELEASE] iText 7 pdfHTML - 3.0.1
https://github.com/itext/i7n-pdfhtml/releases/tag/3.0.1 * release/3.0.1: [RELEASE] 3.0.1-SNAPSHOT -> 3.0.1 Update autoported files Fix issues with number filtering for <input type="number"> Update cmp files Remove closed TODO remarks. Add ticket references for unresolved TODOs Refactor tests since zero or negative size log message level changed to INFO Fix problem with NullPointerException in ListStyleApplierUtil class and add invalidLinearGradientTest Add logic of parsing linear-gradient in CSS 'content' property Pass svg root renderer to SvgDrawContext Add PdfDocument as an argument for build linear gradient Update autoported files [RELEASE] Update dependency versions Update autoported files Add new tests for border collapse in table elements Add shorthand text decoration support Add integration tests for CSS linear-gradient background-image for different HTML elements Tests update Updates after review Add tests for TR's border style Add missing copyright headers Test update Add linear gradient support to ListStyleApplierUtil class Add tests for the linear gradient in list-style-image property Tests update and add test with span element with image background Add test reproducing the exception on rendering table inside of page margin Add missing copyright headers Linear Gradient support for background image Minor fix in a comment Add DEVSIX link in TODO Specify ticket IDs for several TODOs Update port-hash Fix Javadoc warning and a typo in the method description Update cmp files Update some KEEP_TOGETHER related cmps Add some new tagging tests. Update some cmps Add missing copyright headers Improve detection of whether pages counter reference is present in the stylesheet Change RND to DEVSIX task and delete closed DEVSIX Move TableAlignmentIssuesTest from samples internal repository Update autoported files Add test on font weight style applying to anonymous paragraphs Delete document font size setting in BodyTagWorker constructor and move runApplier method Add extending from the ExtendedITextTest to OrphansWidowsUnitTest class Add tests for text-decoration shorthand CSS property Update AbstractFormFieldRenderer class after making this class autoportable Add tests for line-height property in span elements Update port-hash after release [RELEASE] Update dependency versions Refine TODO regarding incomplete support for absolute positioning for images
2 parents 05aeed5 + fe06e8f commit 070917c

File tree

425 files changed

+3780
-614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

425 files changed

+3780
-614
lines changed

.mailmap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ Peter Goodman <pete@petegoo.com> <github@petegoo.co
6464
Peter Goodman <pete@petegoo.com> <pete@petegoo.com>
6565
Peter Goodman <pete@petegoo.com> <peter.goodman@pushpay.com>
6666
Peter Kjuak <peter.kjuak@itextpdf.com> <peter.kjuak@itextpdf.com>
67-
Richard Cohn <rcohn@adobe.com> <richard@cohns.org>
6867
Richard Schwark <richard.schwark@planet.de> <richard.schwark@planet.de>
6968
Roman Leonov <roman.leonov@duallab.com> <roman.leonov@duallab.com>
7069
Roman Nadvodny <roman.nadvodniuk@duallab.com> <roman.nadvodniuk@duallab.com>

doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
3232
# title of most generated pages and in a few other places.
3333
# The default value is: My Project.
3434

35-
PROJECT_NAME = "pdfHTML 3.0.0 API"
35+
PROJECT_NAME = "pdfHTML 3.0.1 API"
3636

3737
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
3838
# could be handy for archiving the generated documentation or if some version

itext.tests/itext.html2pdf.tests/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
[assembly: Guid("ae4e5743-0665-4705-9a33-07ea57cdd269")]
1717

18-
[assembly: AssemblyVersion("3.0.0.0")]
19-
[assembly: AssemblyFileVersion("3.0.0.0")]
20-
[assembly: AssemblyInformationalVersion("3.0.0")]
18+
[assembly: AssemblyVersion("3.0.1.0")]
19+
[assembly: AssemblyFileVersion("3.0.1.0")]
20+
[assembly: AssemblyInformationalVersion("3.0.1")]
2121

2222
#if !NETSTANDARD1_6
2323
[assembly: NUnit.Framework.Timeout(300000)]

itext.tests/itext.html2pdf.tests/itext.html2pdf.tests.csproj

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4-
<Import Project="$(SolutionDir)\packages\itext7.pdftest.7.1.11\build\itext7.pdftest.props" Condition="Exists('$(SolutionDir)\packages\itext7.pdftest.7.1.11\build\itext7.pdftest.props')" />
4+
<Import Project="$(SolutionDir)\packages\itext7.pdftest.7.1.12\build\itext7.pdftest.props" Condition="Exists('$(SolutionDir)\packages\itext7.pdftest.7.1.12\build\itext7.pdftest.props')" />
55
<PropertyGroup>
66
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
77
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -51,22 +51,22 @@
5151
<Project>{e2828ac4-3c63-4b2a-b5ad-5f98862775be}</Project>
5252
<Name>itext.forms</Name>
5353
</ProjectReference>
54-
<Reference Include="itext.forms, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.forms\itext.forms.csproj')">
55-
<HintPath>$(SolutionDir)\packages\itext7.7.1.11\lib\net40\itext.forms.dll</HintPath>
54+
<Reference Include="itext.forms, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.forms\itext.forms.csproj')">
55+
<HintPath>$(SolutionDir)\packages\itext7.7.1.12\lib\net40\itext.forms.dll</HintPath>
5656
</Reference>
5757
<ProjectReference Include="..\..\..\itextcore\itext\itext.hyph\itext.hyph.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.csproj')">
5858
<Project>{56137079-541A-425A-AB97-43AF63793C97}</Project>
5959
<Name>itext.hyph</Name>
6060
</ProjectReference>
61-
<Reference Include="itext.hyph, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.csproj')">
62-
<HintPath>$(SolutionDir)\packages\itext7.hyph.7.1.11\lib\net40\itext.hyph.dll</HintPath>
61+
<Reference Include="itext.hyph, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.csproj')">
62+
<HintPath>$(SolutionDir)\packages\itext7.hyph.7.1.12\lib\net40\itext.hyph.dll</HintPath>
6363
</Reference>
6464
<ProjectReference Include="..\..\..\itextcore\itext\itext.io\itext.io.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.io\itext.io.csproj')">
6565
<Project>{cee5e7e1-1bf0-4be1-9941-903262ce2f83}</Project>
6666
<Name>itext.io</Name>
6767
</ProjectReference>
68-
<Reference Include="itext.io, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.io\itext.io.csproj')">
69-
<HintPath>$(SolutionDir)\packages\itext7.7.1.11\lib\net40\itext.io.dll</HintPath>
68+
<Reference Include="itext.io, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.io\itext.io.csproj')">
69+
<HintPath>$(SolutionDir)\packages\itext7.7.1.12\lib\net40\itext.io.dll</HintPath>
7070
</Reference>
7171
<ProjectReference Include="..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj')">
7272
<Project>{4e7819e8-7555-4e2e-9a01-d8718a2cfdda}</Project>
@@ -75,43 +75,43 @@
7575
<Reference Include="BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942" Condition="!Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj')">
7676
<HintPath>$(SolutionDir)\packages\Portable.BouncyCastle.1.8.5\lib\net40\BouncyCastle.Crypto.dll</HintPath>
7777
</Reference>
78-
<Reference Include="itext.kernel, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj')">
79-
<HintPath>$(SolutionDir)\packages\itext7.7.1.11\lib\net40\itext.kernel.dll</HintPath>
78+
<Reference Include="itext.kernel, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj')">
79+
<HintPath>$(SolutionDir)\packages\itext7.7.1.12\lib\net40\itext.kernel.dll</HintPath>
8080
</Reference>
8181
<ProjectReference Include="..\..\..\itextcore\itext\itext.layout\itext.layout.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.layout\itext.layout.csproj')">
8282
<Project>{42173642-db52-44d3-9883-3e34c65c53bc}</Project>
8383
<Name>itext.layout</Name>
8484
</ProjectReference>
85-
<Reference Include="itext.layout, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.layout\itext.layout.csproj')">
86-
<HintPath>$(SolutionDir)\packages\itext7.7.1.11\lib\net40\itext.layout.dll</HintPath>
85+
<Reference Include="itext.layout, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.layout\itext.layout.csproj')">
86+
<HintPath>$(SolutionDir)\packages\itext7.7.1.12\lib\net40\itext.layout.dll</HintPath>
8787
</Reference>
8888
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.csproj')">
8989
<Project>{9fc2f0b3-a8d2-46da-8724-72e00e67a8fa}</Project>
9090
<Name>itext.pdfa</Name>
9191
</ProjectReference>
92-
<Reference Include="itext.pdfa, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.csproj')">
93-
<HintPath>$(SolutionDir)\packages\itext7.7.1.11\lib\net40\itext.pdfa.dll</HintPath>
92+
<Reference Include="itext.pdfa, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.csproj')">
93+
<HintPath>$(SolutionDir)\packages\itext7.7.1.12\lib\net40\itext.pdfa.dll</HintPath>
9494
</Reference>
9595
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')">
9696
<Project>{f9880dc4-f015-4413-af86-66d0e9512774}</Project>
9797
<Name>itext.pdftest</Name>
9898
</ProjectReference>
99-
<Reference Include="itext.pdftest, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')">
100-
<HintPath>$(SolutionDir)\packages\itext7.pdftest.7.1.11\lib\net40\itext.pdftest.dll</HintPath>
99+
<Reference Include="itext.pdftest, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')">
100+
<HintPath>$(SolutionDir)\packages\itext7.pdftest.7.1.12\lib\net40\itext.pdftest.dll</HintPath>
101101
</Reference>
102102
<ProjectReference Include="..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.csproj')">
103103
<Project>{8636f290-00df-403e-b841-e4bfd6d9ce7a}</Project>
104104
<Name>itext.styledxmlparser</Name>
105105
</ProjectReference>
106-
<Reference Include="itext.styledxmlparser, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.csproj')">
107-
<HintPath>$(SolutionDir)\packages\itext7.7.1.11\lib\net40\itext.styledxmlparser.dll</HintPath>
106+
<Reference Include="itext.styledxmlparser, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.csproj')">
107+
<HintPath>$(SolutionDir)\packages\itext7.7.1.12\lib\net40\itext.styledxmlparser.dll</HintPath>
108108
</Reference>
109109
<ProjectReference Include="..\..\..\itextcore\itext\itext.svg\itext.svg.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.svg\itext.svg.csproj')">
110110
<Project>{ddec35d2-5781-471d-5ea1-a6e433eddb11}</Project>
111111
<Name>itext.svg</Name>
112112
</ProjectReference>
113-
<Reference Include="itext.svg, Version=7.1.11.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.svg\itext.svg.csproj')">
114-
<HintPath>$(SolutionDir)\packages\itext7.7.1.11\lib\net40\itext.svg.dll</HintPath>
113+
<Reference Include="itext.svg, Version=7.1.12.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca" Condition="!Exists('..\..\..\itextcore\itext\itext.svg\itext.svg.csproj')">
114+
<HintPath>$(SolutionDir)\packages\itext7.7.1.12\lib\net40\itext.svg.dll</HintPath>
115115
</Reference>
116116
<ProjectReference Include="..\..\itext\itext.html2pdf\itext.html2pdf.csproj">
117117
<Project>{ff6ba09d-3655-466a-8c17-a7bfd3479ca1}</Project>

itext.tests/itext.html2pdf.tests/itext.html2pdf.tests.netstandard.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
</ItemGroup>
4545
<ItemGroup>
4646
<ProjectReference Include="..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj')" />
47-
<PackageReference Include="itext7" Version="7.1.11" Condition="!Exists('..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj')" />
47+
<PackageReference Include="itext7" Version="7.1.12" Condition="!Exists('..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj')" />
4848
<ProjectReference Include="..\..\..\itextcore\itext\itext.kernel\itext.kernel.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.netstandard.csproj')" />
4949
<ProjectReference Include="..\..\..\itextcore\itext\itext.layout\itext.layout.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.layout\itext.layout.netstandard.csproj')" />
5050
<ProjectReference Include="..\..\..\itextcore\itext\itext.forms\itext.forms.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.forms\itext.forms.netstandard.csproj')" />
5151
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdfa\itext.pdfa.netstandard.csproj')" />
5252
<ProjectReference Include="..\..\..\itextcore\itext\itext.hyph\itext.hyph.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.netstandard.csproj')" />
53-
<PackageReference Include="itext7.hyph" Version="7.1.11" Condition="!Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.netstandard.csproj')" />
53+
<PackageReference Include="itext7.hyph" Version="7.1.12" Condition="!Exists('..\..\..\itextcore\itext\itext.hyph\itext.hyph.netstandard.csproj')" />
5454
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj')" />
55-
<PackageReference Include="itext7.pdftest" Version="7.1.11" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj')" />
55+
<PackageReference Include="itext7.pdftest" Version="7.1.12" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj')" />
5656
<ProjectReference Include="..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.styledxmlparser\itext.styledxmlparser.netstandard.csproj')" />
5757
<ProjectReference Include="..\..\..\itextcore\itext\itext.svg\itext.svg.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.svg\itext.svg.netstandard.csproj')" />
5858
<ProjectReference Include="..\..\itext\itext.html2pdf\itext.html2pdf.netstandard.csproj" />

itext.tests/itext.html2pdf.tests/itext/html2pdf/Html2ElementsTest.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,5 +232,19 @@ public virtual void BodyFontFamilyTest() {
232232
NUnit.Framework.Assert.AreEqual(new String[] { "monospace" }, normalParagraph.GetProperty<String[]>(Property
233233
.FONT));
234234
}
235+
236+
[NUnit.Framework.Test]
237+
public virtual void LeadingInDefaultRenderingModeTest() {
238+
String html = "This text is directly in body. It should have the same default LEADING property as everything else.\n"
239+
+ "<p>This text is in paragraph.</p>";
240+
IList<IElement> elements = HtmlConverter.ConvertToElements(html);
241+
NUnit.Framework.Assert.AreEqual(2, elements.Count);
242+
IElement anonymousParagraph = elements[0];
243+
// TODO DEVSIX-3873 anonymous paragraph inherited styles should be applied in general way
244+
NUnit.Framework.Assert.IsNull(anonymousParagraph.GetProperty<Leading>(Property.LEADING));
245+
IElement normalParagraph = elements[1];
246+
NUnit.Framework.Assert.AreEqual(new Leading(Leading.MULTIPLIED, 1.2f), normalParagraph.GetProperty<Leading
247+
>(Property.LEADING));
248+
}
235249
}
236250
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/*
2+
This file is part of the iText (R) project.
3+
Copyright (c) 1998-2020 iText Group NV
4+
Authors: iText Software.
5+
6+
This program is offered under a commercial and under the AGPL license.
7+
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
8+
9+
AGPL licensing:
10+
This program is free software: you can redistribute it and/or modify
11+
it under the terms of the GNU Affero General Public License as published by
12+
the Free Software Foundation, either version 3 of the License, or
13+
(at your option) any later version.
14+
15+
This program is distributed in the hope that it will be useful,
16+
but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
GNU Affero General Public License for more details.
19+
20+
You should have received a copy of the GNU Affero General Public License
21+
along with this program. If not, see <https://www.gnu.org/licenses/>.
22+
*/
23+
using iText.Html2pdf.Html;
24+
using iText.Test;
25+
26+
namespace iText.Html2pdf.Attach.Impl.Tags {
27+
public class InputTagWorkerTest : ExtendedITextTest {
28+
[NUnit.Framework.Test]
29+
public virtual void TestNumberInputPreprocessing() {
30+
NUnit.Framework.Assert.AreEqual("", InputTagWorker.PreprocessInputValue("bear", AttributeConstants.NUMBER)
31+
);
32+
NUnit.Framework.Assert.AreEqual("4", InputTagWorker.PreprocessInputValue("4", AttributeConstants.NUMBER));
33+
NUnit.Framework.Assert.AreEqual("04", InputTagWorker.PreprocessInputValue("04", AttributeConstants.NUMBER)
34+
);
35+
NUnit.Framework.Assert.AreEqual("", InputTagWorker.PreprocessInputValue("4.", AttributeConstants.NUMBER));
36+
NUnit.Framework.Assert.AreEqual("", InputTagWorker.PreprocessInputValue(".", AttributeConstants.NUMBER));
37+
NUnit.Framework.Assert.AreEqual(".9", InputTagWorker.PreprocessInputValue(".9", AttributeConstants.NUMBER)
38+
);
39+
NUnit.Framework.Assert.AreEqual("4.4", InputTagWorker.PreprocessInputValue("4.4", AttributeConstants.NUMBER
40+
));
41+
NUnit.Framework.Assert.AreEqual("-4", InputTagWorker.PreprocessInputValue("-4", AttributeConstants.NUMBER)
42+
);
43+
NUnit.Framework.Assert.AreEqual("", InputTagWorker.PreprocessInputValue("", AttributeConstants.NUMBER));
44+
NUnit.Framework.Assert.AreEqual("", InputTagWorker.PreprocessInputValue("-", AttributeConstants.NUMBER));
45+
NUnit.Framework.Assert.AreEqual("-.9", InputTagWorker.PreprocessInputValue("-.9", AttributeConstants.NUMBER
46+
));
47+
NUnit.Framework.Assert.AreEqual("", InputTagWorker.PreprocessInputValue("0-.9", AttributeConstants.NUMBER)
48+
);
49+
}
50+
}
51+
}

itext.tests/itext.html2pdf.tests/itext/html2pdf/css/AbsolutePositionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ public virtual void AbsolutePosition02Test() {
7070
}
7171

7272
[NUnit.Framework.Test]
73-
[LogMessage(iText.IO.LogMessageConstant.RECTANGLE_HAS_NEGATIVE_OR_ZERO_SIZES)]
7473
public virtual void AbsolutePosition03Test() {
7574
ConvertToPdfAndCompare("absolutePositionTest03", sourceFolder, destinationFolder);
7675
}

0 commit comments

Comments
 (0)