0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/test/unit/lib
Kevin Ansfield edd997402b Added sizes attribute to in-content <img> elements
no issue

- by including `sizes` with media-queries that match typical content widths we can give the browser better hints as to which responsive image size to fetch resulting in more performant pages
- also fixes `srcset` output where "unknown" sizes were used instead of linking to the original image src which was causing 302 redirects and slowing image loading in some cases
2020-06-19 11:41:32 +01:00
..
fs/package-json Colocated readCSV util with members input serializer 2020-06-19 18:24:51 +12:00
image Fixed non-reverted rewire of imageSize.getImageSizeFromUrl in tests 2020-06-16 20:58:02 +01:00
promise Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
security Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
external-request_spec.js Merge pull request from GHSA-4m2q-w26j-h268 2020-06-02 14:30:10 +01:00
ghost-version_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
mobiledoc_spec.js Added sizes attribute to in-content <img> elements 2020-06-19 11:41:32 +01:00
request_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00