[Webkit-unassigned] [Bug 9603] no means for styling a[onclick] links to look like a[href] links

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Jun 27 07:42:26 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9603


contact at nickshanks.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://web.nickshanks.com/br
                   |                            |owsers/safari/onclick
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |
            Summary|a[onclick] not styled the   |no means for styling
                   |same as a[href]             |a[onclick] links to look
                   |                            |like a[href] links




------- Comment #2 from contact at nickshanks.com  2006-06-27 07:42 PDT -------
Reopening as none of the solutions given on IRC by hyatt or darin work. Namely:

1) Setting the href attribute to an empty string results in the page being
reloaded, the block of text (see demo page) is then hidden again, and the page
scrolls to the top.
2) Setting the href to "#" or any fragment ID causes the page to scroll to the
top, or to the fragment.

Besides, setting a href on an anchor that doesn't point to another resource is
semantically incorrect.

As Dave says above, "onclick applies to any element, so there's no way to
discern whether the onclick has to do with link navigation or not"
This bug exists to say there ought to be some means of discerning just that!


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list