Re: Syntax options for constraints structure

Anant Narayanan wrote:
> In other words, I don't see what the use case is for specifying
> conflicting constraints within the same set. Note that sets can contain

The JS doesn't necessarily know what is going to conflict, as this may 
be a property of the hardware, etc. The reason for having a well-defined 
ordering of _all_ constraints is to allow the UA to use a very simple 
algorithm for conflict resolution, regardless of which constraints 
happen to conflict. This avoids the need to use a full-blown constraint 
solver, which can get messy in a hurry (and give the user surprising 
results).

Received on Friday, 11 May 2012 21:29:21 UTC