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

63 Commits

Author SHA1 Message Date
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
4c04bcd1a9 Fix URL escaping of image references from CSS. 2013-03-18 12:09:57 +01:00
Simon Sapin
c49f060c9f Add support for -weasy-hyphens: none, cache hyphenation dictionaries 2013-02-27 13:44:57 +01:00
Simon Sapin
43489dec07 Merge branch 'master' into hyphenation
Conflicts:
	weasyprint/text.py
2013-02-26 18:16:59 +01:00
Simon Sapin
9b7c681d27 cairocffi is released, remove the tarball from tox.ini 2013-02-25 14:53:30 +01:00
Guillaume Ayoub
667f1d905b Quick and dirty lang detection for hyphenation 2012-12-09 00:41:12 +01:00
Guillaume Ayoub
fbc2e33b01 Add the -weasy-hyphens CSS property 2012-12-08 22:50:08 +01:00
Simon Sapin
c2b2b8c2ea Escape non-ASCII characters in hyperlinks. 2012-10-04 19:12:34 +02:00
Simon Sapin
39b553fae7 Add support for font-stretch, fix #7
The value is passed to Pango as-is. It may have no effect if
(for example) the chosen font has no expanded variant.
2012-08-17 17:37:33 +02:00
Simon Sapin
ba8a55d5c0 Add support for outlines. 2012-08-03 16:22:32 +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
694863ed62 Fix crashes.
* Some fixed boxes did not have any layout
* Validator for the 'float' property masked the builtin,
  float('inf') returned None.
2012-06-29 17:13:10 +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
Simon Sapin
ffd03a578b Merge branch 'master' into float 2012-05-31 17:56:31 +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
Guillaume Ayoub
44adb875e3 Add basic management of float elements 2012-05-29 18:51:40 +02:00
Simon Sapin
1154f47a53 Fix -weasy-link: attr(...) with a non-existing attribute. 2012-05-23 15:13:57 +02:00
Guillaume Ayoub
f978dd6963 Add untested support for position: fixed 2012-05-23 11:30:52 +02:00
Guillaume Ayoub
111932edf5 Add first-level bookmarks, use floats for XY positions, fix little things 2012-05-15 19:29:54 +02:00
Guillaume Ayoub
22635c0c71 Initial support of internal links 2012-05-14 19:40:38 +02:00
Guillaume Ayoub
9ea53bf466 Add initial support of external hyperlinks 2012-05-14 18:31:51 +02:00
Guillaume Ayoub
f1da53a32a Fix the z-index 2012-05-11 16:07:14 +02:00
Guillaume Ayoub
2ea63210bf Add a list of absolute elements 2012-05-09 19:01:32 +02:00
Guillaume Ayoub
fcf7d1ff2c Add untested support of relative 2012-05-09 13:15:13 +02:00
Simon Sapin
0e66f6a72f Merge branch 'shrinktofit' 2012-04-10 11:11:57 +02:00
Simon Sapin
79675f58b0 Implement min-height and max-height on blocks 2012-04-06 16:42:06 +02:00
Simon Sapin
cde28023d6 Implement min-width and max-width on blocks. 2012-04-06 16:19:16 +02:00
Simon Sapin
9ff7b99b30 Fix box-sizing 2012-04-06 15:56:36 +02:00
Simon Sapin
e420cb002b Allow percentage paddings 2012-04-06 15:43:05 +02:00
Simon Sapin
fd162e2825 Merge branch 'master' into shrinktofit 2012-04-05 16:32:36 +02:00
Simon Sapin
f6b202fa5f tinycss changes + a few more tests 2012-04-05 16:31:32 +02:00
Simon Sapin
61bf188290 Merge branch 'master' into shrinktofit
Conflicts:
	weasyprint/layout/blocks.py
	weasyprint/layout/inlines.py
2012-04-05 12:38:42 +02:00
Simon Sapin
34612cc4fb Simplify the handling of 'auto' lengths. 2012-04-05 11:21:26 +02:00
Simon Sapin
73b0bd6281 Disallow _ instead of - in property names. 2012-04-04 15:07:39 +02:00
Simon Sapin
1633fec47c Add some tests for validation. 2012-04-03 19:37:13 +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
d785f4e46d Rename value(s) to token(s) in validation. 2012-04-03 12:45:29 +02:00
Simon Sapin
46b1d225c7 Tests n’ fixes. Lots of them. 2012-04-03 11:34:29 +02:00
Simon Sapin
ad3cdf5dae tinycss again 2012-03-31 18:22:55 +02:00