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

703 Commits

Author SHA1 Message Date
Simon Sapin
ef56b60ece Remove the scripts for runnig the W3C test suite.
Moved to https://github.com/Kozea/WeasySuite
2013-04-11 12:13:17 +02:00
Simon Sapin
1d1bf9cdc9 Flake8. 2013-04-11 12:08:53 +02:00
Simon Sapin
dd8952adc6 Add radial gradients. 2013-04-11 10:39:47 +02:00
Simon Sapin
3ca71a6bed Gradients (still untested), handle pathological cases. 2013-04-11 10:39:47 +02:00
Simon Sapin
ff98eca1bd Drop support for CFFI < 0.6 2013-04-11 10:39:47 +02:00
Guillaume Ayoub
8e6df93709 Don't allow 'hidden' value for 'outline-style' property 2013-04-10 19:18:46 +02:00
Guillaume Ayoub
3ee0e4f279 Fix tests 2013-04-09 18:41:25 +02:00
Guillaume Ayoub
bbe1b250c0 Don't set margins with over-constraint block-level boxes (useful for floats) 2013-04-09 18:30:25 +02:00
Guillaume Ayoub
0901636a7e Fix avoid_collisions again 2013-04-09 18:29:52 +02:00
Guillaume Ayoub
2a6271a4da Use the skip stack when calculating the available width of the first line 2013-04-08 21:46:39 +02:00
Guillaume Ayoub
b25cb994a8 Fix complicated cases and a typo in avoid_collisions 2013-04-08 21:45:56 +02:00
Guillaume Ayoub
9d90ff627f Don't draw empty lines with no forced line breaks 2013-04-08 19:09:56 +02:00
Guillaume Ayoub
6aed6a6c0a Don't crash on empty tables with "border-collapse: collapse" 2013-04-08 17:43:29 +02:00
Guillaume Ayoub
a79a8f83a5 Don't crash when control characters are in CSS selectors 2013-04-08 17:40:19 +02:00
Simon Sapin
5965dc6bfd Merge remote-tracking branch 'origin/hyphenation'
Conflicts:
	weasyprint/text.py
2013-04-08 11:00:19 +02:00
Simon Sapin
43419f8225 More working around floating point errors when shrink-to-fit = max-content. 2013-04-08 10:54:59 +02:00
Simon Sapin
9925fe45db Fix #71: crash when parsing nested functional notation. 2013-04-08 10:02:37 +02:00
Guillaume Ayoub
a5b58dbcda Remove trailing space's width in avoid_collisions 2013-04-07 23:47:03 +02:00
Simon Sapin
3f79655940 Add untest support for linear gradients. 2013-04-05 12:23:29 +02:00
Simon Sapin
d53f091b17 Prepare for multiple background-image types. 2013-04-05 12:23:29 +02:00
Simon Sapin
e4273872ac Convert angles to radians as soon as parsing. 2013-04-05 12:23:29 +02:00
Simon Sapin
11bd0db0a2 Use css-image-3 algoritms for list-style-image sizing. 2013-04-05 12:22:38 +02:00
Simon Sapin
6bcc6edc0f Clean up ex/ch, add a test. 2013-04-05 12:22:28 +02:00
Guillaume Ayoub
50ac168b94 Clean code and fix tests 2013-04-04 04:39:25 +02:00
Guillaume Ayoub
9f18ce63c3 Handle ex and ch units 2013-04-04 02:38:39 +02:00
Simon Sapin
8b78aa41c9 Use css-image-3 algoritms for background image sizing. 2013-04-03 18:15:32 +02:00
Simon Sapin
751d99cc78 Move background sizing and positioning from draw to layout. 2013-04-03 17:46:14 +02:00
Simon Sapin
242f24b576 Refactor background layout. 2013-04-03 17:27:07 +02:00
Simon Sapin
171438f48e 2013 2013-04-03 16:23:48 +02:00
Simon Sapin
0faaceb44f Have Image objects "render themselves" on a cairo Context. 2013-04-03 16:00:31 +02:00
Simon Sapin
e36006ea21 Introduce Image objects, with intrinsic width/height/ratio as attributes. 2013-04-03 13:34:14 +02:00
Simon Sapin
2dfc39ccc6 Negative font-size is invalid. 2013-04-02 18:32:15 +02:00
Simon Sapin
fd276f1c9c Fix #54: min/max-width/height on block-level images. 2013-04-02 12:41:52 +02:00
Simon Sapin
c53a01f18f Changelog for v0.18. 2013-03-30 23:44:12 +01:00
Simon Sapin
cef113c5a7 Add background-repeat: round 2013-03-30 23:43:19 +01:00
Simon Sapin
b5de53169c Add backgroun-repeat: space 2013-03-30 22:49:47 +01:00
Simon Sapin
8a28f0f08a Compat with cairocffi 0.4 / CFFI 0.6 2013-03-30 20:55:23 +01:00
Simon Sapin
a11ac81bdd Fix #53: crash when backtracking for break-before/after: avoid 2013-03-28 18:25:16 +01:00
Simon Sapin
60526fecd5 Allow page breaks between empty blocks. 2013-03-28 18:22:00 +01:00
Simon Sapin
0f37260c24 Docs: mention converting pycairo contexts to cairocffi. 2013-03-28 16:41:51 +01:00
Simon Sapin
c854feece9 Fix #21: Check for 'data' URL scheme case-insensitively. 2013-03-28 13:33:28 +01:00
Simon Sapin
86bc8b4978 Fix #66: Resolve images’ auto width from non-auto height and intrinsic ratio. 2013-03-28 12:44:28 +01:00
Simon Sapin
31d258ba84 Bug fix: use each layer’s own painting (clip) area 2013-03-26 14:07:44 +01:00
Simon Sapin
99541864a1 Simplify background-image a bit. 2013-03-26 13:56:11 +01:00
Simon Sapin
4265b4115a Add syntax for two keywords in background-repeat. 2013-03-26 12:04:00 +01:00
Simon Sapin
3d4c94acdc Prepare for L3 background-repeat. 2013-03-25 19:40:27 +01:00
Simon Sapin
055203cd97 Parse background-size in the background shorthand. 2013-03-25 19:05:04 +01:00
Simon Sapin
35b3c1ad8d Upgrade background-position to Level 3. 2013-03-25 18:59:18 +01:00
Simon Sapin
7fbd46f734 Work around floating point errors when shrink-to-fit = max-content. 2013-03-21 15:51:16 +01:00
Simon Sapin
e4f68e2b27 Prepare background-position internals for Level 3 syntax. 2013-03-21 15:46:07 +01:00