Fixes #952 - parsing `@page` as in CSS3 spec.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Thu, 22 Jun 2017 08:35:52 +0000 (10:35 +0200)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Thu, 29 Jun 2017 06:53:38 +0000 (08:53 +0200)
commitb518d050adf168196825c16c00b09b57c46cc0d4
tree4c62665f45baed55fdcddd456d4259191ffc6266
parentdf02347ae3aba40cebb65406b5e94196d1a5ca4d
Fixes #952 - parsing `@page` as in CSS3 spec.

Why:

* CSS3 spec allows `@page` rules to have custom names and contain
  page-margin boxes, see https://www.w3.org/TR/css3-page/#margin-boxes
* it enables all (?) of Prince page box rules too by whitelisting them.
History.md
lib/tokenizer/tokenize.js
lib/writer/helpers.js
test/integration-test.js
test/tokenizer/tokenize-test.js