Simon Sapin
|
042c24c068
|
Bug fix: count colspan when removing cells outside of the grid.
|
2011-12-01 12:07:45 +01:00 |
|
Simon Sapin
|
89e4635ce6
|
Count the whole table layout algorithm for table wrapper width.
|
2011-11-30 14:56:57 +01:00 |
|
Simon Sapin
|
3e696c73d7
|
Fix a corner case in line-height calculation.
|
2011-11-29 17:19:43 +01:00 |
|
Simon Sapin
|
9464643f24
|
Remove Box.broder_*_width, they’re always the same as in Box.style
|
2011-11-29 12:41:47 +01:00 |
|
Simon Sapin
|
769ce43c25
|
Correctly handle table margins with width: auto
|
2011-11-29 11:23:16 +01:00 |
|
Simon Sapin
|
5b0c81197f
|
Improve test coverage a bit.
|
2011-11-25 18:13:21 +01:00 |
|
Simon Sapin
|
e089ec6615
|
Complete table layout!
|
2011-11-24 18:17:03 +01:00 |
|
Simon Sapin
|
ef711d45fe
|
Implement text-align: sub, super, text-top, text-bottom
|
2011-11-24 12:48:00 +01:00 |
|
Simon Sapin
|
8944c651e0
|
Implement vertical-align: middle
|
2011-11-24 12:48:00 +01:00 |
|
Simon Sapin
|
e16d847c62
|
Bug fix for vertical-align on inline boxes.
|
2011-11-24 12:48:00 +01:00 |
|
Simon Sapin
|
f2bc2bf144
|
Initial layout for tables. (widths/horizontal only)
|
2011-11-22 13:06:50 +01:00 |
|
Simon Sapin
|
d91f8cc884
|
Implement the box-sizing property from CSS3-UI.
|
2011-11-21 14:25:43 +01:00 |
|
Simon Sapin
|
3d9a8115eb
|
Anonymity is an attribute now, not a class.
|
2011-11-14 14:32:27 +01:00 |
|
Simon Sapin
|
f4597fd96e
|
End this UTF-8 madness.
|
2011-11-14 14:32:27 +01:00 |
|
Guillaume Ayoub
|
ef2117635b
|
Test ignored horizontal margins for empty inline boxes
|
2011-11-05 00:27:20 +01:00 |
|
Guillaume Ayoub
|
0241a1e672
|
Clean, document and add tests
|
2011-11-04 23:55:26 +01:00 |
|
Simon Sapin
|
e67e197b89
|
Do not set dummy values for dimensions and position in Box.__init__
|
2011-10-21 15:58:19 +02:00 |
|
Simon Sapin
|
166b372708
|
Rewrite some tests without one-shot functions.
|
2011-10-21 15:42:24 +02:00 |
|
Simon Sapin
|
07f3132202
|
Implement the text-indent CSS property.
|
2011-10-21 12:22:19 +02:00 |
|
Simon Sapin
|
75b97f3399
|
Implement text-align: rigth and center.
|
2011-10-20 18:37:44 +02:00 |
|
Simon Sapin
|
163d19140d
|
Add support for length and percentage vertical-align.
|
2011-10-19 18:32:16 +02:00 |
|
Simon Sapin
|
33d8d7eda1
|
Bug fix on line height with inline images.
|
2011-10-19 16:04:17 +02:00 |
|
Simon Sapin
|
a9b112637a
|
Rewrite inline layout.
|
2011-10-19 15:17:21 +02:00 |
|
Simon Sapin
|
034a785c8b
|
Do line layout with position_x instead of available_width.
|
2011-10-17 18:40:18 +02:00 |
|
Guillaume Ayoub
|
d092bdfca8
|
Fix some random values in the tests
|
2011-10-17 18:22:04 +02:00 |
|
Simon Sapin
|
ada521d701
|
Use FontDescription instead of markup in Pango.
This fixes the font sizes and add support for alpha color on text,
but break letter-spacing.
|
2011-10-13 18:23:49 +02:00 |
|
Simon Sapin
|
67bb96ea06
|
Bugfixes
|
2011-10-11 12:25:28 +02:00 |
|
Simon Sapin
|
55be2cfa6a
|
Partial Python 3 compatibility.
|
2011-10-10 16:39:41 +02:00 |
|
Simon Sapin
|
8115e07aa5
|
Make one TextFragment for each TextBox instead of two during layout.
|
2011-10-08 19:37:17 +02:00 |
|
Simon Sapin
|
fadb60c14f
|
Use strings or numbers instead of lists of cssutils Value objects.
... where appropriate. This remove much of the need for functions like
get_single_keyword and get_single_pixel_value.
|
2011-10-08 14:41:12 +02:00 |
|
Simon Sapin
|
887ab05d87
|
Remove usage of Box.containing_block_size in markers.py
|
2011-10-06 17:47:04 +02:00 |
|
Simon Sapin
|
ed5c87faea
|
Remove usage of Box.find_page_ancestor
|
2011-10-06 15:36:19 +02:00 |
|
Simon Sapin
|
754b2b8e06
|
Rewrite whitespace processing without mutating boxes.
|
2011-10-05 13:01:44 +02:00 |
|
Guillaume Ayoub
|
063c3b0331
|
Make the parent box children immutable
|
2011-10-03 18:57:26 +02:00 |
|
Guillaume Ayoub
|
75220039ce
|
Use standard fonts for the tests
|
2011-10-03 16:37:02 +02:00 |
|
Guillaume Ayoub
|
ad1de95f4a
|
Fix some widths and fonts in the layout tests
|
2011-10-03 16:13:19 +02:00 |
|
Simon Sapin
|
cc85f95c5b
|
Use index stacks instead of popleft for line and page breaks.
|
2011-10-03 16:14:50 +02:00 |
|
Simon Sapin
|
7d0320afd5
|
Switch to UTF8 everywhere in text boxes instead of unicode.
|
2011-09-30 17:18:53 +02:00 |
|
Simon Sapin
|
e87553a77a
|
Disable know broken test.
|
2011-09-30 12:23:00 +02:00 |
|
Simon Sapin
|
a44a9b23d2
|
Use a shorter HTML stylesheet to speed up tests.
|
2011-09-29 19:04:08 +02:00 |
|
Guillaume Ayoub
|
787ea4637d
|
Use ' instead of "
|
2011-09-08 23:15:14 +02:00 |
|
Guillaume Ayoub
|
0fb1d06657
|
Clean WeasyPrint
|
2011-09-08 23:02:17 +02:00 |
|
Guillaume Ayoub
|
395c9aabc0
|
Add a missing ":" in a comment
|
2011-09-08 22:44:10 +02:00 |
|
Guillaume Ayoub
|
e4d5e4c5b9
|
Various cleanups
|
2011-09-02 12:03:37 +02:00 |
|
Salem Harrache
|
5a75887a83
|
deep copy new line in InlineContext instead of full linebox
|
2011-08-26 12:03:17 +02:00 |
|
Salem Harrache
|
c2d4414b33
|
Merge branch 'master' of github.com:Kozea/WeasyPrint
|
2011-08-25 17:27:11 +02:00 |
|
Salem Harrache
|
b0e2b1e52b
|
Bug fix : missing lines between pages
|
2011-08-25 17:27:00 +02:00 |
|
Simon Sapin
|
62a4a14be8
|
Handle <br> elements.
|
2011-08-25 12:52:36 +02:00 |
|
Salem Harrache
|
5359abce87
|
add test for spliting inlinebox
|
2011-08-25 12:33:32 +02:00 |
|
Guillaume Ayoub
|
b2c4741029
|
Clean weasy/tests/test_layout
|
2011-08-24 12:28:25 +02:00 |
|