Guillaume Ayoub
1e226cd88a
Fix overlapping curves
2013-06-07 17:05:58 +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
72c9c02b64
Typo in bookmark label
2013-05-24 16:27:11 +02:00
Simon Sapin
25bab1dc6c
Fix #76 : repeating <thead> and <tfoot> on every page with border-collapse.
2013-04-30 10:56:43 +02:00
Simon Sapin
302eae25b0
Have position: fixed
elements repeated on every page.
2013-04-23 15:32:08 +02:00
Guillaume Ayoub
d406ad6eee
Simplify 'white-space: nowrap' handling, fix corner cases.
2013-04-16 14:27:14 +02:00
Guillaume Ayoub
cae9f8cc00
Don't keep leading and trailing spaces in nowrap texts
2013-04-15 01:29:18 +02:00
Guillaume Ayoub
a2f8aada42
Fix 'white-space: nowrap' and add tests about this
2013-04-12 01:48:58 +02:00
Simon Sapin
1d1bf9cdc9
Flake8.
2013-04-11 12:08:53 +02:00
Simon Sapin
d53f091b17
Prepare for multiple background-image types.
2013-04-05 12:23:29 +02:00
Simon Sapin
171438f48e
2013
2013-04-03 16:23:48 +02:00
Simon Sapin
c49f060c9f
Add support for -weasy-hyphens: none, cache hyphenation dictionaries
2013-02-27 13:44:57 +01:00
Simon Sapin
829c758788
Keep currentColor as a computed value, resolve in used value
...
According to the css3-color errata:
http://www.w3.org/Style/2011/REC-css3-color-20110607-errata.html
2013-01-23 16:52:47 +01:00
Simon Sapin
cfe59387e9
Whitespace fixes.
2013-01-23 16:41:46 +01:00
Guillaume Ayoub
145027536b
Collapse consecutive text boxes
2012-12-26 16:42:45 +01:00
Guillaume Ayoub
488178c6ab
Typo
2012-12-26 14:47:33 +01:00
Simon Sapin
28cb59fc8b
Pre-compute transformation matricies.
...
… so that they are available when getting meta-data.
2012-10-06 11:26:55 +02:00
Simon Sapin
ae26c87bfd
Handle background images at the end of layout
2012-09-13 10:41:22 +02:00
Simon Sapin
463a33c1af
Fetch background images early
...
This removes the need to have a reference to the image cache
in draw.py
2012-09-12 18:36:00 +02:00
Simon Sapin
d1971b6e63
Remove unused imports.
2012-08-03 13:32:42 +02:00
Simon Sapin
30a5708373
Kill Document in formatting_structure/build.py and html.py
2012-07-12 15:54:22 +02:00
Simon Sapin
d038708b8b
Kill Document in css/__init__.py
2012-07-12 15:21:37 +02:00
Simon Sapin
e955781b91
Fix border-collapse on multiple pages
2012-07-11 19:23:41 +02:00
Simon Sapin
34fc003c57
Paint collapsed table borders
2012-07-11 18:21:20 +02:00
Simon Sapin
fd96c0df0a
Ignore margins on internal table boxes: fix #888
...
Also ignore padding on table with border-collapse
2012-07-11 16:39:17 +02:00
Simon Sapin
1deb3c3b43
Add border conflict resolution for border-collapse
...
(No layout or painting yet.)
2012-07-11 14:11:26 +02:00
Simon Sapin
22cb02c01a
Update page sizing to the current ED
...
Namely:
* The size sets the page’s containing block
* 'auto' margins are now supported
* The width, min-width, max-width, height, min-height
and max-height properties are now supported.
2012-07-03 14:54:15 +02:00
Simon Sapin
f0b04a8e37
Merge branch 'master' into float
2012-06-28 13:30:23 +02:00
Simon Sapin
f65619f452
Fix whitespace collapsing across not-in-normal-flow boxes.
2012-06-28 13:29:12 +02:00
Guillaume Ayoub
e12880b113
Handle float in inline as almost normal boxes
2012-06-21 16:03:29 +02:00
Guillaume Ayoub
36a6b6b6f3
Pass the fixed_boxes argument instead of using current_page
...
Cherry-picked from 043d71dc29
Conflicts:
weasyprint/layout/absolute.py
weasyprint/layout/blocks.py
weasyprint/layout/float.py
weasyprint/layout/inlines.py
2012-06-19 18:00:50 +02:00
Guillaume Ayoub
f9e7c40ca2
Fix the drawing order of fixed boxes
...
Cherry-picked from 568e0aeb70
Conflicts:
weasyprint/layout/blocks.py
weasyprint/layout/inlines.py
2012-06-19 17:42:15 +02:00
Guillaume Ayoub
d71ad36580
Merge branch 'master' into float
2012-06-19 14:53:40 +02:00
Guillaume Ayoub
4fe56316f6
Finally fix margin collapsing for blocks with clearance
2012-06-19 14:52:30 +02:00
Simon Sapin
f7d765e0c1
Bug fixes and tests on floats…
2012-06-15 17:59:15 +02:00
Simon Sapin
8497a7fc90
Fix the tests on PDF links
2012-06-14 22:06:30 +02:00
Simon Sapin
fd6c5451e0
Merge branch 'master' into float
2012-06-08 17:16:31 +02:00
Simon Sapin
d0a5a0b8f1
Fix borders on inline boxes split by a block inside.
2012-06-06 13:27:50 +02:00
Guillaume Ayoub
043d71dc29
Pass the fixed_boxes argument instead of using current_page
2012-06-06 12:04:09 +02:00
Guillaume Ayoub
568e0aeb70
Fix the drawing order of fixed boxes
2012-06-06 09:49:56 +02:00
Simon Sapin
5dde5d47e5
Handle degerate rowspan values.
...
Previously, such values crashed the layout.
2012-06-02 09:02:24 +02:00
Simon Sapin
2179957e4a
Fix lines vs. anonymous blocks in precence of floats.
2012-06-01 17:08:54 +02:00
Simon Sapin
a30996c30a
Fix counter-increment interference with display: list-item
2012-06-01 09:56:19 +02:00
Guillaume Ayoub
35363cefee
Add a test about counter scopes
2012-05-29 17:56:46 +02:00
Simon Sapin
e88401f333
Get bookmark labels after white-space processing.
2012-05-24 15:29:42 +02:00
Simon Sapin
866efdf62c
Do not repeat bookmarks on a fragmented box
...
Also a better way not to repeat margin/padding/border and list markers.
2012-05-21 14:22:32 +02:00
Guillaume Ayoub
111932edf5
Add first-level bookmarks, use floats for XY positions, fix little things
2012-05-15 19:29:54 +02:00
Guillaume Ayoub
475a924e89
Fix the stacking contexts
2012-05-11 14:10:11 +02:00