Bug 192309
Summary: | Implement paged media backgrounds. | ||
---|---|---|---|
Product: | WebKit | Reporter: | pft <niels.giesen> |
Component: | Assignee: | Nobody <webkit-unassigned> | |
Status: | NEW | ||
Severity: | Normal | CC: | simon.fraser, zalan |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
pft
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;
}
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |