Bug 224575
| Summary: | [GTK] Anchor links don't work when opened in new web views | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Michael Catanzaro
Visit https://docs.python.org/3/library/stdtypes.html#memoryview
It says: "Create a memoryview that references obj. obj must support the buffer protocol. Built-in objects that support the buffer protocol include bytes and bytearray." The words "bytes" and "bytearray" are both anchor links. The bytes link points to:
https://docs.python.org/3/library/stdtypes.html#bytes
If you load that URL in an existing tab, or in a new tab via webkit_web_view_load_uri(), WebKit will scroll to the correct anchor point in stdtypes.html and all is well. But if you Ctrl+click or right click on the link and load it in a new tab via the context menu, the anchor link does not work properly and you're taken to a random point on the page.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |