Shorten up the title: Image fit: 'contain' with 'height' and 'width'
Tests for image-fit and image-position are not page-specific, so lose the 'paged' flag.
There are two cases here we need to prove, one for a landscape image and one for a portrait. Your style rules are fine, but apply them to two images that have *clearly identifiable edges* and *clearly non-square aspect ratios* and assert for each that the entire image appears within its blue border. (One test for both cases is preferable, I think.) For the landscape image, assert that there is white space above and below the image; for the portrait, there is white space to the left and right of the image.
Discussion
Not found.
Fixed
Shorten up the title: Image fit: 'contain' with 'height' and 'width'
Tests for image-fit and image-position are not page-specific, so lose the 'paged' flag.
There are two cases here we need to prove, one for a landscape image and one for a portrait. Your style rules are fine, but apply them to two images that have *clearly identifiable edges* and *clearly non-square aspect ratios* and assert for each that the entire image appears within its blue border. (One test for both cases is preferable, I think.) For the landscape image, assert that there is white space above and below the image; for the portrait, there is white space to the left and right of the image.
Replaced by http://wiki.csswg.org/test/css2.1/submit/152