[Webkit-unassigned] [Bug 148477] New: [Regression] Inline SVG xlink: href – differing behaviour with #name and #id

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 26 08:21:03 PDT 2015


            Bug ID: 148477
           Summary: [Regression] Inline SVG xlink:href – differing
                    behaviour with #name and #id
    Classification: Unclassified
           Product: WebKit
           Version: Safari 8
          Hardware: Macintosh
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graham.6311 at yahoo.com
                CC: zimmermann at kde.org

Created attachment 259951
  --> https://bugs.webkit.org/attachment.cgi?id=259951&action=review
Demonstration of differing behaviour with #id and #name

<a xlink:href="#…"> within inline SVG links to a local IRI for a target resource within the same document. In Safari 8.0.8 and nightly builds up to at least Webkit r.188939, this works when the IRI uses the name attribute of the target anchor – but the name attribute is deprecated in HTML5 in favour of using element IDs. However, xlink:href does not link successfully when the IRI uses the id attribute of the target resource (whether it is an <a> anchor or an ordinary element). In contrast, Chrome, Firefox and earlier versions of Safari (eg 5.1) work as expected with IDs.

Possibly similar to Webkit Bugzilla 91520, but does not require target resource to be external.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150826/8b990e92/attachment.html>

More information about the webkit-unassigned mailing list