Re: Update - srcset parser

Hi,   
I pushed another update to the srcset parser last night:   

http://responsiveimagescg.github.com/picture-refimp/demo/

What's new:  
* you can now control the virtual viewport using the provided inputs (instead of having to resize the window).
* You can create a virtual viewport of any size (regardless of the size of your browser window - works nicely on mobile devices too!).   
* You can lock the virtual viewport to a custom size - and resize your browser window at the same time.  

What's next:  
 * will start working on adding actual images so you can actually see the result.  
  
Kind regards,
Marcos  
--  
Marcos Caceres
http://datadriven.com.au


On Friday, 23 November 2012 at 20:36, Marcos Caceres wrote:

> Hi,  
> I've put at a version of the srcset parser so CG members can play with it.  
>  
> NOTE: it does not work with actual images; it's *only the parser component*. However, you can try out different resource combinations to see which resource is chosen.  
>  
> http://responsiveimagescg.github.com/picture-refimp/srcsetfill.html
>  
> Yes! it's sinfully ugly … sorry about that; I've not had any time to style it… but hopefully you get the idea.
>  
> Again, some help with code and making it look good would be appreciated.  
>  
> If you find any bugs or issues, please file them on GH:
> https://github.com/ResponsiveImagesCG/picture-refimp/issues
>  
> --  
> Marcos Caceres
>  
>  
> On Tuesday, November 20, 2012 at 7:52 PM, Marcos Caceres wrote:
>  
> > Hi All,
> > I've been working on a generic srcset parser which matches WHATWG document [1]:
> > https://github.com/ResponsiveImagesCG/picture-refimp/blob/master/srcsetfill.js
> >  
> > Ideally, we should be able to hook it into <img>, <picture>, and <source> for testing and refinement.
> > The code is far from done, so I could use some help. Right now, I'm mostly just wanting to get it 100% conforming to the WHATWG spec.
> >  
> > If you want to help, or you've ever wanted to see what it's like to code for a browser from a W3C spec, here is your chance to [1].
> >  
> > Please email me if you are interested in collaborating on it. The quicker we get it done, the quicker we can start playing around with new/alternative syntaxes.
> >  
> > [1] http://dev.w3.org/html5/srcset/
> >  
> > --
> > Marcos Caceres
>  

Received on Sunday, 2 December 2012 14:42:40 UTC