1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-03 23:48:07 +03:00
Commit Graph

616 Commits

Author SHA1 Message Date
Guillaume Ayoub
8da63da982 Fix tests 2024-09-28 17:40:58 +02:00
Guillaume Ayoub
61690992f8
Merge pull request #2242 from Kozea/svg-size
Handle svg tags with no size
2024-09-25 22:32:13 +02:00
Guillaume Ayoub
3d2d15dce4 Add test of SVG with no explicit size 2024-09-25 22:23:35 +02:00
Guillaume Ayoub
b7867d4d6e Split page and page selection types 2024-09-15 09:10:08 +02:00
Guillaume Ayoub
953f7d63c6 Fix tests 2024-09-15 09:10:08 +02:00
Guillaume Ayoub
1711d5996a Display caught exceptions when debugging WeasyPrint 2024-08-24 23:51:04 +02:00
Guillaume Ayoub
c68a465638 Capture all logging messages in tests
The level been added to avoid debug messages that were not used before. This
will be handled differently in a future commit.
2024-08-24 22:19:09 +02:00
David Huggins-Daines
6cacfd672e Merge remote-tracking branch 'origin/main' into issue-2222 2024-08-19 09:25:12 -04:00
David Huggins-Daines
bb95cd0e83 fix: keep auto margins on box for a while (fixes: #2054) 2024-08-18 20:56:10 -04:00
David Huggins-Daines
4771c359d7 fix: calculate cross size and use calculated size (fixes: #1171) 2024-08-18 07:52:05 -04:00
David Huggins-Daines
0217f38ec8 test: test flex-dimension column for issue #2222 2024-08-18 07:52:05 -04:00
David Huggins-Daines
9e8eaae25d test: only assert on non-debug logs 2024-08-18 07:52:05 -04:00
Guillaume Ayoub
1b8ac91004 Don’t crash with empty list marker strings
Fix #1883.
2024-08-10 21:10:46 +02:00
Guillaume Ayoub
9213f62f45 Fix vertical alignment of out-of-flow elements in tables
Fix #2216.
2024-08-10 09:59:24 +02:00
Guillaume Ayoub
992133aad0
Merge pull request #2219 from dhdaines/issue-996
Don't ignore absolutely positioned elements inside flex
2024-08-02 15:09:57 +02:00
David Huggins-Daines
95975b7679 test: test absolute in flex 2024-08-01 15:34:54 -04:00
Guillaume Ayoub
3f07e03331 Don’t crash with normal column gap
Fix #2217.
2024-08-01 20:11:50 +02:00
Guillaume Ayoub
7b85115dee Handle submit inputs and buttons 2024-07-21 15:19:49 +02:00
Guillaume Ayoub
071e73320c Don’t assume that lines break after spaces
Fix #1817.
2024-07-11 14:20:03 +02:00
Guillaume Ayoub
126abd3347 Don’t break rows with atomic cells
Fix #1868.
2024-07-11 08:49:12 +02:00
Guillaume Ayoub
3a1259fa91 Don’t display bottom border on cells in split rows
Fix #2166.
2024-07-10 20:36:35 +02:00
Guillaume Ayoub
5c8b3a2433 Add option to include default sRGB profile for RGB colors 2024-07-10 07:21:01 +02:00
Guillaume Ayoub
61852c4098 Capture fontTools logs when subsetting fonts
Fix #2169.
2024-07-03 21:35:38 +02:00
Guillaume Ayoub
1f41486af4 Log warning when unknown rendering option is given 2024-07-03 10:29:31 +02:00
Guillaume Ayoub
6392aa71e9 Put weasyprint font in default CSS for tests
That’s much faster and avoids a useless duplicate declaration in tests.
2024-06-21 13:20:52 +02:00
Guillaume Ayoub
15f797c326 Remove x-* style from CSS for tests
This was done to avoid html5lib’s specific management of table tags. Let’s keep
the CSS clean.
2024-06-21 13:18:34 +02:00
Guillaume Ayoub
3501d56daf Don’t append useless tracks when grid elements are positioned
Fix #2187.
2024-06-21 11:01:23 +02:00
Guillaume Ayoub
76fca69e6c Make items overflowing grid wrap to the next row/column
Fix #2184.
2024-06-17 14:11:53 +02:00
Guillaume Ayoub
e7c44e5fcd Respect break-inside: avoid for flex items
Fix #2183.
2024-06-14 12:15:04 +02:00
Guillaume Ayoub
3d0b38d7c9 Add test for rtl collapsed borders 2024-06-13 11:10:14 +02:00
Guillaume Ayoub
8f57a3f428 Merge branch '62.x' 2024-06-11 16:12:05 +02:00
Guillaume Ayoub
4c81663305 Fix layout when all footnotes are removed from the footnote area 2024-06-11 15:55:58 +02:00
Guillaume Ayoub
03b8f1acc3 Slightly simplify border masks 2024-06-08 23:00:24 +02:00
Xavid Pretzer
a846e0062f Add validation tests for mask-border-* properties. 2024-06-08 22:05:18 +02:00
Guillaume Ayoub
03781c3f50 Support mask-border shorthand property. 2024-06-08 22:05:18 +02:00
Xavid Pretzer
4ce7e56085 Implement mask-border-* properties. 2024-06-08 22:05:18 +02:00
Guillaume Ayoub
ef91d5df83 Don’t duplicate column when container is split on multiple pages 2024-06-08 12:40:15 +02:00
Guillaume Ayoub
d9d7f623d0 Don’t duplicate column when container is split on multiple pages 2024-06-07 17:50:02 +02:00
Guillaume Ayoub
61f8bb37d4 Set default PDF variant values in options before generating PDF
We then have the PDF identifier and version set to the variant defaults during
generation.
2024-06-07 17:05:46 +02:00
Guillaume Ayoub
4a5326edbf Simplify (and fix) extra width distribution for auto table layout
Fix #2174.
2024-06-07 17:05:42 +02:00
Guillaume Ayoub
9639ce5d6f Set default PDF variant values in options before generating PDF
We then have the PDF identifier and version set to the variant defaults during
generation.
2024-06-05 14:31:54 +02:00
Guillaume Ayoub
afee4f9943 Remove useless print in test 2024-06-04 23:06:55 +02:00
Guillaume Ayoub
f2753214c0 Simplify (and fix) extra width distribution for auto table layout
Fix #2174.
2024-06-04 22:54:40 +02:00
Guillaume Ayoub
67f81c5ad6 Merge branch '62.x' 2024-06-03 16:31:53 +02:00
Guillaume Ayoub
bcf779df63
Merge pull request #2162 from Kozea/grid-auto-flow-column
Support grid-auto-flow: column
2024-06-03 16:31:07 +02:00
Guillaume Ayoub
f29ff1c2f1 Don’t respect fr units for overconstrained sizes 2024-05-28 22:30:41 +02:00
Guillaume Ayoub
4d2f93238c Merge branch '62.x' 2024-05-27 15:22:21 +02:00
Guillaume Ayoub
96286beabc Fix undefined inherited pending properties for root elements
Fix #2164.
2024-05-27 15:21:19 +02:00
Guillaume Ayoub
60b64c0cc8 Remove more placeholders
Fix #1792.
2024-05-25 08:14:37 +02:00
Guillaume Ayoub
46a7548676 Remove more placeholders, again and again 2024-05-24 10:04:37 +02:00