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

2593 Commits

Author SHA1 Message Date
Guillaume Ayoub
60183a8043 Set item width for all items 2018-01-09 13:26:55 +01:00
Guillaume Ayoub
b5bbce136f Remove useless empty lines 2018-01-09 13:26:26 +01:00
Guillaume Ayoub
f7b095897d Handle flex order 2018-01-09 13:17:45 +01:00
Guillaume Ayoub
6e65585629 Lint 2018-01-09 13:17:36 +01:00
Guillaume Ayoub
7c6e06fb72 Use the flexbox content box to set children position 2018-01-09 00:58:37 +01:00
Guillaume Ayoub
67c81333e0 Correctly handle grow and shrink factors 2018-01-09 00:42:32 +01:00
Guillaume Ayoub
f868abfdb2 Handle floats and inline-level boxes in flex boxes 2018-01-09 00:41:07 +01:00
Guillaume Ayoub
e9fdb0d843 Don't consider the flex container box as a block container box 2018-01-09 00:40:06 +01:00
Guillaume Ayoub
1a5e9a8144 Work around flex boxes bigger than the page 2018-01-09 00:39:29 +01:00
Guillaume Ayoub
defb516195 Add the flex expander 2018-01-09 00:38:30 +01:00
Guillaume Ayoub
5588132c99 Initial support of flex-(basis|grow|srink) and of *-reverse values 2018-01-07 23:53:07 +01:00
Guillaume Ayoub
c6255b8059 Parse flex-flow and flex-direction 2018-01-07 21:11:43 +01:00
Guillaume Ayoub
921f7cd527 Fix circular imports 2018-01-07 01:46:39 +01:00
Guillaume Ayoub
60ba2e5a93 Initial implementation of flex-wrap 2018-01-07 01:31:28 +01:00
Guillaume Ayoub
774e3f4be6 Fix box type detection for floats 2018-01-07 00:53:18 +01:00
Guillaume Ayoub
590ffd411a Merge branch 'master' into flexbox 2018-01-07 00:42:38 +01:00
Guillaume Ayoub
24d0c2b4f8 Handle height of column layout boxes 2018-01-06 17:57:26 +01:00
Guillaume Ayoub
73619667e7 Respect bottom spacing for column layout.
Related to #555.
2018-01-05 18:26:57 +01:00
Guillaume Ayoub
4f60ba9173 Initial support of baseline alignments for flex layout 2017-12-29 01:23:41 +01:00
Guillaume Ayoub
3027417f88 Merge branch 'master' into flexbox 2017-12-27 01:07:27 +01:00
Guillaume Ayoub
4d29501e72 Fix typo in CHANGES 2017-12-26 15:51:04 +01:00
Guillaume Ayoub
5bb4815844 Version 0.42 2017-12-26 15:44:49 +01:00
Guillaume Ayoub
c593d2d41e Keep track of removed collapsible spaces only at the end of boxes 2017-12-26 13:21:24 +01:00
Guillaume Ayoub
d62bfec60b Keep track of removed collapsing spaces for wrap opportunities 2017-12-26 12:39:20 +01:00
Guillaume Ayoub
d822700e87 Fix optimization 2017-12-23 23:48:13 +01:00
Guillaume Ayoub
89b93d54d8 Fix decorator 2017-12-23 14:28:49 +01:00
Guillaume Ayoub
39c803e85f Work around bug in cairo 1.14.12 and 1.15.10 2017-12-23 14:20:33 +01:00
Guillaume Ayoub
cacdc83a13 Take care of right spacing for inlines 2017-12-23 01:15:31 +01:00
Guillaume Ayoub
7ba93f8520 Skip floats that have already been displayed in inlines 2017-12-23 01:14:59 +01:00
Guillaume Ayoub
22d14ee305 Don't break lines that can't be wrapped 2017-12-23 01:13:32 +01:00
Guillaume Ayoub
60879829ac Don't try to split all inline children when splitting first line
Fix #553.
2017-12-23 01:11:16 +01:00
Guillaume Ayoub
69b64d2bd0 First working version of flex layout 2017-12-23 00:19:32 +01:00
lucien
a5c3e36eff flexbox step 6 - step 4 2017-12-21 09:44:41 +01:00
Guillaume Ayoub
43dde60a8d Change typo of macOS 2017-12-13 10:18:21 +01:00
Guillaume Ayoub
07d133f2b1 Add some documentation about supported font formats
Related to #548.
2017-12-13 10:15:45 +01:00
Guillaume Ayoub
08e08309dc Fix some floating boxes layouts 2017-12-12 18:20:30 +01:00
Guillaume Ayoub
878cc41c51 Add a keywoard to translate boxes ignoring floating children 2017-12-12 18:20:00 +01:00
Guillaume Ayoub
ce70354488 Don't cross the whole tree when translating boxes by (0, 0) 2017-12-12 18:18:18 +01:00
Guillaume Ayoub
883cbac0d9 Fix more line-breaking use cases 2017-12-11 17:22:54 +01:00
Guillaume Ayoub
5a8546e7c2 Fix Python 2 support 2017-12-11 11:17:31 +01:00
Guillaume Ayoub
b52c2ecd00 Remove unused imports 2017-12-11 01:40:49 +01:00
Guillaume Ayoub
a77958f8f8 Fix tests 2017-12-11 01:39:29 +01:00
Guillaume Ayoub
9724e706bc Remove prints 2017-12-11 01:39:25 +01:00
Guillaume Ayoub
7be183f234 Remove broken optimization 2017-12-11 01:38:57 +01:00
Guillaume Ayoub
a7b192c1d3 Small fixes for line breaking 2017-12-11 00:20:49 +01:00
Guillaume Ayoub
71917af2fb Linebox breaks fixes and related tests 2017-12-10 01:01:55 +01:00
Guillaume Ayoub
dfe52966b8 Set default logging level to WARNING
Fixes tests with pytest 3.3.0+
2017-12-09 15:00:22 +01:00
Guillaume Ayoub
1f220b2752 Drop official Python 3.3 support
As pytest doesn't support Python 3.3 anymore, and even if the current code
works with 3.3, it's time to officially drop support.
2017-12-09 14:59:19 +01:00
Guillaume Ayoub
2c6600b320 Split layout tests into multiple files 2017-12-09 14:45:42 +01:00
Guillaume Ayoub
9d6aa5e34a Add more steps of flex layout 2017-12-08 01:14:40 +01:00