- From: Doug McDonald <dougajmcdonald@gmail.com>
- Date: Tue, 13 Sep 2011 22:54:54 +0100
- To: www-validator@w3.org
- Message-ID: <CAF-H7RDME_5GrziqDGotNzoAAGGDhTqL9Lwsq9SrK5SPaC=e2A@mail.gmail.com>
Hi there, I was checking over a site I have recently been working on to see how it validates against the HTML5 spec and I think I may have found a bug. Put simply the validator is telling me the following: [image: Error] *Line 119, Column 136*: Duplicate attribute class. …script-open-a-maximised-window/" class*=*"articleTitle">Javascript open a maxim For example, unless I'm missing something I'm not sure it should be reporting this for the element/line specified. The URL in question is ' http://www.dougmcdonald.co.uk/test/html5/v5/articles/' and an example of the html which is being output and supposedly the cause of the above validation error is below: <article class="blog"> <header> <h2> <a class="articleTitle" href=" http://www.dougmcdonald.co.uk/test/html5/v5/2011/09/08/Javascript-open-a-maximised-window/ ">Javascript open a maximised window</a> </h2> <aside> <img width="32" height="20" alt="comments image" src=" http://www.dougmcdonald.co.uk/test/html5/v3/img/util/whiteThought.png"> <p>0 Comments</p> </aside> <h3> September 08, 2011 </h3> </header> <div class="excerpt"> Often people ask how to open a new window 'maximised' from client side Javascript. With this in mind, below is a function to open a new window about a ... </div> </article> Unless I'm going mad, that element doesn't include a duplicate class attribute. It feels like I'm missing something, in which case, please discard this! if it's of any help identifying a bug though, then hopefully the info above will be useful. Many thanks, Doug -- Doug McDonald BSc(Hons) | MCTS | MBCS
Received on Thursday, 15 September 2011 07:20:14 UTC