If it can be done reliably and with little impact, it sounds nice yeah.



On Jun 26, 2013, at 11:59 AM, Markus Staab <notifications@github.com> wrote:

> In picturefill.js:
> 
> >  					}
> >  				}
> > +			
> > +				var picImg = ps[ i ].getElementsByTagName( "img" )[ 0 ];
> > +				
> > +				if( matches.length ){
> > +					
> > +					if( !picImg ){
> > +						picImg = w.document.createElement( "img" );
> > +						picImg.alt = ps[ i ].getAttribute( "data-alt" );
> yes, just because of the repetition. the image needs the alt tag for semantic and seo reasons. and the data-picture could re-use it (just in case there is no data-alt defined).
> 
> —
> Reply to this email directly or view it on GitHub.
>