Bug 56733 - fragment id should not use %xy escaping
Summary: fragment id should not use %xy escaping
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://www.noiraude.net/bug/fragmenti...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 22:44 PDT by Léa Gris
Modified: 2023-09-08 15:47 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Léa Gris 2011-03-20 22:44:27 PDT
A fragment identifier (id) should not be encoded using %xy escaping (RFC2396). Only the URL part in href should use % escaping according to RFC2396.

<a href="#%E9l%E9ment">This link</a>
<p id="%E9l%E9ment">should not point to this invalid id,</p>
<p id="élément">but should point here.</p>

The proper algorithm is described here: http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#scroll-to-the-fragment-identifier

Test case here: http://www.noiraude.net/bug/fragmentidbug.xhtml