Re: [Bug 25766] New: Problem with constraints failure when there is no constraint.

On 18 May 2014 05:59,  <bugzilla@jessica.w3.org> wrote:
> The way require works now means that
>
> var constraints =
>  {
>    require: ["width", "height"],
>    width: {min: 640},
>  };
>
> will always fail because there is no hight attribute. This seems wacky. If
> there is not constraint, it should not fail.

I disagree.  The application asked for something to fail and then set
up an impossible configuration, that's not so bad.

Received on Sunday, 18 May 2014 15:23:57 UTC