1) mPDF version 5.1 introduces several new CSS features including support for background images and gradients on table rows and tables, borders on table rows, and several CSS3 gradient syntax options.
2) It improves support for SVG images and allows file attachments to be embedded in the PDF.
3) It adds support for CSS3 properties like image-orientation and image-resolution for images, and background-image-resolution. Gradients can also be used as image masks with the gradient-mask property.