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

84 Commits

Author SHA1 Message Date
Guillaume Ayoub
0345af4d3d First commit about border-radius, works for the background 2013-06-05 18:56:57 +02:00
Guillaume Ayoub
f2e9fbb95e Make counter names case-sensitive 2013-05-10 12:13:21 +02:00
Simon Sapin
50ddcf7015 Add parsing tests for gradients. 2013-04-11 16:06:28 +02:00
Simon Sapin
e92c6e8c69 Fix a bug introduced by "whitespace only" changes :) 2013-04-11 12:51:24 +02:00
Simon Sapin
1d1bf9cdc9 Flake8. 2013-04-11 12:08:53 +02:00
Simon Sapin
dd8952adc6 Add radial gradients. 2013-04-11 10:39:47 +02:00
Guillaume Ayoub
8e6df93709 Don't allow 'hidden' value for 'outline-style' property 2013-04-10 19:18:46 +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
3f79655940 Add untest support for linear gradients. 2013-04-05 12:23:29 +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
Guillaume Ayoub
9f18ce63c3 Handle ex and ch units 2013-04-04 02:38:39 +02:00
Simon Sapin
171438f48e 2013 2013-04-03 16:23:48 +02:00
Simon Sapin
2dfc39ccc6 Negative font-size is invalid. 2013-04-02 18:32:15 +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
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
4c04bcd1a9 Fix URL escaping of image references from CSS. 2013-03-18 12:09:57 +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
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