Actions
Bug #63107
closedResposive Images: source element within picture element has wrong src attribute
Status:
Closed
Priority:
Should have
Assignee:
Category:
TypoScript
Target version:
Start date:
2014-11-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
The source element when used within the picture element must use the srcset attribute. The src attribute must not be present.
<picture> <source srcset="images/large.jpg" media="(min-width: 1000px)"> <source srcset="images/medium.jpg" media="(min-width: 800px)"> <img src="images/small.jpg" alt="a picture"> </picture>
http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-picture-element
One site effect ist, that picturefill did not work out of the box, as it requires a standard html5 element.
http://scottjehl.github.io/picturefill/#using-picture
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34405
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34585
Updated by Arnd Messer about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 49b1e19f70c652cfe0a3ab65b765566112c0b6f9.
Actions