1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 00:21:15 +03:00

Update documentation about box-decoration-break and margin-break

Fix #771.
This commit is contained in:
Guillaume Ayoub 2019-03-19 17:48:29 +01:00
parent 3943e672b8
commit 2fc8f39b4d

View File

@ -547,8 +547,8 @@ that should be efficient with simple cases.
.. _CSS Multi-column Layout Module: https://www.w3.org/TR/css3-multicol/
CSS Fragmentation Module Level 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CSS Fragmentation Module Level 3 / 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The `CSS Fragmentation Module Level 3`_ "describes the fragmentation model that
partitions a flow into pages, columns, or regions. It builds on the Page model
@ -556,12 +556,19 @@ module and introduces and defines the fragmentation model. It adds
functionality for pagination, breaking variable fragment size and orientation,
widows and orphans."
The `CSS Fragment Module Level 4`_ is a working draft on the same subject.
The ``break-before``, ``break-after`` and ``break-inside`` properties are
supported for pages, but **not** for columns and regions. ``page-break-*``
aliases as defined in CSS2 are supported too.
The ``orphans`` and ``widows`` properties are supported.
The ``box-decoration-break`` property is **not** supported.
The ``box-decoration-break`` property is supported, but backgrounds are always
repeated and not extended through the whole box as it should be with 'slice'
value.
The ``margin-break`` property is supported.
.. _CSS Fragmentation Module Level 3: https://www.w3.org/TR/css-break-3/
.. _CSS Fragmentation Module Level 4: https://www.w3.org/TR/css-break-4/