WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
213836
Safari creates phone links for numbers in format ###-####
https://bugs.webkit.org/show_bug.cgi?id=213836
Summary
Safari creates phone links for numbers in format ###-####
proci.wiki
Reported
2020-07-01 05:47:43 PDT
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.
Attachments
Picture of issue
(428.43 KB, image/jpeg)
2020-07-01 05:48 PDT
,
proci.wiki
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
proci.wiki
Comment 1
2020-07-01 05:48:44 PDT
Created
attachment 403283
[details]
Picture of issue
Alexey Proskuryakov
Comment 2
2020-07-01 09:16:05 PDT
This functionality is not part of WebKit (other than enabling the ability for another framework to perform the processing). Please report this issue to Apple via <
https://developer.apple.com/bug-reporting/
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug