Simon Sapin
|
fe52a7b0f6
|
Fix baseline for table rows.
|
2012-04-10 15:46:36 +02:00 |
|
Simon Sapin
|
3c9512bd77
|
Bug fix for inline block baseline.
|
2012-04-10 15:07:10 +02:00 |
|
Simon Sapin
|
4a146224c0
|
Proper vertical-align for inline blocks.
|
2012-04-10 12:50:22 +02:00 |
|
Guillaume Ayoub
|
1a08117491
|
Fix again the TODO
|
2012-04-10 12:31:43 +02:00 |
|
Guillaume Ayoub
|
110c4be520
|
Update a TODO about auto layout for tables
|
2012-04-10 12:30:25 +02:00 |
|
Simon Sapin
|
3ead78fe7d
|
Account for {min,max}-width for preferred widths.
|
2012-04-10 12:00:31 +02:00 |
|
Simon Sapin
|
12b856c79e
|
Add min-width/max-width for inline blocks.
|
2012-04-10 11:43:59 +02:00 |
|
Simon Sapin
|
0e66f6a72f
|
Merge branch 'shrinktofit'
|
2012-04-10 11:11:57 +02:00 |
|
Guillaume Ayoub
|
0352572cc8
|
Remove prints and add a TODO about point #4 of tables auto layout
|
2012-04-07 15:12:17 +02:00 |
|
Guillaume Ayoub
|
b6e7998a73
|
Handle point #4 of table auto layout
|
2012-04-07 15:04:48 +02:00 |
|
Guillaume Ayoub
|
0d59b2600f
|
Clean and fix a lot of things in tables auto layout
|
2012-04-07 14:25:30 +02:00 |
|
Simon Sapin
|
7ac982a01c
|
Implement {min,max}-{width,height} on images.
|
2012-04-06 19:44:09 +02:00 |
|
Simon Sapin
|
27245aa915
|
Assume intrinsic dimensions for replaced elements.
|
2012-04-06 17:01:33 +02:00 |
|
Simon Sapin
|
79675f58b0
|
Implement min-height and max-height on blocks
|
2012-04-06 16:42:06 +02:00 |
|
Simon Sapin
|
cde28023d6
|
Implement min-width and max-width on blocks.
|
2012-04-06 16:19:16 +02:00 |
|
Simon Sapin
|
9ff7b99b30
|
Fix box-sizing
|
2012-04-06 15:56:36 +02:00 |
|
Simon Sapin
|
e420cb002b
|
Allow percentage paddings
|
2012-04-06 15:43:05 +02:00 |
|
Guillaume Ayoub
|
4593b51c75
|
Merge branch 'master' into shrinktofit
|
2012-04-05 20:15:52 +02:00 |
|
Guillaume Ayoub
|
af7605cce8
|
Fix the test for tinycss warnings
|
2012-04-05 20:15:28 +02:00 |
|
Guillaume Ayoub
|
1f2895baaa
|
Merge branch 'shrinktofit' of github.com:Kozea/WeasyPrint into shrinktofit
|
2012-04-05 20:08:02 +02:00 |
|
Guillaume Ayoub
|
7411e1b66d
|
Check percentages in the inline-block test
|
2012-04-05 20:07:29 +02:00 |
|
Simon Sapin
|
fd162e2825
|
Merge branch 'master' into shrinktofit
|
2012-04-05 16:32:36 +02:00 |
|
Simon Sapin
|
f6b202fa5f
|
tinycss changes + a few more tests
|
2012-04-05 16:31:32 +02:00 |
|
Simon Sapin
|
b113b29fd7
|
Update shrink-to-fit for tinycss.
|
2012-04-05 13:16:17 +02:00 |
|
Simon Sapin
|
61bf188290
|
Merge branch 'master' into shrinktofit
Conflicts:
weasyprint/layout/blocks.py
weasyprint/layout/inlines.py
|
2012-04-05 12:38:42 +02:00 |
|
Guillaume Ayoub
|
8e2603acaf
|
Add two more asserts in the inline-block tests
|
2012-04-05 12:31:51 +02:00 |
|
Simon Sapin
|
34612cc4fb
|
Simplify the handling of 'auto' lengths.
|
2012-04-05 11:21:26 +02:00 |
|
Simon Sapin
|
73b0bd6281
|
Disallow _ instead of - in property names.
|
2012-04-04 15:07:39 +02:00 |
|
Guillaume Ayoub
|
21277c18cc
|
Add some tests, split inner/outer preferred widths
|
2012-04-04 14:25:13 +02:00 |
|
Simon Sapin
|
1ba5b32e7b
|
Tests and fixes for drawing
|
2012-04-04 13:58:06 +02:00 |
|
Simon Sapin
|
1633fec47c
|
Add some tests for validation.
|
2012-04-03 19:37:13 +02:00 |
|
Guillaume Ayoub
|
58fb02dcbb
|
Don't collapse spaces across atomic inline blocks
|
2012-04-03 18:58:55 +02:00 |
|
Simon Sapin
|
8ac2b63827
|
Clean up shorthand properties tests.
|
2012-04-03 17:12:51 +02:00 |
|
Simon Sapin
|
88c027117c
|
Do not keep tokens for percentages after validation.
Make (value, unit) namedtuples instead.
Pixel values that could be percentages are not plain numbers anymore.
|
2012-04-03 16:12:25 +02:00 |
|
Simon Sapin
|
d785f4e46d
|
Rename value(s) to token(s) in validation.
|
2012-04-03 12:45:29 +02:00 |
|
Simon Sapin
|
46b1d225c7
|
Tests n’ fixes. Lots of them.
|
2012-04-03 11:34:29 +02:00 |
|
Simon Sapin
|
ad3cdf5dae
|
tinycss again
|
2012-03-31 18:22:55 +02:00 |
|
Simon Sapin
|
fb37336f7a
|
Catch up with tinycss changes.
|
2012-03-28 18:42:47 +02:00 |
|
Simon Sapin
|
1446fccb33
|
Also pre-proccess @import and @media
|
2012-03-25 01:41:02 +01:00 |
|
Simon Sapin
|
002284affb
|
Simplify text tests
|
2012-03-25 00:45:52 +01:00 |
|
Simon Sapin
|
52b6124e2e
|
Pre-process stylesheet (do validation just after parsing)
|
2012-03-25 00:39:41 +01:00 |
|
Simon Sapin
|
b78f939ee7
|
Remove remaining references to cssutils.
|
2012-03-24 22:10:38 +01:00 |
|
Simon Sapin
|
96feb96574
|
Switch from cssutils to tinycss as the CSS parser
|
2012-03-24 21:32:15 +01:00 |
|
Guillaume Ayoub
|
42e25e1e3c
|
Add a basic shrink to fit for tables
|
2012-03-23 19:31:54 +01:00 |
|
Guillaume Ayoub
|
82db8a421c
|
Fix the shirk to fit agorithm
|
2012-03-23 17:33:59 +01:00 |
|
Guillaume Ayoub
|
e8920cea3f
|
Don't shrink inline-blocks with multiple lines
|
2012-03-23 13:32:44 +01:00 |
|
Guillaume Ayoub
|
67e6cc5063
|
Include the margin/border/padding when translating inline-block boxes
|
2012-03-23 01:16:08 +01:00 |
|
Guillaume Ayoub
|
0c891965d2
|
Resolve margin_width when possible for preferred values
This fix sets the margin/border/padding values for inline-block children
|
2012-03-23 01:04:38 +01:00 |
|
Guillaume Ayoub
|
48c7005019
|
Fix the x and y position of the children of the inline-block boxes
|
2012-03-23 00:45:38 +01:00 |
|
Guillaume Ayoub
|
b5d1c3f7de
|
Handle fixed sizes in inline-block children
|
2012-03-22 23:52:32 +01:00 |
|