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

173 Commits

Author SHA1 Message Date
Guillaume Ayoub
c163f8e8eb Merge remote-tracking branch 'origin/master' into float
Conflicts:
	weasyprint/document.py
	weasyprint/tests/w3_test_suite/web.py
2012-06-21 15:28:22 +02:00
Simon Sapin
a10e691d4d Nicer test runner for the W3C suite
* Show each page separately with a box-shadow
* Add line numbers to the source view
2012-06-21 12:04:43 +02:00
Guillaume Ayoub
7cc8be2f90 Merge branch 'master' into float
Conflicts:
	weasyprint/layout/blocks.py
2012-06-20 13:47:28 +02:00
Simon Sapin
d4399ee269 Add support for page-break-{before,after}: avoid 2012-06-20 12:53:22 +02:00
Guillaume Ayoub
36a6b6b6f3 Pass the fixed_boxes argument instead of using current_page
Cherry-picked from 043d71dc29

Conflicts:
	weasyprint/layout/absolute.py
	weasyprint/layout/blocks.py
	weasyprint/layout/float.py
	weasyprint/layout/inlines.py
2012-06-19 18:00:50 +02:00
Guillaume Ayoub
d71ad36580 Merge branch 'master' into float 2012-06-19 14:53:40 +02:00
Simon Sapin
f7d765e0c1 Bug fixes and tests on floats… 2012-06-15 17:59:15 +02:00
Simon Sapin
0485e8e777 Add some tests for float 2012-06-15 15:22:17 +02:00
Simon Sapin
8b38b39fa2 Add a favicon for the Browser. (Clients keep requesting it…) 2012-06-15 11:58:13 +02:00
Simon Sapin
8497a7fc90 Fix the tests on PDF links 2012-06-14 22:06:30 +02:00
Simon Sapin
2c445b75b9 'text-align: top' is implemented, remove a hack for Acid 2. 2012-06-08 18:50:20 +02:00
Simon Sapin
2c0abe1483 Merge branch 'master' into float 2012-06-08 18:49:27 +02:00
Simon Sapin
26b4f57292 Implement vertical-align: top/bottom. 2012-06-08 18:49:10 +02:00
Simon Sapin
09895757ca Now passing Acid 2! 2012-06-08 17:17:19 +02:00
Simon Sapin
fd6c5451e0 Merge branch 'master' into float 2012-06-08 17:16:31 +02:00
Guillaume Ayoub
85df2ebe47 Fix the struts and heights of line/inline boxes. (For real this time. Maybe.) 2012-06-08 17:13:45 +02:00
Guillaume Ayoub
9b3e66ccbe Ignore tests with dom or interact flag 2012-06-06 15:01:42 +02:00
Guillaume Ayoub
6cbdab0799 Fix various tests, remove monkeypatch validation 2012-06-06 12:52:02 +02:00
Simon Sapin
d4409e8f46 Add the Acid2 test (marked as expected failure). 2012-06-05 13:52:57 +02:00
Guillaume Ayoub
9e30396036 Merge branch 'master' into float 2012-06-04 19:34:01 +02:00
Simon Sapin
cad7d5604c Fix tests for the "strut" change on containing blocks. 2012-06-04 18:51:50 +02:00
Guillaume Ayoub
3684c8ed0d Merge branch 'master' into float 2012-06-04 16:09:10 +02:00
Guillaume Ayoub
aac60c9aee Merge branch 'master' into float
Conflicts:
	weasyprint/stacking.py
2012-06-04 16:06:25 +02:00
Simon Sapin
cfda2f1e20 Fix the painting order of inline-blocks. 2012-06-04 15:09:59 +02:00
Simon Sapin
74cfe8625b Fix painting order of nested stacking contexts. 2012-06-04 12:49:10 +02:00
Simon Sapin
434f510d94 Stacking contexts: dispatch the box itself, not just its children. 2012-06-04 10:46:24 +02:00
Simon Sapin
a8efed1bf1 Do not crash on SVG images without an intrinsic size. 2012-06-04 09:02:47 +02:00
Guillaume Ayoub
95a74c2abb Merge branch 'master' into float 2012-06-02 13:57:18 +02:00
Simon Sapin
86bb8eede8 Fix margin boxes positionning. 2012-06-02 13:04:33 +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
4c5a1a1e2a Fix absolute tables. 2012-06-02 08:45:39 +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
3cd540eaa9 Fix shrink-to-fit in PNG: have the same hinting as in layout. 2012-06-02 08:28:41 +02:00
Simon Sapin
972045c63f Accept both unicode and bytes filenames. 2012-06-02 08:04:24 +02:00
Simon Sapin
1bb70b09c8 Fix the test runner. 2012-06-01 20:05:18 +02:00
Simon Sapin
95e0ad2707 Warn instead of crash on missing on #foo without id="foo" 2012-06-01 18:32:43 +02:00
Simon Sapin
2179957e4a Fix lines vs. anonymous blocks in precence of floats. 2012-06-01 17:08:54 +02:00
Simon Sapin
41d3cd3287 Fix percentage max-height without a containing block height. 2012-06-01 10:47:29 +02:00
Simon Sapin
491299f668 Content-empty pages need layout and margin boxes too. 2012-06-01 10:30:06 +02:00
Simon Sapin
f890c3ecb0 Fix zero-width / zero-height images. 2012-06-01 10:02:48 +02:00
Simon Sapin
a30996c30a Fix counter-increment interference with display: list-item 2012-06-01 09:56:19 +02:00
Simon Sapin
a1ebd260e7 Pango also breaks on U+2029. 2012-06-01 09:45:13 +02:00
Simon Sapin
6b3837f2f9 Fix corner cases in table auto layout. 2012-06-01 09:29:28 +02:00
Guillaume Ayoub
2f697b47fd Merge branch 'master' into float 2012-05-31 21:11:08 +02:00
Simon Sapin
60625282f1 Add a script to run all W3C tests and check for exceptions. 2012-05-31 20:10:04 +02:00
Simon Sapin
ffd03a578b Merge branch 'master' into float 2012-05-31 17:56:31 +02:00
Simon Sapin
40af5c156c Test and fix (a little) stacking contexts. 2012-05-31 17:54:43 +02:00
Simon Sapin
4f4c99e35c Remove unused imports. 2012-05-31 14:41:01 +02:00
Simon Sapin
ba2481b075 Fix internal and relative URIs without a base URI in CSS. 2012-05-30 20:21:36 +02:00
Simon Sapin
740160df00 Allow internal links without a base URI
... only for links in HTML attributes: <a href="#foo">

TODO: same for links in CSS: -weasy-link: url(#foo)
2012-05-30 20:06:44 +02:00