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

326 Commits

Author SHA1 Message Date
Guillaume Ayoub
b2688808a1 Fix flake8 again 2015-11-20 23:46:47 +01:00
Guillaume Ayoub
a310c61353 Fix a stupid flake8 error 2015-11-20 23:39:10 +01:00
Guillaume Ayoub
2d7f68e8a1 Use the same simple code for bookmark-labels and string-sets 2015-05-01 21:14:10 +02:00
Guillaume Ayoub
17abfbd1c9 Fix some comments 2015-05-01 00:12:43 +02:00
Guillaume Ayoub
f78eb3763e Use the <content-list> defined in GCPM for string-set and bookmark-label
In this content-list, here are the possibilities:
- string: implemented
- counter/counters: not implemented, but easily possible
- content: implemented (but what's exactly the "string value of an element"?)
- attr: not implemented (I don't know how to do this)
2015-04-30 21:54:19 +02:00
Guillaume Ayoub
790af1481a Merge pull request #246 from E-M-P-I-R-E/master
Support for named strings in margin-boxes
2015-04-30 10:30:23 +02:00
Guillaume Ayoub
6e82d6563e Merge branch 'master' of github.com:Kozea/WeasyPrint 2015-04-25 17:51:17 +02:00
Guillaume Ayoub
4ed0c3c987 Test vertical-align property in tables (fix #31) 2015-04-25 17:48:08 +02:00
Guillaume Ayoub
f4f8c252a7 Honor vertical-align for fixed-height cells (related to #31) 2015-04-25 15:16:47 +02:00
Mike Z. Salem
abb560a762 PEP8/flake8 compliance 2015-03-21 00:50:22 -04:00
Mike Z. Salem
6e48c2e878 Set string-set default to 'none', altered validation & resolution [do nothing in that case]
Added validation to the second argument to `string()`
More info./discussion here: https://github.com/Kozea/WeasyPrint/pull/246#issuecomment-83994925
2015-03-21 00:08:12 -04:00
Mike Z. Salem
7db9be4005 Remove support of string set using psuedo elements. Was unsure of the change to the function in build.TEXT_CONTENT_EXTRACTORS. That would be part of the text anyways.
Combined test functions to conform to coding style of other tests.
2015-03-19 23:03:57 -04:00
Mike Z. Salem
8ef012fca8 Bug fix for string-set validation not accepting no argument (default should be 'text')
Alter TEXT_CONTENT_EXTRACTORS so that string-set can use ::before/::after
 - Don't allow empty string to be assigned to string set (happends with psuedo elements)
Added some documentation to explain string function resolution
2015-03-18 22:46:51 -04:00
Mike Z. Salem
bc51dec015 Basic support for named strings. String-set limited to one value. 2015-03-08 23:02:51 -04:00
Guillaume Ayoub
9b38823b94 radiii -> radii 2015-01-29 12:23:43 +01:00
Simon Sapin
1e4a6ea0d7 Merge pull request #201 from jdus/page-break-after-avoid
Page break after avoid
2014-06-19 14:26:59 +02:00
Johannes Duschl
5f11c23415 Eventually fixed code convention violations 2014-06-04 10:15:54 +02:00
Johannes Duschl
be2b94ce30 Use block_level_page_break to check for dedicated page breaks 2014-05-28 11:19:41 +02:00
Johannes Duschl
324255ba59 Removed blank line 2014-05-27 17:24:42 +02:00
Johannes Duschl
35f0050624 Respect page-break-after: avoid of previous elements when pushing floats to the next page 2014-05-27 17:22:31 +02:00
Simon Sapin
5c2b72ced5 Use the default image sizing algorithm for its preferred size. Fix #196
For image with an intrisic ration and auto specified width
but definite specified height, the intrisic/preferred width
(like the used size) should be based on the specified height
and intrinsic ratio.
2014-05-23 13:50:39 +01:00
Simon Sapin
43d1e73e65 Fix code formatting. (Clean flake8!) 2014-04-27 12:29:55 +01:00
elpaso
0efde08b49 Added test case for floated images taller than the page. Added myself to AUTHORS. 2014-04-27 09:48:46 +02:00
elpaso
52a6433377 Added test & patch for floating images page break 2014-04-17 14:02:04 +02:00
Guillaume Ayoub
d07cb2261f Don't crash when table with implicit width has column widths with percentages (fix #169) 2014-02-16 19:41:41 +01:00
Simon Sapin
c34221d215 2014. 2014-01-10 14:27:02 +00:00
Johannes Duschl
21be3d968a When determining the table_cell width, table.width needs also be checked whether it equals 'auto'. 2014-01-07 17:25:37 +00:00
Simon Sapin
637a4933c2 Add 'image-resolution' from css-images-3.
This is the only way to use high-resolution images in the 'content' property,
where individual images can not be selected to use the 'width' or 'height'
properties.
2013-12-31 15:31:35 +01:00
Guillaume Ayoub
e943741d02 Don't crash when relative boxes have absolute children (fix #118) 2013-12-30 14:43:41 +01:00
Guillaume Ayoub
3187fd8215 Don't forget left and right properties when solving absolute replaced elements position (fix #30) 2013-12-27 18:35:04 +01:00
Guillaume Ayoub
3402a4fc3b Don't cash on trailing spaces with font-size: 0 (fix #100) 2013-12-27 16:01:07 +01:00
Guillaume Ayoub
d7e51a917a Fix mix-width and max-width for floats (fix #26) 2013-12-27 15:39:05 +01:00
Guillaume Ayoub
6b5b052822 Fix comment 2013-12-14 14:03:45 +01:00
Pierre-Alain Mignot
b64ebab515 tries to fix a bad splitting value from pango ? 2013-12-14 14:03:13 +01:00
Guillaume Ayoub
b850d613fe Add TODOs 2013-12-10 13:33:17 +01:00
Guillaume Ayoub
e7687785fd Fix background-clip for rounded corners (see #80) 2013-12-10 13:17:18 +01:00
Guillaume Ayoub
d4493e5707 Merge branch 'master' into border3 2013-12-10 11:02:36 +01:00
Clément Plasse
29da3b4c3c Merge branch 'master' of https://github.com/Kozea/WeasyPrint 2013-12-06 11:16:35 +01:00
Guillaume Ayoub
d56c799c73 Merge branch 'master' into border3 2013-09-17 13:08:31 +02:00
Florian Mounier
e3d7bad55b Be careful logging.warn is deprecated 2013-08-19 14:38:09 +02:00
Guillaume Ayoub
3e3accd619 Merge branch 'master' into border3 2013-08-14 12:50:32 +02:00
Clément Plasse
c2cb5b093b Fix row assigned height when it's not 'auto' 2013-08-07 09:38:54 +02:00
Guillaume Ayoub
fd5cbad513 Handle percentages for column groups 2013-08-03 16:35:19 +02:00
Guillaume Ayoub
5b4b67e67f Handle (some) percentages for table columns and cells 2013-08-02 18:58:56 +02:00
Guillaume Ayoub
3256eebad1 Use better names for variables and methods about rounded boxes 2013-06-06 16:21:56 +02:00
Guillaume Ayoub
f0b8b755bd Draw solid and double borders 2013-06-06 15:58:00 +02:00
Guillaume Ayoub
0345af4d3d First commit about border-radius, works for the background 2013-06-05 18:56:57 +02:00
Le-Stagiaire
505be3c99c Fix background-size: cover/contain for image ratio ≠ 1 2013-05-02 19:46:36 +03:00
Guillaume Ayoub
3a620db567 Fix trailing whitespaces in preferred widths 2013-04-26 15:42:15 +02:00
Simon Sapin
1533b9c2d4 Fix margin collapsing with tables.
The position of page breaks between table rows did not consider margin
collapsing.
2013-04-26 15:02:27 +02:00