1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-06 00:47:13 +03:00
Commit Graph

670 Commits

Author SHA1 Message Date
Simon Sapin
042c24c068 Bug fix: count colspan when removing cells outside of the grid. 2011-12-01 12:07:45 +01:00
Simon Sapin
7359fe1edc Add a script to run the W3C test suite (for tests that have a reference.) 2011-11-30 17:00:32 +01:00
Simon Sapin
3e2503d85a Ignore over-numerous cells.
In the fixed table layout, the number of columns is determined by the
table-columns objects as well as cells in the first row.

If subsequent rows have more cells, these cells should be ignored.
2011-11-30 17:00:05 +01:00
Simon Sapin
89e4635ce6 Count the whole table layout algorithm for table wrapper width. 2011-11-30 14:56:57 +01:00
Simon Sapin
3e696c73d7 Fix a corner case in line-height calculation. 2011-11-29 17:19:43 +01:00
Simon Sapin
b6083e5bbf Disable some incorrect cssutils warnings. 2011-11-29 17:19:14 +01:00
Simon Sapin
08f3bd2557 Draw colums and column groups. 2011-11-29 12:43:42 +01:00
Simon Sapin
8500f6664d Disable antialiasing on borders to make them crisp 2011-11-29 12:42:16 +01:00
Simon Sapin
9464643f24 Remove Box.broder_*_width, they’re always the same as in Box.style 2011-11-29 12:41:47 +01:00
Simon Sapin
769ce43c25 Correctly handle table margins with width: auto 2011-11-29 11:23:16 +01:00
Simon Sapin
2203f6016e Allow tables with zero columns. 2011-11-29 11:23:16 +01:00
Simon Sapin
d4050f4101 Correctly set used values on tables rows and row groups. 2011-11-29 10:42:29 +01:00
Simon Sapin
1c209f6415 Used values are set by resolve_percentages(), even for anonymous boxes. 2011-11-29 10:37:59 +01:00
Simon Sapin
5b0c81197f Improve test coverage a bit. 2011-11-25 18:13:21 +01:00
Simon Sapin
2c84be211e Typo fix. 2011-11-25 18:00:44 +01:00
Simon Sapin
8ef9039ff6 Remove obselete parts of the README. 2011-11-25 17:42:38 +01:00
Simon Sapin
48c1667257 Add a changelog. 2011-11-25 17:39:56 +01:00
Simon Sapin
b0bb87b31c Next. 2011-11-25 17:27:22 +01:00
Simon Sapin
0cd5c8c19d Tag version 0.2 2011-11-25 17:25:55 +01:00
Simon Sapin
cf7cb3d053 Reword some warnings. 2011-11-25 17:22:59 +01:00
Simon Sapin
4b75ed4f6e Add a page break before a table if it does not fit on the page. 2011-11-25 17:20:41 +01:00
Simon Sapin
1e0e6fa333 The 'height' property on tables is a minumum height. 2011-11-25 17:06:51 +01:00
Simon Sapin
0d3a6f634b Fix position and size of table rows/columns/row groups/column groups. 2011-11-25 16:50:09 +01:00
Simon Sapin
e089ec6615 Complete table layout! 2011-11-24 18:17:03 +01:00
Simon Sapin
7d70ff44de Accept vertical-align: top and bottom but interpret them as text-top/bottom. 2011-11-24 12:48:00 +01:00
Simon Sapin
ef711d45fe Implement text-align: sub, super, text-top, text-bottom 2011-11-24 12:48:00 +01:00
Simon Sapin
8944c651e0 Implement vertical-align: middle 2011-11-24 12:48:00 +01:00
Simon Sapin
e16d847c62 Bug fix for vertical-align on inline boxes. 2011-11-24 12:48:00 +01:00
Simon Sapin
f2bc2bf144 Initial layout for tables. (widths/horizontal only) 2011-11-22 13:06:50 +01:00
Simon Sapin
19b0298a44 Disable support for inline-table since inline-block is not supported either. 2011-11-21 17:38:08 +01:00
Simon Sapin
d91f8cc884 Implement the box-sizing property from CSS3-UI. 2011-11-21 14:25:43 +01:00
Simon Sapin
831cbda74f Assign grid positions to cells, accounting for colspan and rowspan. 2011-11-21 13:51:22 +01:00
Simon Sapin
de6b7a8877 Simplify table handling. 2011-11-17 17:54:15 +01:00
Simon Sapin
b944a62bcf Create anonymous row groups and column groups as needed. 2011-11-17 17:10:03 +01:00
Simon Sapin
d587e3d80d Handle span on columns and assign grid_x positions. 2011-11-17 16:13:00 +01:00
Simon Sapin
79300e681f Generate multiple boxes for <col> with span > 1 2011-11-17 15:39:30 +01:00
Simon Sapin
e78e25dc2e Fix some edge cases in whitespace processing. 2011-11-16 17:34:02 +01:00
Simon Sapin
3101895e83 Distribute table style among table wrapper box and table box. 2011-11-15 18:58:43 +01:00
Simon Sapin
8382f6536e Add table wrappers and re-order table children. 2011-11-15 18:22:00 +01:00
Simon Sapin
a8b3ba07d5 FUCKING COMMA! 2011-11-15 18:19:36 +01:00
Simon Sapin
279dcb005c More tests and minor refactoring. 2011-11-15 15:05:12 +01:00
Simon Sapin
794d53d231 Parse span, colspan and rowspan attribute (though they are still unused.) 2011-11-15 11:59:13 +01:00
Simon Sapin
ec0c8715f3 More tests and fixes for table boxes. 2011-11-14 17:42:15 +01:00
Simon Sapin
8313080305 Actually fix the bug the was spotted in 1d0c57193d. 2011-11-14 14:42:06 +01:00
Simon Sapin
ea6ab01dd3 Initial support for table boxes. (No layout yet.) 2011-11-14 14:32:27 +01:00
Simon Sapin
c595a57455 Build box type from class name in test lists. 2011-11-14 14:32:27 +01:00
Simon Sapin
829a0feee2 Simplify inline_in_block and reverse the condition. 2011-11-14 14:32:27 +01:00
Simon Sapin
c47e1705e8 Do not apply alternate stylesheets. 2011-11-14 14:32:27 +01:00
Simon Sapin
3d9a8115eb Anonymity is an attribute now, not a class. 2011-11-14 14:32:27 +01:00
Simon Sapin
f4597fd96e End this UTF-8 madness. 2011-11-14 14:32:27 +01:00