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 |
|
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 |
|
Simon Sapin
|
5965dc6bfd
|
Merge remote-tracking branch 'origin/hyphenation'
Conflicts:
weasyprint/text.py
|
2013-04-08 11:00:19 +02:00 |
|
Guillaume Ayoub
|
a5b58dbcda
|
Remove trailing space's width in avoid_collisions
|
2013-04-07 23:47:03 +02:00 |
|
Simon Sapin
|
d53f091b17
|
Prepare for multiple background-image types.
|
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
|
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
|
e36006ea21
|
Introduce Image objects, with intrinsic width/height/ratio as attributes.
|
2013-04-03 13:34:14 +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
|
b5de53169c
|
Add backgroun-repeat: space
|
2013-03-30 22:49:47 +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
|
86bc8b4978
|
Fix #66: Resolve images’ auto width from non-auto height and intrinsic ratio.
|
2013-03-28 12:44:28 +01:00 |
|
Simon Sapin
|
99541864a1
|
Simplify background-image a bit.
|
2013-03-26 13:56:11 +01:00 |
|
Simon Sapin
|
911ed43169
|
Add support for multiple backgrounds (except for the shorthand.)
|
2013-03-19 18:29:58 +01:00 |
|
Simon Sapin
|
216e13136e
|
Fix #44: bad interaction of page-break-before/after: avoid and floats.
|
2013-03-18 15:26:11 +01:00 |
|
Guillaume Ayoub
|
59daa1a827
|
Don't render abosolute boxes twice
|
2013-03-13 18:50:21 +01:00 |
|
Guillaume Ayoub
|
4011792ee0
|
Don't remove spaces between inline blocks
|
2013-03-13 13:49:51 +01:00 |
|
Guillaume Ayoub
|
0e62dd3fb1
|
Merge branch 'master' into hyphenation
|
2013-03-11 23:45:47 +01:00 |
|
Guillaume Ayoub
|
84e67995df
|
Don't strip non-breaking spaces when setting width=0 on empty inline boxes
|
2013-03-11 19:04:00 +01:00 |
|
Guillaume Ayoub
|
b5e1fafa5d
|
Add hyphenate-character
|
2013-03-02 02:45:48 +01:00 |
|
Simon Sapin
|
43489dec07
|
Merge branch 'master' into hyphenation
Conflicts:
weasyprint/text.py
|
2013-02-26 18:16:59 +01:00 |
|
Guillaume Ayoub
|
6e114af5af
|
Fix horizontal negative margins for floats
|
2013-02-25 14:57:50 +01:00 |
|
Simon Sapin
|
829c758788
|
Keep currentColor as a computed value, resolve in used value
According to the css3-color errata:
http://www.w3.org/Style/2011/REC-css3-color-20110607-errata.html
|
2013-01-23 16:52:47 +01:00 |
|
Guillaume Ayoub
|
903490b207
|
Merge branch 'master' into hyphenation
Conflicts:
weasyprint/layout/inlines.py
|
2012-12-28 17:56:03 +01:00 |
|
Guillaume Ayoub
|
94c719b4ea
|
Fix some trailing spaces
|
2012-12-28 17:45:23 +01:00 |
|
Guillaume Ayoub
|
d4fffabb8a
|
Add base code and dictionaries for hyphenation
|
2012-12-08 21:43:16 +01:00 |
|
Guillaume Ayoub
|
2325b4c2f4
|
Give the line length to split_first_line
|
2012-11-24 16:14:49 +01:00 |
|
Guillaume Ayoub
|
1eb22ed63b
|
Remove spaces at the end of the text lines
|
2012-11-22 23:52:50 +01:00 |
|
Guillaume Ayoub
|
d2dea8ed56
|
Fix the size of the first line
|
2012-11-22 21:23:42 +01:00 |
|
Guillaume Ayoub
|
8c6f6a8189
|
Remove the width of space-character containers when line breaks are not preserved
|
2012-11-22 21:23:04 +01:00 |
|
Simon Sapin
|
a7131bd10f
|
Remove unused imports
|
2012-10-05 22:12:19 +02:00 |
|
Simon Sapin
|
d17ee64fa1
|
Do not repeat a block’s margin-top after a break.
|
2012-10-02 15:59:58 +02:00 |
|
Simon Sapin
|
b17e807af1
|
Bug fix: inline-block with vertical-align
|
2012-10-01 19:30:25 +02:00 |
|
Simon Sapin
|
a564473882
|
Avoid re-using Pattern objects for images.
|
2012-09-26 16:59:40 +02:00 |
|
Simon Sapin
|
c7422f721d
|
Typo fix, thanks @jdahlin
|
2012-09-16 11:25:02 +03:00 |
|
Simon Sapin
|
0ff73c49bc
|
Cache intermediate results for intrinsic widths on tables.
This fixes huges performance problems when a large table is split
across many pages.
|
2012-09-13 11:46:13 +02:00 |
|
Simon Sapin
|
9834ccb7e6
|
Handle all of backgrounds at the end of layout.
|
2012-09-13 11:19:40 +02:00 |
|
Simon Sapin
|
ae26c87bfd
|
Handle background images at the end of layout
|
2012-09-13 10:41:22 +02:00 |
|
Simon Sapin
|
463a33c1af
|
Fetch background images early
This removes the need to have a reference to the image cache
in draw.py
|
2012-09-12 18:36:00 +02:00 |
|
Guillaume Ayoub
|
50210b266f
|
Add support for @page:blank pseudo-class
|
2012-08-24 00:05:28 +02:00 |
|