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

2092 Commits

Author SHA1 Message Date
Guillaume Ayoub
47ec97bcaf Remove useless explicit object inheritance 2020-01-02 12:06:58 +01:00
Guillaume Ayoub
5f28f83f36 Fix and clean some tests 2020-01-02 00:43:06 +01:00
Guillaume Ayoub
56ab08a455 Remove useless import 2020-01-02 00:03:43 +01:00
Guillaume Ayoub
6e3b35af2a Remove useless parse_email function 2020-01-01 23:56:56 +01:00
Guillaume Ayoub
79f2935917 Add more tests and warning messages 2019-12-30 23:37:58 +01:00
Guillaume Ayoub
eff6bf51b0 Fix tests 2019-12-30 22:46:13 +01:00
Guillaume Ayoub
a0526ceb1c Minor fixes about counters 2019-12-30 22:33:29 +01:00
Guillaume Ayoub
6bc6c21fd9 Ingore wrong values for negative descriptor 2019-12-30 21:41:29 +01:00
Guillaume Ayoub
aed8b09543 Fix extended counters 2019-12-30 18:04:23 +01:00
Guillaume Ayoub
e3c03ab70b Fix unknown counter 2019-12-30 13:05:03 +01:00
Guillaume Ayoub
473443c5eb Support string for list-style-type 2019-12-30 13:03:04 +01:00
Guillaume Ayoub
3aecd0d500 Test counters 2019-12-30 10:28:34 +01:00
Guillaume Ayoub
64b34a77ac Add failing test 2019-12-30 01:01:58 +01:00
Guillaume Ayoub
a8c67e52cf Support symbols() notation for list-style-position 2019-12-30 00:45:34 +01:00
Guillaume Ayoub
e362be6513 Fix symbolic counters 2019-12-30 00:43:06 +01:00
Guillaume Ayoub
bb4b2d45e6 Update documentation for counters 2019-12-27 15:26:15 +01:00
Guillaume Ayoub
4ecc0f8310 Prevent circular fallbacks for counters 2019-12-27 14:55:50 +01:00
Guillaume Ayoub
c245c29bfe Discard additive-symbol rules with non strictly descending weights 2019-12-27 14:45:05 +01:00
Guillaume Ayoub
96bfd5c38a Fix operator 2019-12-27 14:38:06 +01:00
Guillaume Ayoub
fe3cbffacc Fix value attribute for li tags 2019-12-27 14:37:02 +01:00
Guillaume Ayoub
429f979438 Fix tests 2019-12-27 14:14:47 +01:00
Guillaume Ayoub
2e49be962d Fix various tests data 2019-12-27 11:53:29 +01:00
Guillaume Ayoub
a46ac53f08 Move counter tests to a dedicated file 2019-12-27 11:53:10 +01:00
Guillaume Ayoub
89b31be485 Use a CounterStyle type for UA counter styles 2019-12-27 11:52:44 +01:00
Guillaume Ayoub
65a5cb6e11 Reject "none" as counter name 2019-12-27 11:52:24 +01:00
Guillaume Ayoub
932a75ec6e Implement copy for counter styles 2019-12-27 11:52:07 +01:00
Guillaume Ayoub
a7e46d937d Fix counter padding 2019-12-27 11:51:54 +01:00
Guillaume Ayoub
ce55b50802 Lint 2019-12-27 02:22:59 +01:00
Guillaume Ayoub
c35b7070a9 Fix font-face’s src descriptor 2019-12-27 02:22:21 +01:00
Guillaume Ayoub
0a65f0d40b Handle most of the counter-style use cases 2019-12-27 02:14:24 +01:00
Guillaume Ayoub
c8f041f32c Handle more counter types 2019-12-24 16:42:12 +01:00
Guillaume Ayoub
2da6ff3909 Add default counter class 2019-12-24 15:56:24 +01:00
Guillaume Ayoub
a036fe8f4b Remove counters.py 2019-12-24 15:18:10 +01:00
Guillaume Ayoub
73244891f4 Add base code for @counter-style rules 2019-12-24 14:39:40 +01:00
Guillaume Ayoub
d08c8b4a27 Add test for box margin after repagination
Related to #943.
2019-12-24 11:54:46 +01:00
Guillaume Ayoub
c02e5c2f78 Remove underscore from _remove_decoration 2019-12-23 23:13:05 +01:00
Guillaume Ayoub
5a8c81eea2 Merge branch 'master' into fix_943 2019-12-23 22:01:58 +01:00
Guillaume Ayoub
2d9a91ad38 Version 51 2019-12-23 17:41:50 +01:00
Guillaume Ayoub
94c5cf9f75 Fix box creation for first-letter selectors
Related to 3d4f18b
2019-12-23 15:49:08 +01:00
Guillaume Ayoub
4865b97a22 Remove useless super() arguments 2019-12-23 15:34:49 +01:00
Guillaume Ayoub
b556091271 Add test for running elements with different display values 2019-12-22 22:29:25 +01:00
Guillaume Ayoub
da9a5648d5 Don’t test start value for running elements 2019-12-22 22:20:24 +01:00
Guillaume Ayoub
df4bc64981 Add tests for running elements 2019-12-22 19:03:24 +01:00
Guillaume Ayoub
14a8a2bb9e Fix first-except value for element() and string()
On pages where the string was defined, the returned value was the entry value
instead of being the empty string. It doesn’t change anything on pages where
the value is defined for the first time, but it was different otherwise.
2019-12-22 17:45:25 +01:00
Guillaume Ayoub
916e34f637 Handle the second argument of element() 2019-12-22 15:52:48 +01:00
Guillaume Ayoub
0fe6981c04 Fix corner cases for running elements
Fix #967.
2019-12-22 15:15:42 +01:00
Guillaume Ayoub
3ff431c543 Add warning when running element is unknown 2019-12-22 14:42:21 +01:00
Guillaume Ayoub
02d4c0032a Merge branch 'master' of github.com:Kozea/WeasyPrint 2019-12-22 00:13:01 +01:00
Guillaume Ayoub
570451dae7 Remove print 2019-12-22 00:12:44 +01:00
Guillaume Ayoub
3f74dd98b9 Don’t call page_values twice when it’s not needed
Fix #1013.
2019-12-22 00:11:34 +01:00