Improve parsing `width`/`height` attributes on `img` elements
Improve parsing `width`/`height` attributes on `img` elements

Only partially handles invalid values by ignoring them. Handling
invalid values more generally is probably best left to the Style class.

Fixes #2240

dompdf/dompdf,dompdf/dompdf