Bug 21147 - hash property returns incorrect value for links w/o hash
Summary: hash property returns incorrect value for links w/o hash
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC Windows XP
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 12:41 PDT by Przemyslaw Pawelczyk
Modified: 2009-02-23 01:44 PST (History)
1 user (show)

See Also:


Attachments
proposed fix (8.18 KB, patch)
2009-02-16 05:40 PST, Alexey Proskuryakov
mrowe: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Przemyslaw Pawelczyk 2008-09-26 12:41:29 PDT
Test case: http://old.przemoc.net:81/hash.html

Hash property should contain hash only if it was specified.
Only Opera passed my test, IE and Fx partially, but WebKit failed.
Comment 1 Alexey Proskuryakov 2008-09-30 08:17:53 PDT
Confirmed.
Comment 2 Alexey Proskuryakov 2009-02-16 05:40:02 PST
Created attachment 27694 [details]
proposed fix

Makes the behavior match IE and Firefox for most compatibility.
Comment 3 Alexey Proskuryakov 2009-02-23 01:44:57 PST
Committed revision 41136.