Guillaume Ayoub
074d147611
Merge pull request #922 from Kozea/perf
...
Improve performance
2019-09-03 12:29:48 +02:00
Tontyna
8277462bee
Dont use deprecated Logger.warn
2019-08-26 10:16:31 +02:00
Guillaume Ayoub
2ee4516786
Handle the ::marker pseudo-element
...
Fix #700 .
2019-08-07 23:01:41 +02:00
Guillaume Ayoub
997882514e
Fix the way display is set when no box is generated from tree
...
Add related tests too.
2019-07-18 11:22:07 +02:00
Guillaume Ayoub
ad8ab62280
Same optimization as previous commit for inline level boxes
2019-07-11 15:03:40 +02:00
Guillaume Ayoub
005d9a3c9f
Don't copy style when removing decorations if there's no need to
...
It saves a lot of memory for very long paragraphs with no decoration style.
2019-07-11 14:48:58 +02:00
Guillaume Ayoub
76c3a47607
Fix comment and remove useless attribute setting when copying boxes
2019-07-10 18:32:00 +02:00
Guillaume Ayoub
4e80f4cccf
Remove enumerate_skip
...
It used to be really slow, at least on large inline containers.
2019-07-09 17:58:20 +02:00
Guillaume Ayoub
6dcc17f151
Take care of text-overflow to set ellipsis
...
Fix #874 .
2019-07-04 12:00:03 +02:00
Guillaume Ayoub
9b2cbb8943
Remove testing code
2019-05-31 07:19:43 +02:00
Guillaume Ayoub
d753b301a1
Always set outside_list_marker property on boxes
2019-05-31 07:18:25 +02:00
Guillaume Ayoub
2a4521099c
Merge branch 'master' into box-decoration-break
2019-03-15 15:10:13 +01:00
Guillaume Ayoub
167ebce065
Please isort again
2019-03-10 19:34:16 +01:00
Guillaume Ayoub
b7a9fe7dcc
Update copyright
2019-03-04 11:04:06 +01:00
Guillaume Ayoub
e2b492fb35
Only remove box decorations when box-decoration-break: slice
2019-02-28 15:50:47 +01:00
Guillaume Ayoub
9f4d2c1501
Remove border radius when breaks happen in boxes
2019-02-27 11:45:23 +01:00
Guillaume Ayoub
3ca9941568
Make empty strings clear previous values of named strings
...
Fix #726 .
2018-11-02 17:47:21 +01:00
Guillaume Ayoub
36ef44c4ca
Warn users when string() is not used in a page margin
...
Related to #723 .
2018-11-02 15:23:46 +01:00
Guillaume Ayoub
b4500bf25e
Fix more escape sequences
2018-10-26 15:32:34 +02:00
Guillaume Ayoub
0a0e57fbf7
Fix floating boxes with counters
2018-09-29 09:17:27 +02:00
Guillaume Ayoub
56904baa79
Use the same copyright line everywhere
2018-09-20 18:46:27 +02:00
Guillaume Ayoub
b905d89169
Clean a lot of little things
2018-08-07 15:26:18 +02:00
Tontyna
b67d2bc32a
Collect all page based counters in the target_collector
2018-07-07 21:04:58 +02:00
Tontyna
b946655996
No duplicates in string_set
2018-07-01 23:17:22 +02:00
Tontyna
bc18b6896d
Collect missing counters
2018-06-30 13:28:31 +02:00
Tontyna
97614abfcd
Prepare feeding page based counters into content lists
2018-06-30 12:54:55 +02:00
Tontyna
a55ee7ef73
Prepare access to document counters in @page context
2018-06-30 12:23:12 +02:00
Tontyna
62bada0a68
Collect all possibly pending 'parse_again'-functions
2018-06-24 11:56:32 +02:00
Tontyna
a3c07d91df
Deepcopy counter_values (pending content_list)
2018-05-05 11:56:58 +02:00
Guillaume Ayoub
5727e57859
Copy style when modifying markers style, clean comments
2018-05-03 01:55:26 +02:00
Tontyna
12e3d5356a
Consolidate space after/before list markers
2018-05-02 15:22:59 +02:00
Guillaume Ayoub
f54ab9c64f
Add tests for target-text
2018-04-19 00:54:29 +02:00
Guillaume Ayoub
85b5b76ccf
Fix and add tests about target-counters
2018-04-19 00:14:43 +02:00
Guillaume Ayoub
2694cacc95
Use 'url' keyword everywhere
2018-04-16 01:35:54 +02:00
Guillaume Ayoub
2be9959525
Clean many things about properties validation and computed values
2018-04-14 13:44:10 +02:00
Guillaume Ayoub
40588942f4
Add perentheses to target-* keywords too
2018-04-03 23:35:38 +02:00
Guillaume Ayoub
cb4fa7ef06
Use parentheses at the end of functions keywords
2018-04-03 23:05:46 +02:00
Guillaume Ayoub
85a65d76c8
Clean CSS functions
2018-04-02 23:57:37 +02:00
Guillaume Ayoub
07865f6371
Don't use a global target collector
2018-03-28 00:34:34 +02:00
Guillaume Ayoub
1039e35653
Replace enum by simple string
2018-03-27 23:25:39 +02:00
Guillaume Ayoub
9020b4bec0
Remove intermediate steps logging
2018-03-27 14:02:03 +02:00
Guillaume Ayoub
59a81dc746
Don't pre-compute string-set
...
According to the spec, the string-set property has a computed value equal to
the specified value, we can't pre-compute values even if it looks easier this
way.
2018-03-26 01:25:10 +02:00
Guillaume Ayoub
21743a8fdf
Remove debug messages and fix some minor typos
2018-03-26 00:18:24 +02:00
Guillaume Ayoub
a6366e32c0
Clean some docstrings
2018-03-26 00:02:13 +02:00
Guillaume Ayoub
b60fb46430
Get content string from content list
2018-03-25 23:55:05 +02:00
Tontyna
f66c8d095f
Merge branch 'master' into target-counter
2018-03-14 00:56:31 +01:00
Tontyna
c0c706fc91
Remove duplicate code: target-* for all
...
In the box building and page layout steps, the CSS properties
`content`, `string-set` and `bookmark-label` now use the same code
to evaluate their <content-list> values.
As a concequence the target-* functions work for all three properties.
2018-03-03 23:54:28 +01:00
Guillaume Ayoub
3ced7ac420
Transfrom all flex items parent boxes into block boxes
2018-02-25 23:41:15 +01:00
Tontyna
2b2eebd259
Merge branch 'master' into target-counter
2018-02-25 10:05:37 +01:00
Guillaume Ayoub
19365e824e
Fix all crashes with W3C test suite
2018-02-24 04:41:11 +01:00