Skip to content

Commit 108f017

Browse files
committed
Fix model element/form field recreation with (re)setting parameters
DEVSIX-7423
1 parent 05be04c commit 108f017

File tree

61 files changed

+3
-24
lines changed

Some content is hidden

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

61 files changed

+3
-24
lines changed

src/test/java/com/itextpdf/html2pdf/element/FormTest.java

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,12 @@ public void simpleButtonTest() throws IOException, InterruptedException {
9494

9595
@Test
9696
public void fieldsetTest() throws IOException, InterruptedException {
97-
// TODO: DEVSIX-7423 - remove flag
98-
final boolean experimentalRenderingPreviousValue = ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING;
99-
ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING = false;
100-
try {
101-
runTest("fieldset");
102-
} finally {
103-
ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING = experimentalRenderingPreviousValue;
104-
}
97+
runTest("fieldset");
10598
}
10699

107100
@Test
108101
public void fieldsetLegendTest() throws IOException, InterruptedException {
109-
// TODO: DEVSIX-7423 - remove flag
110-
final boolean experimentalRenderingPreviousValue = ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING;
111-
ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING = false;
112-
try {
113-
runTest("fieldsetLegend");
114-
} finally {
115-
ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING = experimentalRenderingPreviousValue;
116-
}
102+
runTest("fieldsetLegend");
117103
}
118104

119105
@Test
@@ -129,14 +115,7 @@ public void fieldInTablePercent() throws IOException, InterruptedException {
129115

130116
@Test
131117
public void inputDisplayTest() throws IOException, InterruptedException {
132-
// TODO: DEVSIX-7423 - remove flag
133-
final boolean experimentalRenderingPreviousValue = ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING;
134-
ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING = false;
135-
try {
136-
runTest("inputDisplay");
137-
} finally {
138-
ExperimentalFeatures.ENABLE_EXPERIMENTAL_TEXT_FORM_RENDERING = experimentalRenderingPreviousValue;
139-
}
118+
runTest("inputDisplay");
140119
}
141120

142121
@Test
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)