[BUGFIX] Source element within picture element has wrong src attribute 85/34585/2
authorArnd Messer <info@arndmesser.de>
Thu, 20 Nov 2014 18:33:34 +0000 (19:33 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 25 Nov 2014 10:54:33 +0000 (11:54 +0100)
Change it from src to srcset as described in the latest HTML5
specification for master and 6.2

Resolves: #63107
Releases: master, 6.2
Change-Id: Ia3180873af948db30bb60f2f071e5ccfe2283baf
Reviewed-on: http://review.typo3.org/34585
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/css_styled_content/static/setup.txt

index 6b14815..8a20b96 100644 (file)
@@ -681,7 +681,7 @@ tt_content.image.20 {
                        }
                        picture {
                                element = <picture>###SOURCECOLLECTION###<img src="###SRC###"###PARAMS######ALTPARAMS######SELFCLOSINGTAGSLASH###></picture>
-                               source = <source src="###SRC###" media="###MEDIAQUERY###"###SELFCLOSINGTAGSLASH###>
+                               source = <source srcset="###SRC###" media="###MEDIAQUERY###"###SELFCLOSINGTAGSLASH###>
                        }
                        data {
                                element = <img src="###SRC###"###SOURCECOLLECTION######PARAMS######ALTPARAMS######SELFCLOSINGTAGSLASH###>
@@ -2251,4 +2251,3 @@ plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE (
        table.contenttable-color-243 { background-color: {$styles.content.table.backgroundColor.243}; }
        table.contenttable-color-244 { background-color: {$styles.content.table.backgroundColor.244}; }
 )
-