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

3442 Commits

Author SHA1 Message Date
Guillaume Ayoub
e8f5d774c7 Improve urls.py coverage 2020-01-13 21:26:56 +01:00
Guillaume Ayoub
10a7863332 Fully test __main__
Related to #1023.
2020-01-11 18:33:59 +01:00
Guillaume Ayoub
620b17a9b3 Coverage 2020-01-09 23:33:07 +01:00
Guillaume Ayoub
ceea084f42 Remove print 2020-01-09 22:53:55 +01:00
Guillaume Ayoub
9015eb8e96 Don’t cover failing tests 2020-01-08 23:40:34 +01:00
Guillaume Ayoub
bc58e25eb7 Test z-index 2020-01-07 23:55:39 +01:00
Guillaume Ayoub
35884dc6de Improve coverage for tools 2020-01-07 23:00:39 +01:00
Guillaume Ayoub
34ad3b5050 Merge branch 'master' into clean 2020-01-07 22:36:38 +01:00
Guillaume Ayoub
cb610e88f0 Support counter-set
Code was sleeping commented since December 2011 and could have been working in
WeasyPrint 0.3. Easiest feature ever thanks to @SimonSapin.

Fix #1019.
2020-01-06 22:45:37 +01:00
Guillaume Ayoub
822fb6808d Ignore some lines for coverage 2020-01-06 17:06:26 +01:00
Guillaume Ayoub
22e07ba931 Add box-sizing tests 2020-01-06 17:06:04 +01:00
Guillaume Ayoub
ae21c822bf 100% test coverage for expanders validation 2020-01-02 23:25:33 +01:00
Guillaume Ayoub
787deaf873 Test border-radius validation 2020-01-02 19:20:48 +01:00
Guillaume Ayoub
b40ad461be Remove repeated copyright assignments in files
Everything is replaced by a more explicit message in the COPYRIGHT file.

Inspired by rust-lang/rust#43498 and rust-lang/rust#57108.
2020-01-02 14:10:09 +01:00
Guillaume Ayoub
647af0b228 Minor fixes 2020-01-02 13:27:11 +01:00
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
0f782151d5 Small fix in doc about document generation steps 2020-01-01 21:56:46 +01:00
Guillaume Ayoub
7aee426cf0
Merge pull request #1017 from Kozea/counter-style
Implement @counter-style
2019-12-31 11:26:16 +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
2dff884ef1 Minor fixes for documentation theme 2019-12-28 14:55:34 +01:00
Guillaume Ayoub
29e026d289 Update documentation style 2019-12-28 14:38:10 +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