[theme-reviewers] Question regarding Theme Unit Test

Chip Bennett chip at chipbennett.net
Thu Aug 12 20:07:02 UTC 2010

I disagree with this point:

you can't use
> img { max-width: #;  }
> in the post-content area is basically what's that saying, (which is what is
> done usually)  the huge image in the image test that's in side of there
> should be handled with overflow:
> and the $content_width is for the post area content width to handle the
> sizing, which is how wordpress takes care of that issue

There's nothing wrong with a Theme defining max-width for images via CSS.

Rather, what those tests verify is that, if max-width *isn't* defined for
images, that the overflow is handled aesthetically.

Personally, I would say that defining max-width is the *preferred* means of
handling over-sized images.

> Hello,
> I have a question regarding the Theme Unit Test for images. The test says:
>    - Wide Image (Resized) Test
>       - Image should display properly, and should be resized as specified.
>       - Sidebar must not be pushed to the bottom of the page.
>    - Wide Image (Not Resized) Test
>       - Wide image overflows properly (using max-width CSS rule or
>       content_width value is defined).
>       - Sidebar must not be pushed below content due to image overlap.
> I am not very clear on the distinction here. Does it mean that images
> should not be automatically resized to fit the width of the posts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100812/11a5bd17/attachment-0001.htm>

More information about the theme-reviewers mailing list