File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
src/test/resources/com/itextpdf/html2pdf/css/FloatTest Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head > < style type ="text/css ">
4
+
5
+ </ style > </ head >
6
+ < body >
7
+ < p style ="width: 200px; border: solid ">
8
+ xxxxxxxxxxxxxx< span style ="font-size: 48pt "> jjj</ span > xx
9
+ < span style ="float: left; color: red; "> aaaa</ span >
10
+ text in p after jjj
11
+ </ p >
12
+
13
+ < p style ="width: 200px; border: solid ">
14
+ < span style ="font-size: 24pt "> jjj</ span > xx
15
+ < span style ="float: left; color: red; "> aaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaa</ span > < span style ="float: left; color: red; "> bbbbbbb</ span >
16
+ text in p after jjj long enough to wrap below
17
+ </ p >
18
+
19
+ < p style ="width: 200px; border: solid ">
20
+ < span style ="font-size: 24pt "> jjj</ span > xx
21
+ < span style ="float: left; color: red; "> aaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaa</ span > < span style ="float: left; color: red; "> bbbbbbb</ span >
22
+ text in p after jjj long enough to wrap below
23
+ </ p >
24
+
25
+ < p style ="width: 200px; border: solid ">
26
+ < span style ="font-size: 24pt "> jjj</ span > xx
27
+ < span style ="float: left; color: red; "> aaaaaaaaaaaaaaaaaaaaaaaaa</ span > < span style ="float: left; color: red; "> bbbbbbb</ span >
28
+ < span style ="font-size: 64pt "> gy</ span >
29
+ text in p after jjj long enough to wrap below
30
+ </ p >
31
+ </ body >
32
+ </ html >
You can’t perform that action at this time.
0 commit comments