Bug 192309 - Implement paged media backgrounds.
Summary: Implement paged media backgrounds.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-03 04:45 PST by pft
Modified: 2018-12-03 10:29 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pft 2018-12-03 04:45:43 PST
In paged media, one should - so it seems - be able to use the background properties on 'pages'.

https://drafts.csswg.org/css-page-3/#painting

We also see this implemented with princexml and https://gitlab.pagedmedia.org/tools/pagedjs

This example code should paint the entire background - so including the marginal area and bleed - red:


    @page {
      background-color: red;
    }