123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348 |
- {
- "title":"dataset & data-* attributes",
- "description":"Method of applying and accessing custom data to elements.",
- "spec":"https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes",
- "status":"ls",
- "links":[
- {
- "url":"http://html5doctor.com/html5-custom-data-attributes/",
- "title":"HTML5 Doctor article"
- },
- {
- "url":"http://html5demos.com/dataset",
- "title":"Demo using dataset"
- },
- {
- "url":"https://raw.github.com/phiggins42/has.js/master/detect/dom.js#dom-dataset",
- "title":"has.js test"
- },
- {
- "url":"https://www.webplatform.org/docs/html/attributes/data-*",
- "title":"WebPlatform Docs"
- },
- {
- "url":"https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement.dataset",
- "title":"MDN Web Docs - dataset"
- },
- {
- "url":"https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes",
- "title":"MDN Guide - Using data-* attributes"
- },
- {
- "url":"https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/15885483-support-dataset-and-data-attributes-on-svg-element",
- "title":"MS Edge UserVoice #15885483: Support dataset and data attributes on SVG elements"
- }
- ],
- "bugs":[
- {
- "description":"Android 2.3 cannot read `data-*` properties from `select` elements.\r\n"
- },
- {
- "description":"Safari 10 and below can return `undefined` on properties of `dataset` in some cases. ([See bug](https://bugs.webkit.org/show_bug.cgi?id=161454)).\r\n"
- }
- ],
- "categories":[
- "HTML5"
- ],
- "stats":{
- "ie":{
- "5.5":"a",
- "6":"a",
- "7":"a",
- "8":"a",
- "9":"a",
- "10":"a",
- "11":"y"
- },
- "edge":{
- "12":"y",
- "13":"y",
- "14":"y",
- "15":"y",
- "16":"y",
- "17":"y"
- },
- "firefox":{
- "2":"a",
- "3":"a",
- "3.5":"a",
- "3.6":"a",
- "4":"a",
- "5":"a",
- "6":"y",
- "7":"y",
- "8":"y",
- "9":"y",
- "10":"y",
- "11":"y",
- "12":"y",
- "13":"y",
- "14":"y",
- "15":"y",
- "16":"y",
- "17":"y",
- "18":"y",
- "19":"y",
- "20":"y",
- "21":"y",
- "22":"y",
- "23":"y",
- "24":"y",
- "25":"y",
- "26":"y",
- "27":"y",
- "28":"y",
- "29":"y",
- "30":"y",
- "31":"y",
- "32":"y",
- "33":"y",
- "34":"y",
- "35":"y",
- "36":"y",
- "37":"y",
- "38":"y",
- "39":"y",
- "40":"y",
- "41":"y",
- "42":"y",
- "43":"y",
- "44":"y",
- "45":"y",
- "46":"y",
- "47":"y",
- "48":"y",
- "49":"y",
- "50":"y",
- "51":"y #1",
- "52":"y #1",
- "53":"y #1",
- "54":"y #1",
- "55":"y #1",
- "56":"y #1",
- "57":"y #1",
- "58":"y #1",
- "59":"y #1",
- "60":"y #1",
- "61":"y #1"
- },
- "chrome":{
- "4":"a",
- "5":"a",
- "6":"a",
- "7":"y #1",
- "8":"y #1",
- "9":"y #1",
- "10":"y #1",
- "11":"y #1",
- "12":"y #1",
- "13":"y #1",
- "14":"y #1",
- "15":"y #1",
- "16":"y #1",
- "17":"y #1",
- "18":"y #1",
- "19":"y #1",
- "20":"y #1",
- "21":"y #1",
- "22":"y #1",
- "23":"y #1",
- "24":"y #1",
- "25":"y #1",
- "26":"y #1",
- "27":"y #1",
- "28":"y #1",
- "29":"y #1",
- "30":"y #1",
- "31":"y #1",
- "32":"y #1",
- "33":"y #1",
- "34":"y #1",
- "35":"y #1",
- "36":"y #1",
- "37":"y #1",
- "38":"y #1",
- "39":"y #1",
- "40":"y #1",
- "41":"y #1",
- "42":"y #1",
- "43":"y #1",
- "44":"y #1",
- "45":"y",
- "46":"y",
- "47":"y",
- "48":"y",
- "49":"y",
- "50":"y",
- "51":"y",
- "52":"y",
- "53":"y",
- "54":"y",
- "55":"y #1",
- "56":"y #1",
- "57":"y #1",
- "58":"y #1",
- "59":"y #1",
- "60":"y #1",
- "61":"y #1",
- "62":"y #1",
- "63":"y #1",
- "64":"y #1",
- "65":"y #1",
- "66":"y #1",
- "67":"y #1"
- },
- "safari":{
- "3.1":"a",
- "3.2":"a",
- "4":"a",
- "5":"a",
- "5.1":"y #1",
- "6":"y #1",
- "6.1":"y #1",
- "7":"y #1",
- "7.1":"y #1",
- "8":"y #1",
- "9":"y #1",
- "9.1":"y #1",
- "10":"y #1",
- "10.1":"y #1",
- "11":"y #1",
- "11.1":"y #1",
- "TP":"y #1"
- },
- "opera":{
- "9":"a",
- "9.5-9.6":"a",
- "10.0-10.1":"a",
- "10.5":"a",
- "10.6":"a",
- "11":"a",
- "11.1":"y",
- "11.5":"y",
- "11.6":"y",
- "12":"y",
- "12.1":"y",
- "15":"y #1",
- "16":"y #1",
- "17":"y #1",
- "18":"y #1",
- "19":"y #1",
- "20":"y #1",
- "21":"y #1",
- "22":"y #1",
- "23":"y #1",
- "24":"y #1",
- "25":"y #1",
- "26":"y #1",
- "27":"y #1",
- "28":"y #1",
- "29":"y #1",
- "30":"y #1",
- "31":"y #1",
- "32":"y",
- "33":"y",
- "34":"y",
- "35":"y",
- "36":"y",
- "37":"y",
- "38":"y",
- "39":"y",
- "40":"y",
- "41":"y",
- "42":"y #1",
- "43":"y #1",
- "44":"y #1",
- "45":"y #1",
- "46":"y #1",
- "47":"y #1",
- "48":"y #1",
- "49":"y #1",
- "50":"y #1",
- "51":"y #1",
- "52":"y #1"
- },
- "ios_saf":{
- "3.2":"a",
- "4.0-4.1":"a",
- "4.2-4.3":"a",
- "5.0-5.1":"y #1",
- "6.0-6.1":"y #1",
- "7.0-7.1":"y #1",
- "8":"y #1",
- "8.1-8.4":"y #1",
- "9.0-9.2":"y #1",
- "9.3":"y #1",
- "10.0-10.2":"y #1",
- "10.3":"y #1",
- "11.0-11.2":"y #1",
- "11.3":"y #1"
- },
- "op_mini":{
- "all":"a"
- },
- "android":{
- "2.1":"a",
- "2.2":"a",
- "2.3":"a",
- "3":"y #1",
- "4":"y #1",
- "4.1":"y #1",
- "4.2-4.3":"y #1",
- "4.4":"y #1",
- "4.4.3-4.4.4":"y #1",
- "62":"y #1"
- },
- "bb":{
- "7":"y #1",
- "10":"y #1"
- },
- "op_mob":{
- "10":"a",
- "11":"a",
- "11.1":"y",
- "11.5":"y",
- "12":"y",
- "12.1":"y",
- "37":"y #1"
- },
- "and_chr":{
- "64":"y #1"
- },
- "and_ff":{
- "57":"y #1"
- },
- "ie_mob":{
- "10":"a",
- "11":"y"
- },
- "and_uc":{
- "11.8":"y #1"
- },
- "samsung":{
- "4":"y #1",
- "5":"y #1",
- "6.2":"y #1"
- },
- "and_qq":{
- "1.2":"y"
- },
- "baidu":{
- "7.12":"y #1"
- }
- },
- "notes":"Partial support refers to being able to use `data-*` attributes and access them using `getAttribute`. \r\n\r\n\"Supported\" refers to accessing the values using the `dataset` property. Current spec only refers to support on HTML elements, only some browsers also have support for SVG/MathML elements.",
- "notes_by_num":{
- "1":"While the HTML spec doesn't require it, these browsers also support `dataset` and `data-*` attributes on SVG elements, in compliance with [current plans for SVG2](https://www.w3.org/2015/01/15-svg-minutes.html#item03)"
- },
- "usage_perc_y":94.55,
- "usage_perc_a":3.69,
- "ucprefix":false,
- "parent":"",
- "keywords":"DOMStringMap",
- "ie_id":"",
- "chrome_id":"",
- "firefox_id":"",
- "webkit_id":"",
- "shown":true
- }
|