W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 9872] New: trigger a conformance error when javascript is included in href attribute

From: <bugzilla@jessica.w3.org>
Date: Mon, 07 Jun 2010 08:58:53 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9872-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9872

           Summary: trigger a conformance error when javascript is
                    included in href attribute
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: faulkner.steve@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


when javascript is included in an a elements href attribute:
<p><a href="javascript:alert()">alert</a></p>
trigger a conformance error as it is not being used a link

when the href attribute includes only a # and event handlers are also included
on an a element trigger a conformance error:
<p><a href="#" onclick="alert()">alert</a></p>
Trigger a conformance error as it is not being used a link.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 7 June 2010 08:58:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 June 2010 08:58:57 GMT