W3C home > Mailing lists > Public > www-validator@w3.org > October 2004

a suggestion

From: Walter Horodyski <horodys@worldnet.att.net>
Date: Thu, 21 Oct 2004 10:20:18 -0600
Message-ID: <4177E1C2.8060804@worldnet.att.net>
To: www-validator@w3.org
  I used the HTML validator and it flagged the following as an error:

<ul style="list-style-image:url(chkbullet2.jpg)"></ul>

I understand the issue (i.e., failure to include LIs in the parent 
element) but it seems this should be a warning rather than an error. Let 
me explain.

After the page containing this UL is rendered by the browser, I use a 
script to dynamically add LI child nodes to the list as they are 
required. This is a DHTML coding technique that seems to effectively and 
legally exploit the capability offered to me by the DOM. In the end, my 
page fully complies with the reasoning used by the Validator. So, I 
think the Validator needs to take this possibility into account and call 
the above construct a "warning" with an appropriate explanation, similar 
to the one I've offered, and accept the page as VALID HTML.

Thanks for your attention to this suggestion.
Received on Thursday, 21 October 2004 16:21:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:15 GMT