- From: <bugzilla@jessica.w3.org>
- Date: Thu, 11 Jun 2015 16:09:25 +0000
- To: public-html-admin@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28796 Bug ID: 28796 Summary: Feature testing for <link rel> Product: WHATWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: HTML Assignee: ian@hixie.ch Reporter: simonp@opera.com QA Contact: contributor@whatwg.org CC: igrigorik@gmail.com, mike@w3.org, public-html-admin@w3.org, public-html-wg-issue-tracking@w3.org Depends on: 28616 +++ This bug was initially created as a clone of Bug #28616 +++ We need a way to test support for various <link rel> features - e.g. prerender, prefetch, preload, preconnect. Related threads: - https://github.com/w3c/preload/issues/7 - https://lists.w3.org/Archives/Public/public-whatwg-archive/2015Apr/0000.html Simon's proposal from the mailing list: > For <link rel>, we could solve the feature-testing problem by normalizing the case for supported keywords but not unsupported keywords, so you can check with .rel or .relList: > > function preloadSupported() { > var link = document.createElement('link'); > link.rel = 'PRELOAD'; > return link.rel == 'preload'; > } -- You are receiving this mail because: You are on the CC list for the bug.
Received on Thursday, 11 June 2015 16:09:30 UTC