[Webkit-unassigned] [Bug 213836] New: Safari creates phone links for numbers in format ###-####

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 1 05:47:43 PDT 2020


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

            Bug ID: 213836
           Summary: Safari creates phone links for numbers in format
                    ###-####
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: proci.wiki at gmail.com

Writing numbers in the format: `###-####` causes Safari on iOS to treat them as a phone link (tel:). This format is typically also used for year ranges, e.g. 900-1200.

Functionality is described further here: https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html

Phone numbers are usually written with a hyphen ("-", 0x2D). Whereas, year ranges are typically written with en-dash ("–", 0x2013). Automatic phone linking shouldn't occur for the en-dash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200701/8953abb3/attachment.htm>


More information about the webkit-unassigned mailing list