[webkit-dev] The SrcN responsive images proposal
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
> 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.
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev