1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 16:07:57 +03:00
Commit Graph

37 Commits

Author SHA1 Message Date
Guillaume Ayoub
122c5acff2 Merge two imports into one line 2011-11-05 00:36:31 +01:00
Simon Sapin
565da56d50 Silence the "No handlers could be found for logger" warning. 2011-10-18 11:19:26 +02:00
Simon Sapin
90993d67a4 Do not raise on syntax error in inline CSS. (style="..." attribute) 2011-10-17 13:05:25 +02:00
Simon Sapin
65728142d9 Optimize StyleDict access. 2011-10-08 16:48:54 +02:00
Simon Sapin
8a0f066ad2 Use _ instead of - for CSS property names everywhere. 2011-10-08 15:46:41 +02:00
Simon Sapin
fadb60c14f Use strings or numbers instead of lists of cssutils Value objects.
... where appropriate. This remove much of the need for functions like
get_single_keyword and get_single_pixel_value.
2011-10-08 14:41:12 +02:00
Simon Sapin
4e23fda34c Make TextFragment handle text and style, not a textbox.
Later we can slice the text we pass to it.
2011-09-30 12:23:00 +02:00
Simon Sapin
a44a9b23d2 Use a shorter HTML stylesheet to speed up tests. 2011-09-29 19:04:08 +02:00
Guillaume Ayoub
787ea4637d Use ' instead of " 2011-09-08 23:15:14 +02:00
Guillaume Ayoub
e4d5e4c5b9 Various cleanups 2011-09-02 12:03:37 +02:00
Guillaume Ayoub
01553b7d31 Typo fix in documentation 2011-08-24 11:50:23 +02:00
Guillaume Ayoub
d15ae270b2 Clean weasy/tests/test_css 2011-08-24 11:46:16 +02:00
Simon Sapin
0e61ad8b9d Do not validate the content property (not supported yet)
Also monkey-patch validation in tests that use it.
2011-08-23 16:54:01 +02:00
Simon Sapin
5f8cfac71f Rewrite computed values handling to dispatch by property, not by value type. 2011-08-18 15:44:45 +02:00
Simon Sapin
f6940496f1 Add support for data: URL scheme stylesheets. 2011-08-16 15:11:35 +02:00
Simon Sapin
82d790a6cd Implement validation, merged with shorthand properties expanding. 2011-08-16 02:47:01 +02:00
Simon Sapin
a9295a9fe2 Move 3 modules in weasy.css into a new weasy.css.properties module. 2011-08-15 14:19:33 +02:00
Simon Sapin
eff67ab1a7 Remove css parsing/serializing in StyleDict. 2011-08-11 17:26:08 +02:00
Simon Sapin
33a7fc46e2 Pyflakes cleanups. 2011-08-10 10:28:33 +02:00
Simon Sapin
c58840c9db Add support for currentColor 2011-08-08 11:58:36 +02:00
Simon Sapin
d4267cf191 Get rid of the Document.do_* methods. 2011-08-05 16:19:22 +02:00
Simon Sapin
b86a797155 Get rid of DummyPropertyValue, just use lists. 2011-07-22 15:10:23 +02:00
Simon Sapin
9fa954b3bd Make user and user-agent stylesheets attributes of Document objects. 2011-07-21 13:58:01 +02:00
Simon Sapin
69156d98af Have the document set its own attributes. 2011-07-21 13:47:42 +02:00
Simon Sapin
65b2b9640b Change weasy.css architecture to avoid rewriting stylesheets. 2011-07-21 12:42:29 +02:00
Simon Sapin
935b6e9b89 Put styles in a signle Document object instead of each lxml element. 2011-07-20 18:23:54 +02:00
Simon Sapin
7fa2206fe1 Add Document objects to hold ... well, everything. 2011-07-20 15:41:44 +02:00
Simon Sapin
680d0fc4af Upstream cssutils renamed absolute_uri to absoluteUri. 2011-07-13 18:28:42 +02:00
Simon Sapin
6594f8e9a1 Bug fix: expand shorthands in style attributes too. 2011-07-07 17:33:44 +02:00
Simon Sapin
f2ed585bea Handle @page CSS rules. 2011-07-01 18:08:24 +02:00
Simon Sapin
190c3b279c Move the weasy.boxes module to weasy.formatting_structure.boxes 2011-06-29 15:01:36 +02:00
Simon Sapin
8b1d0896ac Remove trailing whitespace. 2011-06-29 14:04:42 +02:00
Simon Sapin
e4716db0c7 Test that the default stylesheet is applied. 2011-05-19 14:57:41 +02:00
Simon Sapin
531c8ec669 Add a 'boxes' module. (Empty for now.) 2011-05-17 11:29:00 +02:00
Simon Sapin
3a3074c335 Allow attribute access on 'style' dicts. 2011-05-16 18:33:56 +02:00
Simon Sapin
8fd543134a Make DummyPropertyValue lists instead of using get_value. (And remove get_value) 2011-05-16 11:34:34 +02:00
Simon Sapin
4f3b1d90f3 Prefix test module names with 'test_', even if it’s redundant. 2011-05-16 10:32:58 +02:00