Re: Feedback on Philip Taylors Canvas Tests

On 01/04/2011 04:47 PM, Philip Taylor wrote:
> Ms2ger wrote:
>> On 01/04/2011 04:50 AM, Kris Krueger wrote:
>>> http://test.w3.org/html/tests/submission/PhilipTaylor/canvas/size.attributes.setAttribute.percent.html
>>>
>>> http://test.w3.org/html/tests/submission/PhilipTaylor/canvas/size.attributes.parse.percent.html
>>>
>>> These tests description indicates that it's a test for 'Parsing of
>>> non-negative integers'.
>>> Though I see no negative attributes? Test case bug?
>>
>> The test case is correct, the description isn't.
>>
>> I approve these tests if the description is fixed.
>
> They're testing that the string "100%" is parsed as a non-negative
> integer according to
> http://whatwg.org/html5/#rules-for-parsing-non-negative-integers , which
> should return the integer value 100 in this case. What's inaccurate
> about the description?

I misread 'Parsing of non-negative integers' as 'Parsing of *negative* 
integers'. Approved.

HTH
Ms2ger

Received on Tuesday, 4 January 2011 19:05:46 UTC