Re: invalid assertions in opera/submitted/css3-conditional/js/001.html

On Fri, 31 May 2013 14:07:15 +0200, Florian Rivoal <florian@rivoal.net>  
wrote:

> On Fri, May 31, 2013, at 11:40, L. David Baron wrote:
>> I believe that 4 of the tests in in
>> contributors/opera/submitted/css3-conditional/js/001.html
>> are not backed up by anything in the specification.
>>
>> In particular, Gecko fails the first two tests because of whitespace
>> differences (running both the expected and actual results through
>> .replace(/\s+/g, " ") makes them pass; don't forget to parenthesize
>> the expected results).  I'm not aware that we've defined
>> serialization to that level of detail, though maybe I missed
>> something.
>
> I believe we should standardize how white space behaves in
> serialization, but as we haven't done so yet, there is no reason
> to make fail tests because of this.

Fixed.

>> The last two tests assert that implementations, when serializing,
>> put an extra pair of parentheses around:
>>   @supports (border: black) and (padding: 0) and (width: 0)
>> turning it into:
>>   @supports ((border: black) and (padding: 0) and (width: 0))
>> I don't see any justification for this in the specification, and
>> Gecko doesn't do it.

Fixed.

  - Florian

Received on Wednesday, 12 June 2013 13:58:30 UTC