- From: <bugzilla@jessica.w3.org>
- Date: Thu, 07 May 2015 05:45:24 +0000
- To: public-html-admin@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28616 Bug ID: 28616 Summary: Feature testing for <link rel> Product: HTML WG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: HTML5 spec Assignee: dave.null@w3.org Reporter: igrigorik@gmail.com QA Contact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-admin@w3.org, public-html-wg-issue-tracking@w3.org 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, 7 May 2015 05:45:26 UTC