Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295735

Do #attributes/$variables['attributes'] to go the <picture> or the fallback <img>?

$
0
0

Follow-up to #2260061-297: Responsive image module does not support sizes/picture polyfill 2.2

- 'attributes' stays in the $variables array that gets passed to responsive-image.html.twig, and is thus *also* printed as {{attributes}} on the picture tag ? I'd tend to agree with @attiks in #298.2 that we don't necessarily need to support attributes on the picture tag, but even if we do, it can't just be the same ones the than those of the img ;-)


Viewing all articles
Browse latest Browse all 295735


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>