W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

[widgets] Tiny bug in spec in section 9.1.16

From: Marcos Caceres <marcosc@opera.com>
Date: Thu, 11 Nov 2010 16:17:16 +0100
Message-ID: <4CDC08FC.2020208@opera.com>
To: "public-Webapps@w3.org" <public-Webapps@w3.org>
CC: Hari Kumar G <harig@opera.com>
Hi,
We found a tiny spec bug in section 9.1.16. Algorithm to Process a 
Configuration Document.

The following two conformance requirements are wrong:
http://www.w3.org/TR/widgets/#ta-BxjoiWHaMr
http://www.w3.org/TR/widgets/#ta-UScJfQHPPy

Currently, they say (error donoted by ** **):
[[
C. If the height attribute is used, then let normalized height be the 
result of applying the rule for parsing a non-negative integer to the 
value of the attribute. If the normalized height is not in error and 
greater than **or equal to 0**, then let widget height be the value of 
normalized height. If the height attribute is in error, then the user 
agent must ignore the attribute. {ta-BxjoiWHaMr}

D. If the width attribute is used, then let normalized width be the 
result of applying the rule for parsing a non-negative integer to the 
value of the attribute. If the normalized width is not in error and 
greater than **or equal to 0**, then let widget width be the value of 
normalized width. If the width attribute is in error, then the user 
agent must ignore the attribute. {ta-UScJfQHPPy}

]]

Should read:
[[
If the height attribute is used, then let normalized height be the 
result of applying the rule for parsing a non-negative integer to the 
value of the attribute. If the normalized height is not in error and 
greater than 0, then let widget height be the value of normalized 
height. If the height attribute is in error, then the user agent must 
ignore the attribute. {ta-BxjoiWHaMr}

If the width attribute is used, then let normalized width be the result 
of applying the rule for parsing a non-negative integer to the value of 
the attribute. If the normalized width is not in error and greater than 
0, then let widget width be the value of normalized width. If the width 
attribute is in error, then the user agent must ignore the attribute. 
{ta-UScJfQHPPy}
]]

In other words, "or equal to 0" should not have been there. I thought I 
had fixed this already:( I had fixed it for icons, it seems, but not for 
the widget element.

Spec has been updated and committed.

Kind regards,
Marcos

-- 
Marcos Caceres
Opera Software
Received on Thursday, 11 November 2010 15:17:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:41 GMT