[Webkit-unassigned] [Bug 43434] New: Web Inspector: Relative URL Link Tooltips do not respect <base>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 3 10:35:50 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43434

           Summary: Web Inspector: Relative URL Link Tooltips do not
                    respect <base>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com


Created an attachment (id=63348)
 --> (https://bugs.webkit.org/attachment.cgi?id=63348)
[TEST] Basic base-test.html

Tooltips for relative URL links show up incorrectly. They appear to show using the documentURL
instead of the <base> if one is defined. The HTML5 spec also mentions that xml:base could
affect the real link in the end.

Example: (file:///Users/joe/Desktop/base-test.html)

    <!DOCTYPE html>
    <html>
    <head>
        <title>This is an example for the <base> element</title>
        <base href="http://www.example.com/news/index.html">
    </head>
    <body>
        <p>Visit the <a href="archives.html">archives</a>.</p>
    </body>
    </html>

Hovering the link in the Elements heirarchy gives: [incorrect]
file:///Users/joe/Desktop/archives.html

Clicking the link gives: [correct]
http://www.example.com/news/archives.html

Attached test case for a basic page, and another using an iframe.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list