Bug 56733
| Summary: | fragment id should not use %xy escaping | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Léa Gris <lea.gris> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | UNCONFIRMED | ||
| Severity: | Normal | CC: | ahmad.saleem792, annevk, ap, bzbarsky |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://www.noiraude.net/bug/fragmentidbug.xhtml | ||
Léa Gris
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |