[widgets] Tiny bug in spec in section 9.1.16

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 UTC