W3C home > Mailing lists > Public > public-html@w3.org > August 2011

[Bug 13853] New: Add feature detection: The HTML5 specification should include a recommended feature detection technique for each major feature. For instance in the drag & drop section, include a recommendation on how to detect if the Web browser implements the key featur

From: <bugzilla@jessica.w3.org>
Date: Sun, 21 Aug 2011 20:50:43 +0000
To: public-html@w3.org
Message-ID: <bug-13853-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13853

           Summary: Add feature detection: The HTML5 specification should
                    include a recommended feature detection technique for
                    each major feature. For instance in the drag & drop
                    section, include a recommendation on how to detect if
                    the Web browser implements the key featur
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification: http://dev.w3.org/html5/spec/Overview.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Add feature detection:
The HTML5 specification should include a recommended feature detection
technique for each major feature.
For instance in the drag & drop section, include a recommendation on how to
detect if the Web browser implements the key features (e.g. file drop).
This is not trivial, and not standard yet.
For instance, Firefox returns false to: { 'ondrop' in
document.createElement('div') } although 'ondrop' is implemented.
A starting point:
- http://diveintohtml5.org/everything.html
- http://www.modernizr.com
- https://github.com/Modernizr/Modernizr/wiki/Undetectables
-
http://blogs.msdn.com/b/ie/archive/2010/04/14/same-markup-writing-cross-browse
r-code.aspx
-
https://developer.mozilla.org/En/Browser_Detection_and_Cross_Browser_Support#U
se_feature_oriented_object_detection
Cordially,
Alexandre Alapetite
http://alexandre.alapetite.fr


Posted from: 89.150.138.175
User agent: Opera/9.80 (Windows NT 6.1; U; fr) Presto/2.9.168 Version/11.50

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Sunday, 21 August 2011 20:50:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:37 GMT