mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
944d24e9ee
* Update Picture.astro the image variable of getPicture contains a width and height property, which we usually require. In this case, the image is wrapped in a picture tag and the img tag itself should not have a width and height property as this will break the responsiveness of the image provided by the picture tag. * added changeset * fixing SSG picture tests that were expecting img dimensions Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com> |
||
---|---|---|
.. | ||
fixtures | ||
background-color-image-ssg.test.js | ||
background-color-image-ssr.test.js | ||
image-ssg.test.js | ||
image-ssr-build.test.js | ||
image-ssr-dev.test.js | ||
no-alt-text-image-ssg.test.js | ||
no-alt-text-image-ssr.test.js | ||
no-alt-text-picture-ssg.test.js | ||
no-alt-text-picture-ssr.test.js | ||
picture-ssg.test.js | ||
picture-ssr-build.test.js | ||
picture-ssr-dev.test.js | ||
rotation.test.js | ||
sharp.test.js | ||
squoosh-service.test.js | ||
test-utils.js | ||
with-mdx.test.js |