[webkit-dev] The SrcN responsive images proposal

Antti Koivisto koivisto at iki.fi
Sun Oct 20 14:29:28 PDT 2013

On Sun, Oct 20, 2013 at 11:08 PM, Benjamin Poulain <benjamin at webkit.org>wrote:

> On 10/20/13, 9:07 AM, Antti Koivisto wrote:
> > Ignoring other aspects of this, the idea of making attribute name an
> > enumeration is somewhat distasteful. It will require ugly special
> > parsing. The platform has plenty of attribute values that are lists
> already.
> I was thinking the same thing last night. In addition to weirdness on
> the engine side, it looks like a nightmare for authoring/tooling.

> Is there a precedent for this strange notation?

Also CSS selectors only support matching exact attribute names. There is no
way to write universal "elements with some srcN attribute" query for
example. This might not be important for practical uses here but it does
demonstrate that the approach is a poor fit to the platform.


> Benjamin
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20131021/3e823a0f/attachment.html>

More information about the webkit-dev mailing list