This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7184 - Space characters in the coords attribute value is considered an error
Summary: Space characters in the coords attribute value is considered an error
Status: RESOLVED INVALID
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Henri Sivonen
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 08:22 UTC by Nikos Bilalis
Modified: 2015-08-23 07:07 UTC (History)
0 users

See Also:


Attachments

Description Nikos Bilalis 2009-08-01 08:22:23 UTC
When looking at an HTML 5 document, the validator reports the coords attribute in the area element

<pre>
<area shape="rect" coords="331,202,445,246" [...]
</pre>

as valid, and

<pre>
<area shape="rect" coords="331, 202, 445, 246" [...]
</pre>

as invalid and reports the following error:

<pre>Bad value 331, 202, 445, 246 for attribute coords on element area: Expected a minus sign or a digit but saw   instead.</pre>

That is, "expected a minus sign or a digit but saw the space character instead."
Comment 1 Ville Skyttä 2009-08-02 20:12:46 UTC
Do you have an URL to a reproducer document?

Anyway, assigning to Henri as I believe this is something that comes directly from validator.nu and I'm not familiar enough yet with HTML5 to tell if this is a bug or not offhand.
Comment 2 Nikos Bilalis 2009-08-03 05:31:09 UTC
Sorry, no document. But I would gladly make you one if this helps. Anyway, it's a pretty straightforward issue and the bug summary really sums it up:

Space characters in the coords attribute value is considered an error.