As a heuristic, either the width or height of the scaled image should decrease for box sampling to be used. Otherwise, we use bilinear scaling.
This required moving the CSS::StyleProperty destruct out of line.