Guillaume Ayoub
4cb6045784
Fix typo introduced in previous commit
2019-09-06 17:12:18 +02:00
Guillaume Ayoub
615e298ade
Don't include floating elements each time we try to render a column
2019-09-06 16:40:17 +02:00
Guillaume Ayoub
789b80e684
Only use in flow children to set columns height
2019-09-06 11:31:03 +02:00
Guillaume Ayoub
87d9e84f28
Avoid infinite loops when rendering columns
2019-09-05 15:45:17 +02:00
Guillaume Ayoub
cf7bff7af1
Fix test indentation
2019-09-05 15:28:23 +02:00
Guillaume Ayoub
d0c9a75e53
Fix table rendering with empty lines and rowspans
...
Fix #937 .
2019-09-05 15:27:40 +02:00
Guillaume Ayoub
08bd51abaf
Add CSS sample for forms
...
Related to #328 .
2019-09-05 14:46:48 +02:00
Guillaume Ayoub
b06a3a9a6f
Always set tabulation width
...
Not setting it makes Pango use a slightly different value of tabulation width,
breaking a test.
2019-09-05 13:46:01 +02:00
Guillaume Ayoub
29fcb45f0e
Merge branch 'master' of github.com:Kozea/WeasyPrint
2019-09-04 16:21:39 +02:00
Guillaume Ayoub
4dc0b119f6
Don't crash when small columns are wrapped in absolute blocks
...
Fix #897 .
2019-09-04 16:20:07 +02:00
Guillaume Ayoub
074d147611
Merge pull request #922 from Kozea/perf
...
Improve performance
2019-09-03 12:29:48 +02:00
Guillaume Ayoub
fb62571f86
Fix gradient test
...
Use colors with even hexadecimal components for gradients to have a
deterministic result when colors are mixed.
Fix #913 .
2019-09-03 12:24:39 +02:00
Guillaume Ayoub
023a9f1220
Merge pull request #927 from Tontyna/misc
...
Dont use deprecated Logger.warn
2019-08-26 18:07:16 +02:00
Tontyna
8277462bee
Dont use deprecated Logger.warn
2019-08-26 10:16:31 +02:00
Guillaume Ayoub
8ac7afe4ca
Remove add_declaration
...
We can now get style in the parent loop, avoiding a large number of calls to
setdefault.
2019-08-19 18:23:17 +02:00
Guillaume Ayoub
feae58052c
Merge branch 'master' into perf
2019-08-17 11:06:29 +02:00
Guillaume Ayoub
b8c19a2878
Heal my psychotic desorders
2019-08-17 11:04:57 +02:00
Guillaume Ayoub
7050c2c761
Merge pull request #924 from Tontyna/titlefix
...
fix erroneous document title
2019-08-17 11:03:24 +02:00
Tontyna
b5a4cb739c
fix erroneous document title
2019-08-16 22:01:46 +02:00
Guillaume Ayoub
4f544e558c
Merge branch 'master' of github.com:Kozea/WeasyPrint
2019-08-15 14:12:11 +02:00
Guillaume Ayoub
09e95aaf6b
Fix project description
2019-08-15 14:11:55 +02:00
Guillaume Ayoub
af077341b9
Merge pull request #921 from Tontyna/contrib_to_doc
...
Fix typos in the doc
2019-08-14 22:19:30 +02:00
Tontyna
3a0d375ede
typo in features.rst
2019-08-14 22:00:28 +02:00
Tontyna
381a63cc74
Merge branch 'master' into contrib_to_doc
2019-08-14 21:56:48 +02:00
Tontyna
4b614761dc
minor typos in install.rst
2019-08-14 21:55:06 +02:00
Guillaume Ayoub
359536e6e3
Merge branch 'master' into perf
2019-08-14 18:34:51 +02:00
Guillaume Ayoub
cd925bc76c
Revert "Fix tests for Pango 1.44"
...
This reverts commit d6da699f91
.
2019-08-14 18:34:42 +02:00
Guillaume Ayoub
aab0fa5b9d
Fix line height with Pango > 1.44
...
Pango > 1.44 returns a wrong baseline when no text is set on the layout. We
now have to set text when calculating metrics for strut layouts.
Fix #917 .
2019-08-14 18:32:44 +02:00
Guillaume Ayoub
440070b8da
Fix padding and margin management for column flex boxes
...
Nothing more than a stupid typo. Fix #919 .
2019-08-14 16:29:45 +02:00
Guillaume Ayoub
554225b4f7
Fix typo in comment
2019-08-14 14:50:06 +02:00
Guillaume Ayoub
91d8c0fbec
Don't remove repeated headers when line groups avoid breaks
...
When no table content is small enough to fit in one page, we remove repeated
headers and footers to give table content more space. This is a good idea for
complicated situations, but not adapted when line groups avoid page breaks
inside.
This commit keeps headers and footers when the next line group avoids page
breaks, by forcing to render at least one line of the table, like if the page
was empty.
2019-08-14 14:37:49 +02:00
Guillaume Ayoub
d6da699f91
Fix tests for Pango 1.44
...
Fix #917 .
One test fails with current 1.44.3 version, because of bug 397 [1] fixed
in 1.44.4 (not released yet).
[1] https://gitlab.gnome.org/GNOME/pango/issues/397
2019-08-08 16:47:05 +02:00
Guillaume Ayoub
2ee4516786
Handle the ::marker pseudo-element
...
Fix #700 .
2019-08-07 23:01:41 +02:00
Guillaume Ayoub
63fe3122f7
Add documentation about semantic versioning
...
Fix #900 .
2019-07-26 11:46:57 +02:00
Guillaume Ayoub
10e2b8d822
Add documentation about semantic versioning
...
Fix #900 .
2019-07-26 11:46:06 +02:00
Guillaume Ayoub
e0670373d7
Merge branch 'master' into perf
2019-07-25 11:26:30 +02:00
Guillaume Ayoub
f000160423
Add code snippet to set PDF magnification
...
Fix #692 .
2019-07-25 11:25:40 +02:00
Guillaume Ayoub
fb90a736d1
Add test about inline images with no size
...
Related to #901 .
2019-07-25 10:51:25 +02:00
Guillaume Ayoub
7efd1e135f
Fix width of replaced boxes with no intrinsic width
...
Fix #901 .
2019-07-24 15:18:38 +02:00
Guillaume Ayoub
ba2b4542e8
Merge branch 'master' into perf
2019-07-24 10:54:20 +02:00
Guillaume Ayoub
8d10c011d9
Don't respect table cell width when content doesn't fit
...
Fix #906 .
2019-07-24 10:47:55 +02:00
Guillaume Ayoub
620e0754f4
Fix lint
2019-07-23 18:07:14 +02:00
Guillaume Ayoub
328de5e67e
Merge pull request #907 from makeleaps/nowrap
...
Refactor LayoutContext building
2019-07-23 18:01:56 +02:00
Raphael Gaschignard
afc7dabc1b
Refactor LayoutContext building
...
this will provide a simpler API for testing context-using functions inside tests
2019-07-23 14:12:08 +09:00
grewn0uille
a86627943f
Fix margin collapsing between caption and table wrapper.
2019-07-19 18:31:17 +02:00
Guillaume Ayoub
abcd386e2f
Remove useless TODO
...
This TODO has been fixed with #771 .
2019-07-18 16:40:42 +02:00
Guillaume Ayoub
0142689fd9
Merge branch 'master' into perf
2019-07-18 16:33:22 +02:00
grewn0uille
135dc06c9a
Handle recto/verso on page break.
2019-07-18 14:34:45 +02:00
Guillaume Ayoub
b328b5766c
Remove useless TODO
...
FakeHTML actually reads data from a file.
2019-07-18 11:54:03 +02:00
Guillaume Ayoub
97a5aaea07
Remove work done twice when splitting lines between characters
...
There used to be a problem with WRAP_CHAR method of Pango, but it's fixed. As
nothing is said in Pango's Changelog, the probem may have been in our heads,
and that wouldn't be surprising at all.
2019-07-18 11:39:35 +02:00