@@ -22,12 +22,12 @@ This file is part of the iText (R) project.
22
22
*/
23
23
package com .itextpdf .html2pdf .element ;
24
24
25
+ import com .itextpdf .commons .utils .ExperimentalFeatures ;
25
26
import com .itextpdf .forms .PdfAcroForm ;
26
27
import com .itextpdf .forms .logs .FormsLogMessageConstants ;
27
28
import com .itextpdf .html2pdf .ConverterProperties ;
28
29
import com .itextpdf .html2pdf .HtmlConverter ;
29
30
import com .itextpdf .io .util .UrlUtil ;
30
- import com .itextpdf .html2pdf .logs .Html2PdfLogMessageConstant ;
31
31
import com .itextpdf .kernel .pdf .PdfDocument ;
32
32
import com .itextpdf .kernel .pdf .PdfReader ;
33
33
import com .itextpdf .kernel .pdf .PdfWriter ;
@@ -94,12 +94,26 @@ public void simpleButtonTest() throws IOException, InterruptedException {
94
94
95
95
@ Test
96
96
public void fieldsetTest () throws IOException , InterruptedException {
97
- runTest ("fieldset" );
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
+ }
98
105
}
99
106
100
107
@ Test
101
108
public void fieldsetLegendTest () throws IOException , InterruptedException {
102
- runTest ("fieldsetLegend" );
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
+ }
103
117
}
104
118
105
119
@ Test
@@ -115,7 +129,14 @@ public void fieldInTablePercent() throws IOException, InterruptedException {
115
129
116
130
@ Test
117
131
public void inputDisplayTest () throws IOException , InterruptedException {
118
- runTest ("inputDisplay" );
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
+ }
119
140
}
120
141
121
142
@ Test
0 commit comments