Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-09-23 | HTML reader: handle empty tbody element in table. | John MacFarlane | 1 | -5/+8 | |
Closes #7589. | |||||
2021-08-10 | HTML reader: treat commments as blank when parsing. | John MacFarlane | 1 | -5/+7 | |
This modifies pBlank. Previously comments could sometimes flummox the parser. Cloes #7482. | |||||
2021-07-06 | HTML reader: add col, colgroup to 'closes' definitions | John MacFarlane | 1 | -1/+3 | |
2021-05-30 | HTML reader: fix column width regression. | John MacFarlane | 1 | -1/+1 | |
Column widths specified with a style attribute were off by a factor of 100 in 2.14. Closes #7334. | |||||
2021-05-22 | Handle relative lengths (e.g. `2*`) in HTML column widths. | John MacFarlane | 1 | -14/+33 | |
See <https://www.w3.org/TR/html4/types.html#h-6.6>. "A relative length has the form "i*", where "i" is an integer. When allotting space among elements competing for that space, user agents allot pixel and percentage lengths first, then divide up remaining available space among relative lengths. Each relative length receives a portion of the available space that is proportional to the integer preceding the "*". The value "*" is equivalent to "1*". Thus, if 60 pixels of space are available after the user agent allots pixel and percentage space, and the competing relative lengths are 1*, 2*, and 3*, the 1* will be alloted 10 pixels, the 2* will be alloted 20 pixels, and the 3* will be alloted 30 pixels." Closes #4063. | |||||
2021-05-22 | Revert "HTML reader: simplify col width parsing" | John MacFarlane | 1 | -9/+13 | |
This reverts commit f76fe2ab56606528d4710cc6c40bceb5788c3906. | |||||
2021-05-22 | HTML reader: simplify col width parsing | Albert Krewinkel | 1 | -13/+9 | |
2021-03-19 | Protect partial uses of maximum with NonEmpty. | John MacFarlane | 1 | -1/+2 | |
2021-03-15 | Remove an unneeded import | John MacFarlane | 1 | -1/+0 | |
2021-03-15 | Use foldl' instead of foldl everywhere. | John MacFarlane | 1 | -0/+1 | |
2021-01-08 | Update copyright notices for 2021 (#7012) | Albert Krewinkel | 4 | -5/+5 | |
2020-12-10 | HTML reader: retain attribute prefixes and avoid duplicates. | John MacFarlane | 1 | -7/+13 | |
Previously we stripped attribute prefixes, reading `xml:lang` as `lang` for example. This resulted in two duplicate `lang` attributes when `xml:lang` and `lang` were both used. This commit causes the prefixes to be retained, and also avoids invald duplicate attributes. Closes #6938. | |||||
2020-11-27 | HTML reader tests: improve test coverage of new features | Albert Krewinkel | 1 | -1/+2 | |
2020-11-27 | HTML reader: support body headers, row head columns | Albert Krewinkel | 1 | -41/+61 | |
Closes: #6312 | |||||
2020-11-26 | HTML reader: improve support for table headers, footer, attributes | Albert Krewinkel | 2 | -66/+219 | |
- `<tfoot>` elements are no longer added to the table body but used as table footer. - Separate `<tbody>` elements are no longer combined into one. - Attributes on `<thead>`, `<tbody>`, `<th>`/`<td>`, and `<tfoot>` elements are preserved. | |||||
2020-11-26 | HTML reader: allow finer grained options for tag omission | Albert Krewinkel | 2 | -12/+25 | |
2020-11-24 | HTML reader: support row or column-spanning table cells | Albert Krewinkel | 1 | -16/+18 | |
2020-11-24 | HTML reader: support blocks in caption | Albert Krewinkel | 1 | -5/+5 | |
2020-11-24 | HTML reader: extract table parsing into separate module | Albert Krewinkel | 2 | -0/+137 | |
2020-11-23 | HTML reader: extract submodules | Albert Krewinkel | 3 | -0/+331 | |
Reducing module size should reduce memory use during compilation. This is preparatory work to tackle support for more table features. |