Need to provide a way to feature detect support for system preview
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 May 2018 19:10:38 +0000 (19:10 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 May 2018 19:10:38 +0000 (19:10 +0000)
commit83ae4ae4f4fa7b313f320264fa0c3e9f9c6704fe
tree6eb823d6dbc3d9c3cde271aa223300430fd4cd35
parent1661d6f93c3a7c55fc2251da70fc85dae11297a8
Need to provide a way to feature detect support for system preview
https://bugs.webkit.org/show_bug.cgi?id=185970
<rdar://problem/40538321>

Reviewed by Sam Weinig.

Update the supports function in the DOMTokenList that HTMLAnchorElement
produces for relList to return true for the system preview token.

Tested internally.

* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::relList const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLAnchorElement.cpp