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

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