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

35 Commits

Author SHA1 Message Date
Simon Sapin
82d790a6cd Implement validation, merged with shorthand properties expanding. 2011-08-16 02:47:01 +02:00
Simon Sapin
eff67ab1a7 Remove css parsing/serializing in StyleDict. 2011-08-11 17:26:08 +02:00
Simon Sapin
33a7fc46e2 Pyflakes cleanups. 2011-08-10 10:28:33 +02:00
Salem Harrache
0849ee3897 Merge branch 'master' of gitorious.org:weasyprint/weasyprint
Conflicts:
	weasy/draw.py
	weasy/layout/__init__.py
	weasy/tests/test_web/runwebsite.py
2011-08-09 10:41:10 +02:00
Salem Harrache
9ad3608594 add drawing img (with display block) 2011-08-09 10:15:53 +02:00
Simon Sapin
2c9f34061c Fix percentage heights. (Except for absolute positioning) 2011-08-08 16:17:10 +02:00
Simon Sapin
d4267cf191 Get rid of the Document.do_* methods. 2011-08-05 16:19:22 +02:00
Salem Harrache
6029d01739 compute the linebox height, and add PDFDocument that allows to get a PDF from html 2011-08-01 18:28:05 +02:00
Salem Harrache
4e10b4533a compute real positions in linebox and fix bug in linebreaking functions 2011-07-29 14:07:27 +02:00
Salem Harrache
67232b38fb add PNGDocument class, a document that allows to render the html to png 2011-07-29 01:14:05 +02:00
Salem Harrache
4d53499369 add drawing textbox 2011-07-28 18:39:35 +02:00
Salem Harrache
1ada5b856b integrating inline formatting contex in building of boxes 2011-07-26 17:34:55 +02:00
Simon Sapin
587457ff0e Only count children in normal flow for block height. 2011-07-22 18:16:31 +02:00
Simon Sapin
6211521247 Implement page borders and padding in layout. 2011-07-22 15:36:49 +02:00
Salem Harrache
16f135e5bd Merge branch 'master' of gitorious.org:weasyprint/weasyprint
Conflicts:
	weasy/layout.py
2011-07-22 14:56:18 +02:00
Salem Harrache
238fb4436d add LineBoxFormatting class for breaking linebox 2011-07-21 18:34:43 +02:00
Simon Sapin
69156d98af Have the document set its own attributes. 2011-07-21 13:47:42 +02:00
Simon Sapin
0343b8fef3 Remove unused imports. 2011-07-21 13:31:42 +02:00
Simon Sapin
7fa2206fe1 Add Document objects to hold ... well, everything. 2011-07-20 15:41:44 +02:00
Simon Sapin
f36692e6c9 Remove unused imports. 2011-07-19 11:38:54 +02:00
Salem Harrache
d76eec4452 add tests for inline formating context 2011-07-18 18:25:34 +02:00
Salem Harrache
3907b5730d remove gtk from dependencies 2011-07-18 10:38:56 +02:00
Salem Harrache
ce380f9a41 correction of errors in the breaking linebox algorithm 2011-07-15 18:07:49 +02:00
Simon Sapin
680d0fc4af Upstream cssutils renamed absolute_uri to absoluteUri. 2011-07-13 18:28:42 +02:00
Salem Harrache
fe5b269200 the breaking linebox functionality works now, but only with textbox children 2011-07-13 18:26:39 +02:00
Simon Sapin
f8793cd818 Add absolute position on blocks. 2011-07-12 17:09:41 +02:00
Simon Sapin
76180c01b3 Code cleanup. 2011-07-12 15:12:08 +02:00
Simon Sapin
f3855addd8 Basics for 'height: auto' on blocks. 2011-07-12 13:50:54 +02:00
Simon Sapin
52a727ca44 Implement the size property in @page 2011-07-11 15:03:06 +02:00
Simon Sapin
76571e264f Page boxes have no children; dont create them in formatting_structure.build 2011-07-11 12:47:00 +02:00
Simon Sapin
29558ad608 Test more cases. 2011-07-08 18:08:11 +02:00
Simon Sapin
b03d866be4 Handle width and margins for block-level in-flow boxes. 2011-07-07 17:33:44 +02:00
Simon Sapin
68d705c0fa The page box "is" the page area. 2011-07-05 17:40:37 +02:00
Simon Sapin
a0bc9459b3 Handle page margins and page area. 2011-07-05 15:02:18 +02:00
Simon Sapin
36a62d7174 Add the framework for layout computations. 2011-06-29 22:43:18 +02:00