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

348 Commits

Author SHA1 Message Date
Simon Sapin
1e3e96a8bd Fix unnecessary line break in floats. 2013-04-22 17:26:41 +02:00
Simon Sapin
77f8894ced Add pixel tests for gradients. 2013-04-17 18:02:19 +02:00
Simon Sapin
1681891f55 Add radial gradient layout tests. 2013-04-16 16:22:14 +02:00
Simon Sapin
b6f6d348bd Add linear gradient layout tests. 2013-04-16 16:22:14 +02:00
Guillaume Ayoub
40bb737be9 Use real ex values for vertical-align: middle 2013-04-12 20:44:38 +02:00
Guillaume Ayoub
71da008408 Fix broken tests 2013-04-12 20:09:41 +02:00
Guillaume Ayoub
a2f8aada42 Fix 'white-space: nowrap' and add tests about this 2013-04-12 01:48:58 +02:00
Guillaume Ayoub
6082b3c8d6 Fix a test broken by 1d1bf9cd 2013-04-11 18:43:05 +02:00
Simon Sapin
50ddcf7015 Add parsing tests for gradients. 2013-04-11 16:06:28 +02:00
Simon Sapin
ef56b60ece Remove the scripts for runnig the W3C test suite.
Moved to https://github.com/Kozea/WeasySuite
2013-04-11 12:13:17 +02:00
Simon Sapin
1d1bf9cdc9 Flake8. 2013-04-11 12:08:53 +02:00
Simon Sapin
3ca71a6bed Gradients (still untested), handle pathological cases. 2013-04-11 10:39:47 +02:00
Guillaume Ayoub
3ee0e4f279 Fix tests 2013-04-09 18:41:25 +02:00
Guillaume Ayoub
9d90ff627f Don't draw empty lines with no forced line breaks 2013-04-08 19:09:56 +02:00
Simon Sapin
5965dc6bfd Merge remote-tracking branch 'origin/hyphenation'
Conflicts:
	weasyprint/text.py
2013-04-08 11:00:19 +02:00
Simon Sapin
9925fe45db Fix #71: crash when parsing nested functional notation. 2013-04-08 10:02:37 +02:00
Simon Sapin
d53f091b17 Prepare for multiple background-image types. 2013-04-05 12:23:29 +02:00
Simon Sapin
e4273872ac Convert angles to radians as soon as parsing. 2013-04-05 12:23:29 +02:00
Simon Sapin
6bcc6edc0f Clean up ex/ch, add a test. 2013-04-05 12:22:28 +02:00
Guillaume Ayoub
50ac168b94 Clean code and fix tests 2013-04-04 04:39:25 +02:00
Simon Sapin
171438f48e 2013 2013-04-03 16:23:48 +02:00
Simon Sapin
fd276f1c9c Fix #54: min/max-width/height on block-level images. 2013-04-02 12:41:52 +02:00
Simon Sapin
cef113c5a7 Add background-repeat: round 2013-03-30 23:43:19 +01:00
Simon Sapin
b5de53169c Add backgroun-repeat: space 2013-03-30 22:49:47 +01:00
Simon Sapin
8a28f0f08a Compat with cairocffi 0.4 / CFFI 0.6 2013-03-30 20:55:23 +01:00
Simon Sapin
a11ac81bdd Fix #53: crash when backtracking for break-before/after: avoid 2013-03-28 18:25:16 +01:00
Simon Sapin
60526fecd5 Allow page breaks between empty blocks. 2013-03-28 18:22:00 +01:00
Simon Sapin
c854feece9 Fix #21: Check for 'data' URL scheme case-insensitively. 2013-03-28 13:33:28 +01:00
Simon Sapin
86bc8b4978 Fix #66: Resolve images’ auto width from non-auto height and intrinsic ratio. 2013-03-28 12:44:28 +01:00
Simon Sapin
31d258ba84 Bug fix: use each layer’s own painting (clip) area 2013-03-26 14:07:44 +01:00
Simon Sapin
4265b4115a Add syntax for two keywords in background-repeat. 2013-03-26 12:04:00 +01:00
Simon Sapin
3d4c94acdc Prepare for L3 background-repeat. 2013-03-25 19:40:27 +01:00
Simon Sapin
055203cd97 Parse background-size in the background shorthand. 2013-03-25 19:05:04 +01:00
Simon Sapin
35b3c1ad8d Upgrade background-position to Level 3. 2013-03-25 18:59:18 +01:00
Simon Sapin
e4f68e2b27 Prepare background-position internals for Level 3 syntax. 2013-03-21 15:46:07 +01:00
Simon Sapin
c8bd3a3782 Allow percentages in background-size. 2013-03-21 12:53:53 +01:00
Simon Sapin
92b2045ed7 The background shorthands accepts values for -clip and -origin. 2013-03-20 16:19:26 +01:00
Simon Sapin
7a4faac087 Add background-attachement: local, same as scroll.
Since we have no scrolling mechanism,
local and scroll are treated the same.
2013-03-20 13:34:13 +01:00
Simon Sapin
1616e37259 Upgrade the background shorthand for multiple layers. 2013-03-20 13:19:48 +01:00
Simon Sapin
911ed43169 Add support for multiple backgrounds (except for the shorthand.) 2013-03-19 18:29:58 +01:00
Simon Sapin
408b7d6605 Fix #49: Division by 0 on dashed or dotted border smaller than one dot/dash. 2013-03-18 13:44:12 +01:00
Simon Sapin
4c04bcd1a9 Fix URL escaping of image references from CSS. 2013-03-18 12:09:57 +01:00
Guillaume Ayoub
163f9a04db Merge branch 'master' of github.com:Kozea/WeasyPrint 2013-03-13 13:50:29 +01:00
Guillaume Ayoub
4011792ee0 Don't remove spaces between inline blocks 2013-03-13 13:49:51 +01:00
Simon Sapin
89bd068990 Allow absolute URLs without a base URL. Fix #42. 2013-03-13 12:12:12 +01:00
Guillaume Ayoub
efc089aceb Add hyphenate-limit-chars 2013-03-02 04:41:32 +01:00
Guillaume Ayoub
10d917d1a2 Add hyphenate-limit-zone 2013-03-02 03:42:36 +01:00
Guillaume Ayoub
b5e1fafa5d Add hyphenate-character 2013-03-02 02:45:48 +01:00
Simon Sapin
c49f060c9f Add support for -weasy-hyphens: none, cache hyphenation dictionaries 2013-02-27 13:44:57 +01:00
Simon Sapin
b7ed4a906f Tweak hyphenation and add a micro-test. 2013-02-26 19:45:00 +01:00