Simon Sapin
d401e7241b
Kill Document in layout/*.py
2012-07-12 17:13:21 +02:00
Simon Sapin
0d3d1f1fd5
Collapsed borders intersections should be rectangles, not squares.
2012-07-12 11:10:18 +02:00
Simon Sapin
e955781b91
Fix border-collapse on multiple pages
2012-07-11 19:23:41 +02:00
Simon Sapin
34fc003c57
Paint collapsed table borders
2012-07-11 18:21:20 +02:00
Simon Sapin
002ed3a99e
Ignore border-spacing when border-collapse is 'collapse'
...
Also remove TODOs in preferred.py:
'when border-collapse: collapse; set outer=False'
build.py sets transparent borders half as wide as the
collapsed border on each cell, so the layout should
just work unchanged.
2012-07-11 15:43:18 +02:00
Guillaume Ayoub
36a6b6b6f3
Pass the fixed_boxes argument instead of using current_page
...
Cherry-picked from 043d71dc29
Conflicts:
weasyprint/layout/absolute.py
weasyprint/layout/blocks.py
weasyprint/layout/float.py
weasyprint/layout/inlines.py
2012-06-19 18:00:50 +02:00
Simon Sapin
3cd540eaa9
Fix shrink-to-fit in PNG: have the same hinting as in layout.
2012-06-02 08:28:41 +02:00
Simon Sapin
b69ce3b6f3
Fix containing block on absolute tables.
2012-05-25 17:13:38 +02:00
Simon Sapin
64786ed5e9
Fix % or auto margins on tables.
2012-05-22 17:32:00 +02:00
Simon Sapin
866efdf62c
Do not repeat bookmarks on a fragmented box
...
Also a better way not to repeat margin/padding/border and list markers.
2012-05-21 14:22:32 +02:00
Simon Sapin
ea18e88fdc
Crash fix: skip absolute boxes that are not laid out yet in various places.
2012-05-11 20:39:56 +02:00
Guillaume Ayoub
b3a91e4e26
Fix the width repartition between columns when sum(preferred_widths) = 0
2012-05-11 16:17:23 +02:00
Guillaume Ayoub
2ea63210bf
Add a list of absolute elements
2012-05-09 19:01:32 +02:00
Guillaume Ayoub
f1ebf59486
Add some tests and fixes about auto layout tables
2012-05-07 18:16:32 +02:00
Simon Sapin
0671b499dd
Repeat table headers and footers on every page.
2012-05-04 17:05:16 +02:00
Guillaume Ayoub
efa01839e6
Avoid a division by 0 in static layout for tables
2012-04-16 13:48:46 +02:00
Simon Sapin
074e8884c8
Implement inline tables.
2012-04-12 17:20:57 +02:00
Guillaume Ayoub
c2a6a70736
Fix the preferred width resolution of the tables
2012-04-10 18:29:00 +02:00
Guillaume Ayoub
e349cf5b5b
Typo
2012-04-10 16:08:53 +02:00
Guillaume Ayoub
130132b1a0
Merge branch 'master' of github.com:Kozea/WeasyPrint
2012-04-10 16:07:46 +02:00
Simon Sapin
caab31ccff
The baseline for table cells and inline blocks is really not the same thing.
2012-04-10 16:07:32 +02:00
Guillaume Ayoub
8d9ce51fbd
Merge branch 'master' of github.com:Kozea/WeasyPrint
2012-04-10 15:51:48 +02:00
Simon Sapin
fe52a7b0f6
Fix baseline for table rows.
2012-04-10 15:46:36 +02:00
Guillaume Ayoub
918828be3e
Merge branch 'master' of github.com:Kozea/WeasyPrint
2012-04-10 15:07:43 +02:00
Simon Sapin
3c9512bd77
Bug fix for inline block baseline.
2012-04-10 15:07:10 +02:00
Guillaume Ayoub
3a86c1e679
Add the functions for preferred sizes of tables
2012-04-10 14:38:18 +02:00
Simon Sapin
4a146224c0
Proper vertical-align for inline blocks.
2012-04-10 12:50:22 +02:00
Guillaume Ayoub
1a08117491
Fix again the TODO
2012-04-10 12:31:43 +02:00
Guillaume Ayoub
110c4be520
Update a TODO about auto layout for tables
2012-04-10 12:30:25 +02:00
Simon Sapin
0e66f6a72f
Merge branch 'shrinktofit'
2012-04-10 11:11:57 +02:00
Guillaume Ayoub
0352572cc8
Remove prints and add a TODO about point #4 of tables auto layout
2012-04-07 15:12:17 +02:00
Guillaume Ayoub
b6e7998a73
Handle point #4 of table auto layout
2012-04-07 15:04:48 +02:00
Guillaume Ayoub
0d59b2600f
Clean and fix a lot of things in tables auto layout
2012-04-07 14:25:30 +02:00
Simon Sapin
79675f58b0
Implement min-height and max-height on blocks
2012-04-06 16:42:06 +02:00
Simon Sapin
61bf188290
Merge branch 'master' into shrinktofit
...
Conflicts:
weasyprint/layout/blocks.py
weasyprint/layout/inlines.py
2012-04-05 12:38:42 +02:00
Simon Sapin
34612cc4fb
Simplify the handling of 'auto' lengths.
2012-04-05 11:21:26 +02:00
Simon Sapin
46b1d225c7
Tests n’ fixes. Lots of them.
2012-04-03 11:34:29 +02:00
Guillaume Ayoub
42e25e1e3c
Add a basic shrink to fit for tables
2012-03-23 19:31:54 +01:00
Simon Sapin
dcacf9eed0
Switch the licence to BSD and rewrite module docstrings/headers
2012-03-21 23:26:58 +01:00
Simon Sapin
26de362b99
Add proper attribution in AUTHORS
2012-03-21 18:40:38 +01:00
Simon Sapin
9875f76995
Hello 2012
2012-03-21 18:40:38 +01:00
Simon Sapin
7172323b8f
Add page-break-inside: avoid on table row groups
2012-03-21 18:36:03 +01:00
Simon Sapin
fc4d091f82
Add page-break-inside: avoid for tables
2012-03-21 18:09:03 +01:00
Simon Sapin
f2db08b310
Fix and test page breaks inside tables
...
rowspan > 1 is not handled correctly, but having *some* page breaks
is more valuable
2012-03-21 18:01:24 +01:00
Priit Laes
f4a143a642
table-break: Fix infinite loop in case table row > page height
2012-03-17 13:43:19 +02:00
Priit Laes
3e2eb91341
table-break: WIP page-breaks inside tables
2012-03-16 21:09:24 +02:00
Simon Sapin
b8fa396d53
Margin collapsing: through "empty" elements.
2012-02-28 14:54:20 +01:00
Simon Sapin
e66e1025b0
More cases for margin collapsing
2012-02-23 19:31:15 +01:00
Simon Sapin
7ad1083e88
Rename weasyprint.logging to avoid conflicts the stdlib module.
2012-02-23 19:31:15 +01:00
Simon Sapin
ff135aa285
Python 3 compat. All tests pass with the same code base!
2012-02-17 22:48:20 +01:00