Re: Update - srcset parser

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.

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:

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]:
> 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]
> --
> Marcos Caceres

Received on Friday, 23 November 2012 20:37:21 UTC