CSS Test: Image Fit - Height and width are independent when image-fit is 'contain' and no max-width or max-height is set

Discussion

Melinda Grant, 2008/07/30 18:52

Not found.

Tom Clancy, 2008/07/31 06:28

Fixed

Melinda Grant, 2008/08/04 17:42

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.

Tom Clancy, 2008/09/26 08:34

Replaced by http://wiki.csswg.org/test/css2.1/submit/152

You could leave a comment if you were logged in.
 
test/css2.1/submit/104.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki