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

1073 Commits

Author SHA1 Message Date
Guillaume Ayoub
39e503858d Fix margin collapsing with clearance 2012-06-05 17:14:33 +02:00
Simon Sapin
d4409e8f46 Add the Acid2 test (marked as expected failure). 2012-06-05 13:52:57 +02:00
Simon Sapin
182f1883c9 Disable anti-aliasing on background-color
Prefer crisp edges for the rectangle. I think this only
affects the PNG output, not PDF.
2012-06-05 11:27:51 +02:00
Simon Sapin
1624335b40 Remove useless "computed values" functions. 2012-06-05 10:33:19 +02:00
Guillaume Ayoub
9e30396036 Merge branch 'master' into float 2012-06-04 19:34:01 +02:00
Guillaume Ayoub
505ee8de26 Handle the mix/max-widths/heights for absolute and float 2012-06-04 19:22:18 +02:00
Simon Sapin
4ec6757077 Tag v0.9 2012-06-04 18:57:50 +02:00
Simon Sapin
da669da8c9 Changelog for 0.9 2012-06-04 18:57:44 +02:00
Simon Sapin
cad7d5604c Fix tests for the "strut" change on containing blocks. 2012-06-04 18:51:50 +02:00
Simon Sapin
53a05b2aa7 Fix the fix on inline-block painting. 2012-06-04 18:49:13 +02:00
Guillaume Ayoub
5cab59c483 Merge branch 'master' into float 2012-06-04 17:51:26 +02:00
Guillaume Ayoub
c3b2f2f440 Draw the replaced elements into the content box (not padding box) 2012-06-04 17:42:58 +02:00
Guillaume Ayoub
309264a517 Merge branch 'master' into float 2012-06-04 16:37:20 +02:00
Guillaume Ayoub
71fc11ea97 Draw the borders of inline 2012-06-04 16:36:55 +02:00
Guillaume Ayoub
3684c8ed0d Merge branch 'master' into float 2012-06-04 16:09:10 +02:00
Guillaume Ayoub
9836f66d33 Account for the "strut" on block containers.
http://www.w3.org/TR/CSS21/visudet.html#line-height
2012-06-04 16:07:39 +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
10eabe5e18 Insert the absolute boxes before their own children 2012-06-04 01:54:51 +02:00
Guillaume Ayoub
95a74c2abb Merge branch 'master' into float 2012-06-02 13:57:18 +02:00
Guillaume Ayoub
b732ba09d4 Merge branch 'float' of github.com:Kozea/WeasyPrint into float
Conflicts:
	weasyprint/layout/pages.py
2012-06-02 13:56:49 +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
b1361612c6 Fix floating tables. 2012-06-02 08:46:11 +02:00
Simon Sapin
4c5a1a1e2a Fix absolute tables. 2012-06-02 08:45:39 +02:00
Simon Sapin
592caf55e0 Fix calls to preferred after merging the hinting fix.
Conflicts:
	weasyprint/layout/pages.py
	weasyprint/layout/preferred.py
2012-06-02 08:36:56 +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
1f6ba609ba Bind to sys.stdin/stdout later. 2012-06-02 06:28:44 +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
Guillaume Ayoub
a84d4af491 Merge branch 'master' into float
Conflicts:
	weasyprint/layout/pages.py
2012-06-01 16:08:03 +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
c00881790c Increase the auto height of block formatting context roots 2012-05-31 22:33:28 +02:00
Guillaume Ayoub
2f697b47fd Merge branch 'master' into float 2012-05-31 21:11:08 +02:00
Guillaume Ayoub
d3ea76ffbf Keep float elements to get preferred widths 2012-05-31 21:05:10 +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
Guillaume Ayoub
afd1ce9c85 Create a new block formatting context for non-block block containers 2012-05-31 20:03:10 +02:00
Guillaume Ayoub
0ce3237518 Create a block formatting context for absolute elements 2012-05-31 19:55:43 +02:00
Guillaume Ayoub
8eead6332b Don't add the floats in the excluded shapes twice 2012-05-31 19:55:29 +02:00