[BUGFIX] Source element within picture element has wrong src attribute 05/34405/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:42:26 +0000 (11:42 +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/34405
Reviewed-by: Martin Eberle <martin.eberle@gmail.com>
Tested-by: Martin Eberle <martin.eberle@gmail.com>
Reviewed-by: Martin Ficzel <martin.ficzel@gmx.de>
Reviewed-by: Ingo Schmitt <is@marketing-factory.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Jens Jacobsen <typo3@jens-jacobsen.de>
Tested-by: Jens Jacobsen <typo3@jens-jacobsen.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/css_styled_content/static/v6.2/setup.txt

index 69ea6d7..9bd2d22 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}; }
 )
-
index 5fe5f03..27f069b 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###>
@@ -2246,4 +2246,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}; }
 )
-