Generate PDF from a web page with background graphics

Is it possible to generate pdf data from a html content, including the background graphics (background color, box shadow, etc..) ? Right now, I can only make a pdf view from the apple website like this:

It can be seen that the background images and colors are missing.