Skip to content
Snippets Groups Projects
Commit 49b1e19f authored by Arnd Messer's avatar Arnd Messer Committed by Markus Klein
Browse files

[BUGFIX] Source element within picture element has wrong src attribute

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: default avatarMartin Eberle <martin.eberle@gmail.com>
Tested-by: default avatarMartin Eberle <martin.eberle@gmail.com>
Reviewed-by: default avatarMartin Ficzel <martin.ficzel@gmx.de>
Reviewed-by: default avatarIngo Schmitt <is@marketing-factory.de>
Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Tested-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: default avatarJens Jacobsen <typo3@jens-jacobsen.de>
Tested-by: default avatarJens Jacobsen <typo3@jens-jacobsen.de>
Reviewed-by: default avatarMarkus Klein <klein.t3@reelworx.at>
Tested-by: default avatarMarkus Klein <klein.t3@reelworx.at>
parent f6b0ac03
Branches
Tags
No related merge requests found
......@@ -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}; }
)
......@@ -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}; }
)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment