-
Notifications
You must be signed in to change notification settings - Fork 76
/
CHANGELOG
204 lines (173 loc) · 6.92 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
2024-11-13 - Version 5.0.2
- Java 11 target
- Dependency updates
2023-03-19 - Version 5.0.1
- Dependency updates
2021-01-31 - Version 5.0.0
- Java 8 target
- Reworked API (see the demos)
- Layout computation rewritten to floating point
- Reworked rendering infrastructure
2019-11-01 - Version 4.17
- Added support for CSS counters
- Text decoration propagation fixes
2019-09-28 - Version 4.16
- minor API extenstion (allow angle evalutaion in degrees)
2019-05-24 - Version 4.15
- text-align: center support
- word-spacing and letter-spacing support
- SVG rendering improvements (markers, spacing, font style)
2018-01-30 - Version 4.14
- Viewport background fix
- Configurable ContentObserver for tracking image loading
- Configurable image cache
- Basic font-face support
2017-09-07 - Version 4.13
- Several layout computation fixes
- Table width computation fixes
- White space collapsing fixes
- calc() evaluation support
- Basic box-sizing support
- Ported to jStyleParser 3
2016-07-12 - Version 4.12
- Fix decoding CSS lengths with no unit
- Thin line drawing fix
2016-03-11 - Version 4.11
- transform: support for basic 2D transformations
- Table cell and floating block height computation fixes
- Image size computation fixes
- background-size property support
- Data url processing fixes
- Positioned element rendering fixed (avoid duplicates)
- Containing block computation according to CSS specs
2015-11-05 - Version 4.10
- Size computation fixes for replaced images
- New image decoding based in ImageIO instead of Toolkit
- Background rendering fixes
- Fixed handling max-width:none and max-height:none
- Static position computation fixed
2015-05-20 - Version 4.9
- Image transparency fix for SVG and PDF renderer
- Support for treating HTML images as their ALT text only
- Box tree creation fixes (anonymous blocks)
2015-02-11 - Version 4.8
- Updates to new jStyleParser API (NetworkProcessor support)
- Fixed inline-block background rendering (affected form rendering)
- Background position computation with efficient margins
- Margins of the root element's box do not collapse (fixes #53)
- DOM binding updates (allow null atribute values and missing body element)
- Demo updates
2014-08-29 - Version 4.7
- Viewport size: the viewport size and the total canvas size is now properly distinguisged
- Box height computation fixes (including percentage heights)
- Fixed drawing backgrounds and borders of floating blocks
- Table rendering fixes
- Negative margin computation fix
- Support CSS overflow in SVG renderer
2014-07-15 - Version 4.6
- Support for rendering on different output media (media query support)
- New CSS3 length units supported: rem, ch, vw, vh, vmin, vmax
- Basic layout of the position: fixed elements
- Image loading and rendering fixes
2014-02-05 - Version 4.5
- Margin for empty boxes fixed
- Negative top margins fixed
- DocumentSource implements java.io.Closeable
2014-01-10 - Version 4.4
- Conversion to maven
2013-12-05 - Version 4.3
- Basic support for rendering form fields using CSS (closes #37)
- vertical-align support for tables (closes #21)
- text-indent support
- clip support
- Support for attr() function in content CSS property
- Logback framework used for logging (closes #25)
- Replaced box size computation fixes
- Static position computation reworked
- Table layout fixes (closes #34)
- Better API for font sizes (closes #35)
2013-05-25 - Version 4.2
- Drawing text decorations (underline and line-through) (closes #12)
- z-index and stacking context support
- text-transform support
- Positioned boxes in viewport fixed (closes #11)
- Do not load HTML objects when data URL is not specified (closes #15)
- Table layout computation fix (closes #18)
- Custom default font configuration
- List item marker drawing fixes
2013-01-22 - Version 4.1
- New I/O framework and connetcion handling API (see the manual)
- Support for data: URLs
- Embedded object support
- Optimized image loading
- Default charset detection for referenced style sheets
- HTML <base> tag support in CSS analyzer
- Relative positioning not limited to block elements
- Canvas size computation fixes
- Fix inline positioning around floating boxes
- Fixed behavior of replaced boxes in table cells
- Replaced box size computation fixes (percentage widths and heights)
- Border drawing fix (null pointer with 0-width or 0-height boxes)
- Table cell position computation and footer rendering fix
- Table row organization fix (closes #3545215)
- Fixed floating box position inside of relatively positioned boxes
- Whitespace processing fixes
- Anchor handling
2012-06-18 - Version 4.0
- Background image support
- Reworked configuration API (static configuration removed)
- Minor bugfixes
2012-06-08 - Version 3.5
- Improved performance (faster style computation, less rendering phases)
- Support for style sheet origin specification (for priority computation)
- White-space property support (including 'pre' and 'nowrap' modes)
- Viewport and block width computation fixes
- Fixed processing of the presentational HTML attributes (mainly for tables)
- Line alignment bugfixes
2011-12-06 - Version 3.4
- Support for display:inline-block layout
- Vertical alignment fixed for the "top" and "bottom" values
- Whitespace processing fixes
- API extension for accessing list properties
- Block width computation fixes
- Image loading improvements
2011-06-09 - Version 3.3
- Fixes in table column width computation
- Table background color computation adjusted
2011-02-08 - Version 3.2
- Improvements and fixes in the DOM structure analysis
- Fixed static position determination for absolutely positioned boxes
- Small documentation updates
2011-01-24 - Version 3.1
- table layout algorithm fixes
- line height computation reworked
- vertical alignment reworked
- new box tree creation algorithm
- whitespace processing improvements
- border rendering reworked
- static position determination fixed
2009-12-03 - Version 3.0
- new margin collapsing algorithm
- removed the jTidy dependency. Now, any DOM Traversal capable DOM implementation may be used.
- visibility inheritance fixed
- font-weight processing updated
- license change to LGPLv3
2009-03-04 - Version 2.2
- New ImageRenderer tools that stores the rendered document in PNG or SVG
- New box clipping implementation (overflow: hidden)
- Box width computation fixes
- Layout fixes for absolutely positioned elements
- New ReplaceBox interface for joining the inline and block ones
2009-01-29 - Version 2.1
- Box size computation fixes (absolutely positioned boxes)
- Floating block positioning fixes
- Other small bugfixes
2008-12-22 - Version 2.0
CSSBox 2.0 introduces a brand new CSS parser - jStyleParser.
This parser is much more efficient and reliable than the
previous 'naive' parser based on the CSS Parser project.
Most Important Changes in the CSSBox API
----------------------------------------
- if the DOMAnalyzer.attributesToStyles() method is used for
interpreting HTML visual attributes, it must be called
BEFORE calling the DOMAnalyzer.getStyleSheets() method