W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: W3C can say (?) what an ID means to CSS4, in the fast profile context

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 07 Apr 2015 17:47:48 -0400
Message-ID: <55245084.1050504@mit.edu>
To: www-style@w3.org
On 4/7/15 3:45 PM, Peter Krauss wrote:
> *PROPOSAL* (? is possible):  let's drop "repeated ID support" in the
> /fast profile/ definition of CSS4.

The "fast profile" is also known as "selector matching for rendering web 
pages".

So the answer to your question is likely "probably not possible", unless 
you think web pages currently don't depend on this behavior.

But worse yet, it's _faster_ to ignore uniqueness, no?  It makes 
matching ids a completely local property, whereas any sort of uniqueness 
requirement makes id matching depend on global document state.

> and an incentive for render-engines really use distinct algorithms for
> each profile,

Why is this a goal?  Distinct algorithms suggests likely bugs in which 
the two profiles don't produce the same results in the same UA, which 
seems fairly suboptimal.

-Boris
Received on Tuesday, 7 April 2015 21:48:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC