[theme-reviewers] Question regarding Theme Unit Test

Safirul Alredha zeo at zeo.my
Fri Aug 13 00:59:06 UTC 2010


img {max-width: n; width: auto; height: auto;}

- zeo

On Fri, Aug 13, 2010 at 6:03 AM, Edward Caissie
<edward.caissie at gmail.com> wrote:
> I prefer 'overflow: hidden;' too, but using 'max-width' should work
> correctly as well.
>
>
> Cais
>
> On Thu, Aug 12, 2010 at 4:11 PM, Philip M. Hofer (Frumph)
> <philip at frumph.net> wrote:
>>
>> I was informed of this by Cais just a few minutes ago.
>>
>> - Phil
>>
>> My prefered is overflow: hidden; personally.
>>
>> ----- Original Message -----
>> From: Chip Bennett
>> To: theme-reviewers at lists.wordpress.org
>> Cc: Sayontan Sinha ; Philip M. Hofer (Frumph)
>> Sent: Thursday, August 12, 2010 1:07 PM
>> Subject: Re: [theme-reviewers] Question regarding Theme Unit Test
>> 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?
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>


More information about the theme-reviewers mailing list