-webkit-print-color-adjustproperty is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine.
-webkit-print-color-adjust: economy | exact
- Normal behavior. Background colors and images are only printed if the user explicitly allows it in their browser's print settings dialog.
- Background colors and images of the element to which this rule is applied are always printed, user's print settings are overridden.
This property is inherited.
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Feature||Android||Firefox Mobile (Gecko)||IE Phone||Opera Mobile||Safari Mobile|
Body element backgrounds are not printed
Currently neither Chrome nor Safari print backgrounds of the body element. If this property is set for the body element, it will apply only to its descendants.
Chrome clipped image bug
When background images are clipped (for example, when using background-image sprites), due to Chromium bug 131054, they will appear distorted when printed from the Chrome browser with
-webkit-print-color-adjust: exact. Solid backgrounds and background images that are not clipped (i.e. have lower width and height than the element to which they are applied) are printed correctly.