0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/image/test
Gerard de Brieder 944d24e9ee
Update Picture.astro so it no longer passes height and width attributes (#4797)
* 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>
2022-09-22 21:01:38 +00:00
..
fixtures Adding an optional image service based on Squoosh (#4738) 2022-09-22 19:48:14 +00:00
background-color-image-ssg.test.js [@astrojs/image] flatten background only if alpha channel isn't supported (#4800) 2022-09-20 20:25:45 +00:00
background-color-image-ssr.test.js [@astrojs/image] flatten background only if alpha channel isn't supported (#4800) 2022-09-20 20:25:45 +00:00
image-ssg.test.js Adding an optional image service based on Squoosh (#4738) 2022-09-22 19:48:14 +00:00
image-ssr-build.test.js Adding an optional image service based on Squoosh (#4738) 2022-09-22 19:48:14 +00:00
image-ssr-dev.test.js Adding an optional image service based on Squoosh (#4738) 2022-09-22 19:48:14 +00:00
no-alt-text-image-ssg.test.js feat(image): throw if alt text is missing (#4511) 2022-09-01 21:24:07 +00:00
no-alt-text-image-ssr.test.js feat(image): throw if alt text is missing (#4511) 2022-09-01 21:24:07 +00:00
no-alt-text-picture-ssg.test.js feat(image): throw if alt text is missing (#4511) 2022-09-01 21:24:07 +00:00
no-alt-text-picture-ssr.test.js feat(image): throw if alt text is missing (#4511) 2022-09-01 21:24:07 +00:00
picture-ssg.test.js Update Picture.astro so it no longer passes height and width attributes (#4797) 2022-09-22 21:01:38 +00:00
picture-ssr-build.test.js Adding an optional image service based on Squoosh (#4738) 2022-09-22 19:48:14 +00:00
picture-ssr-dev.test.js Adding an optional image service based on Squoosh (#4738) 2022-09-22 19:48:14 +00:00
rotation.test.js [@astrojs/image] Build all optimized images to dist/assets (#4678) 2022-09-08 18:41:17 +00:00
sharp.test.js [@astrojs/image] support additional resize options (#4438) 2022-09-09 20:13:59 +00:00
squoosh-service.test.js Adding an optional image service based on Squoosh (#4738) 2022-09-22 19:48:14 +00:00
test-utils.js Adds an @astrojs/image integration for optimizing images (#3694) 2022-07-01 15:47:48 +00:00
with-mdx.test.js [@astrojs/image] Build all optimized images to dist/assets (#4678) 2022-09-08 18:41:17 +00:00