Bug 192309

Summary: Implement paged media backgrounds.
Product: WebKit Reporter: pft <niels.giesen>
Component: PDFAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: simon.fraser, zalan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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;
    }