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

766 Commits

Author SHA1 Message Date
Guillaume Ayoub
856890e0b1 Fix dotted and dashed borders 2013-06-13 17:52:39 +02:00
Guillaume Ayoub
6b8d32a501 Don't validate the lengths in border-radius twice 2013-06-13 16:55:40 +02:00
Guillaume Ayoub
8463ba0c46 Cast round() to an int 2013-06-12 21:50:29 +02:00
Guillaume Ayoub
c16953cf3f Fix dotted and dashed borders, fixes all tests
Rounded dotted and dashed borders are still broken
2013-06-10 23:47:10 +02:00
Guillaume Ayoub
34c6fe3de3 Handle ridge and groove 2013-06-07 19:46:35 +02:00
Guillaume Ayoub
7ce1648cf1 Handle inset and outset border styles 2013-06-07 19:29:37 +02:00
Guillaume Ayoub
eb22847dd2 Fix min and max calls 2013-06-07 19:21:02 +02:00
Guillaume Ayoub
a9b21387c1 Remove duplicate code 2013-06-07 19:03:59 +02:00
Guillaume Ayoub
aca98d7d38 Fix a couple of things again 2013-06-07 17:19:10 +02:00
Guillaume Ayoub
1bb50557bf Fix a couple of little things 2013-06-07 17:14:32 +02:00
Guillaume Ayoub
1e226cd88a Fix overlapping curves 2013-06-07 17:05:58 +02:00
Guillaume Ayoub
cb2460067b Fix outlines and collapsed borders in tables 2013-06-07 16:52:31 +02:00
Guillaume Ayoub
ca91649f02 Draw rounded border segments
This breaks outlines and collapsed borders
2013-06-07 13:13:27 +02:00
Guillaume Ayoub
3256eebad1 Use better names for variables and methods about rounded boxes 2013-06-06 16:21:56 +02:00
Guillaume Ayoub
f0b8b755bd Draw solid and double borders 2013-06-06 15:58:00 +02:00
Guillaume Ayoub
0345af4d3d First commit about border-radius, works for the background 2013-06-05 18:56:57 +02:00
Guillaume Ayoub
dccd562c6b Don't clip the border when overflow: hidden 2013-06-05 18:45:16 +02:00
Guillaume Ayoub
1930bb1ffe Cut long lines 2013-06-03 18:35:37 +02:00
Guillaume Ayoub
b766ffac22 Merge branch 'typographic-text-decorations' of git://github.com/ariofrio/WeasyPrint into ariofrio-typographic-text-decorations
Conflicts:
	weasyprint/draw.py
2013-06-03 18:26:08 +02:00
Guillaume Ayoub
0eed4a088f Actually draw multiple lines when multiple values are given to text-decoration 2013-05-24 19:07:53 +02:00
Guillaume Ayoub
3a9fa3cb66 Fix encoding error when files are restored from saved HTML in test_web 2013-05-24 19:06:40 +02:00
Guillaume Ayoub
af3d964f44 Merge pull request #90 from ariofrio/test-web-unicode
Allow non-ascii characters to be used in the test_web app
2013-05-24 09:45:53 -07:00
Guillaume Ayoub
0ac3ba6db3 Merge pull request #88 from ariofrio/fix-overline
Fix overline not being drawn above the text
2013-05-24 09:21:40 -07:00
Le-Stagiaire
72c9c02b64 Typo in bookmark label 2013-05-24 16:27:11 +02:00
Andres Riofrio
3666b4d9f4 Allow non-ascii characters to be used in the test_web app 2013-05-17 10:21:30 -07:00
Andres Riofrio
1aea07a33f Read typographic hints from Pango for text decorations 2013-05-17 09:52:05 -07:00
Andres Riofrio
d2c69d09f0 Fix overline not being drawn above the text 2013-05-17 09:48:38 -07:00
Guillaume Ayoub
f2e9fbb95e Make counter names case-sensitive 2013-05-10 12:13:21 +02:00
Le-Stagiaire
505be3c99c Fix background-size: cover/contain for image ratio ≠ 1 2013-05-02 19:46:36 +03:00
Simon Sapin
22b4a95406 Changelog for v0.19.1 2013-04-30 17:08:33 +02:00
Simon Sapin
b57a9e8e0e Use anti-aliasing for dotted borders. It looks better that way. 2013-04-30 11:50:32 +02:00
Simon Sapin
25bab1dc6c Fix #76: repeating <thead> and <tfoot> on every page with border-collapse. 2013-04-30 10:56:43 +02:00
Guillaume Ayoub
28822aff74 Fix a test relying on a bug of libxml2 2013-04-26 16:02:01 +02:00
Guillaume Ayoub
3a620db567 Fix trailing whitespaces in preferred widths 2013-04-26 15:42:15 +02:00
Simon Sapin
1533b9c2d4 Fix margin collapsing with tables.
The position of page breaks between table rows did not consider margin
collapsing.
2013-04-26 15:02:27 +02:00
Simon Sapin
4796fd138d Fix painting of inset/outset borders. 2013-04-26 15:00:58 +02:00
Simon Sapin
a69c242daf Allow line breaks before/after atomic inline elements
… in preferred minumum width calculation.

Revert test workarounds made in the previous commit.
2013-04-26 15:00:21 +02:00
Simon Sapin
9c0d74efc6 Refactor min-content, avoid dubious line breaks.
Layout still can break at any tag, but not min-content.
2013-04-23 19:55:21 +02:00
Simon Sapin
da3ded0e7b Fix max-content with forced line breaks and whitespace at start of line. 2013-04-23 18:49:44 +02:00
Simon Sapin
18aefe8a06 Remove unnecessary page breaks before tables. 2013-04-23 16:54:40 +02:00
Simon Sapin
1cd961fafc Use stroke rather than fill for solid borders. Looks better on PDF. 2013-04-23 16:24:33 +02:00
Simon Sapin
302eae25b0 Have position: fixed elements repeated on every page. 2013-04-23 15:32:08 +02:00
Simon Sapin
1e3e96a8bd Fix unnecessary line break in floats. 2013-04-22 17:26:41 +02:00
Simon Sapin
c5a90f09ac Changelog and docs for v0.19 2013-04-18 11:59:44 +02:00
Simon Sapin
77f8894ced Add pixel tests for gradients. 2013-04-17 18:02:19 +02:00
Simon Sapin
bf86113961 Python 3.1 compat
3.1’s range() objects do not support slicing.
2013-04-17 13:10:36 +02:00
Simon Sapin
86a3319f68 Remove the now empty png.py file. 2013-04-16 16:22:14 +02:00
Simon Sapin
1681891f55 Add radial gradient layout tests. 2013-04-16 16:22:14 +02:00
Simon Sapin
b6f6d348bd Add linear gradient layout tests. 2013-04-16 16:22:14 +02:00
Guillaume Ayoub
d406ad6eee Simplify 'white-space: nowrap' handling, fix corner cases. 2013-04-16 14:27:14 +02:00