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

37 Commits

Author SHA1 Message Date
Simon Sapin
09ff532828 The Document is back! (But different.) 2012-10-02 18:59:02 +02:00
Simon Sapin
f33c91742d Get rid of the Document class (finally!) 2012-09-25 16:37:18 +02:00
Simon Sapin
4abf401f9e Simplify Document and remove magic properties. 2012-08-03 13:00:14 +02:00
Simon Sapin
30a5708373 Kill Document in formatting_structure/build.py and html.py 2012-07-12 15:54:22 +02:00
Simon Sapin
d038708b8b Kill Document in css/__init__.py 2012-07-12 15:21:37 +02:00
Simon Sapin
1deb3c3b43 Add border conflict resolution for border-collapse
(No layout or painting yet.)
2012-07-11 14:11:26 +02:00
Simon Sapin
279386b850 Unprefix paged media, transforms, and SVG properties
The image-rendering, transform, transform-origin and size
properties are now unprefixed.

The prefixed form (eg. -weasy-size) is ignored but gives
a specific warning.
2012-07-04 11:27:20 +02:00
Simon Sapin
b89926284a Fix the Variable Dimension rules, add tests.
This implements the updated algorithm described in
https://github.com/SimonSapin/css/blob/81b5d93d0d/margin-boxes-variable-dimension
2012-07-02 18:15:57 +02:00
Simon Sapin
f0b04a8e37 Merge branch 'master' into float 2012-06-28 13:30:23 +02:00
Simon Sapin
f65619f452 Fix whitespace collapsing across not-in-normal-flow boxes. 2012-06-28 13:29:12 +02:00
Guillaume Ayoub
ab5ecd8346 Fix some tests 2012-06-22 11:40:15 +02:00
Simon Sapin
f7d765e0c1 Bug fixes and tests on floats… 2012-06-15 17:59:15 +02:00
Guillaume Ayoub
6cbdab0799 Fix various tests, remove monkeypatch validation 2012-06-06 12:52:02 +02:00
Guillaume Ayoub
95a74c2abb Merge branch 'master' into float 2012-06-02 13:57:18 +02:00
Simon Sapin
5dde5d47e5 Handle degerate rowspan values.
Previously, such values crashed the layout.
2012-06-02 09:02:24 +02:00
Simon Sapin
81a63a8ca7 Merge branch 'master' into float
Conflicts:
	weasyprint/layout/pages.py
	weasyprint/layout/preferred.py
2012-06-02 08:35:17 +02:00
Simon Sapin
2179957e4a Fix lines vs. anonymous blocks in precence of floats. 2012-06-01 17:08:54 +02:00
Simon Sapin
a30996c30a Fix counter-increment interference with display: list-item 2012-06-01 09:56:19 +02:00
Guillaume Ayoub
d4ccf3db63 Remove monkey patches about float 2012-05-30 03:36:37 +02:00
Guillaume Ayoub
35363cefee Add a test about counter scopes 2012-05-29 17:56:46 +02:00
Simon Sapin
647b2c965b Warn for relative URI references without a base URI. 2012-05-24 16:06:58 +02:00
Guillaume Ayoub
2ea63210bf Add a list of absolute elements 2012-05-09 19:01:32 +02:00
Guillaume Ayoub
994e6a933a Handle not-in-flow elements in inline boxes 2012-05-09 17:08:23 +02:00
Guillaume Ayoub
d9056d9a4f Remove a useless monkey patch in tests about inline blocks 2012-05-09 17:08:23 +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
46b1d225c7 Tests n’ fixes. Lots of them. 2012-04-03 11:34:29 +02:00
Simon Sapin
96feb96574 Switch from cssutils to tinycss as the CSS parser 2012-03-24 21:32:15 +01:00
Simon Sapin
dcacf9eed0 Switch the licence to BSD and rewrite module docstrings/headers 2012-03-21 23:26:58 +01:00
Simon Sapin
26de362b99 Add proper attribution in AUTHORS 2012-03-21 18:40:38 +01:00
Simon Sapin
9875f76995 Hello 2012 2012-03-21 18:40:38 +01:00
Simon Sapin
f0e79cf99a Cleanups 2012-02-23 19:31:15 +01:00
Simon Sapin
0ef3b35e90 Actual python 2.6 compatibility 2012-02-21 14:13:34 +01:00
Simon Sapin
dc5360e130 Python 2.6 compat, fix tox.ini 2012-02-20 15:36:55 +01:00
Simon Sapin
4bf9b2dce7 Switch to pytest 2012-02-20 13:04:35 +01:00
Simon Sapin
ff135aa285 Python 3 compat. All tests pass with the same code base! 2012-02-17 22:48:20 +01:00
Simon Sapin
9cd1ac746d *Break the API*
The new API should be easier to use. Only what is directly
in the 'weasyprint' module (not in a sub-module) is public.
2012-02-15 18:49:37 +01:00
Simon Sapin
cf52aa3aaf Move the whole 'weasy' package to 'weasyprint' 2012-02-14 12:49:33 +01:00