rack-caniuse 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. data/README.md +19 -12
  2. data/caniuse/features-json/apng.json +158 -0
  3. data/caniuse/features-json/audio-api.json +146 -0
  4. data/caniuse/features-json/audio.json +167 -0
  5. data/caniuse/features-json/background-img-opts.json +155 -0
  6. data/caniuse/features-json/blobbuilder.json +146 -0
  7. data/caniuse/features-json/bloburls.json +142 -0
  8. data/caniuse/features-json/border-image.json +142 -0
  9. data/caniuse/features-json/border-radius.json +162 -0
  10. data/caniuse/features-json/calc.json +146 -0
  11. data/caniuse/features-json/canvas-text.json +147 -0
  12. data/caniuse/features-json/canvas.json +161 -0
  13. data/caniuse/features-json/classlist.json +147 -0
  14. data/caniuse/features-json/contenteditable.json +155 -0
  15. data/caniuse/features-json/contentsecuritypolicy.json +144 -0
  16. data/caniuse/features-json/cors.json +156 -0
  17. data/caniuse/features-json/css-animation.json +148 -0
  18. data/caniuse/features-json/css-boxshadow.json +156 -0
  19. data/caniuse/features-json/css-canvas.json +142 -0
  20. data/caniuse/features-json/css-counters.json +146 -0
  21. data/caniuse/features-json/css-featurequeries.json +150 -0
  22. data/caniuse/features-json/css-filters.json +155 -0
  23. data/caniuse/features-json/css-fixed.json +151 -0
  24. data/caniuse/features-json/css-gencontent.json +151 -0
  25. data/caniuse/features-json/css-gradients.json +154 -0
  26. data/caniuse/features-json/css-grid.json +150 -0
  27. data/caniuse/features-json/css-hyphens.json +146 -0
  28. data/caniuse/features-json/css-masks.json +142 -0
  29. data/caniuse/features-json/css-mediaqueries.json +152 -0
  30. data/caniuse/features-json/css-opacity.json +142 -0
  31. data/caniuse/features-json/css-reflections.json +142 -0
  32. data/caniuse/features-json/css-regions.json +146 -0
  33. data/caniuse/features-json/css-repeating-gradients.json +146 -0
  34. data/caniuse/features-json/css-resize.json +142 -0
  35. data/caniuse/features-json/css-sel2.json +156 -0
  36. data/caniuse/features-json/css-sel3.json +150 -0
  37. data/caniuse/features-json/css-table.json +148 -0
  38. data/caniuse/features-json/css-textshadow.json +152 -0
  39. data/caniuse/features-json/css-transitions.json +165 -0
  40. data/caniuse/features-json/css3-boxsizing.json +152 -0
  41. data/caniuse/features-json/css3-colors.json +154 -0
  42. data/caniuse/features-json/css3-conditional.json +145 -0
  43. data/caniuse/features-json/datalist.json +150 -0
  44. data/caniuse/features-json/dataset.json +152 -0
  45. data/caniuse/features-json/datauri.json +150 -0
  46. data/caniuse/features-json/details.json +150 -0
  47. data/caniuse/features-json/deviceorientation.json +142 -0
  48. data/caniuse/features-json/download.json +146 -0
  49. data/caniuse/features-json/dragndrop.json +152 -0
  50. data/caniuse/features-json/eot.json +146 -0
  51. data/caniuse/features-json/eventsource.json +148 -0
  52. data/caniuse/features-json/fileapi.json +142 -0
  53. data/caniuse/features-json/filereader.json +142 -0
  54. data/caniuse/features-json/filesystem.json +142 -0
  55. data/caniuse/features-json/flexbox.json +156 -0
  56. data/caniuse/features-json/font-feature.json +150 -0
  57. data/caniuse/features-json/fontface.json +156 -0
  58. data/caniuse/features-json/form-validation.json +141 -0
  59. data/caniuse/features-json/forms.json +151 -0
  60. data/caniuse/features-json/fullscreen.json +150 -0
  61. data/caniuse/features-json/geolocation.json +144 -0
  62. data/caniuse/features-json/getcomputedstyle.json +152 -0
  63. data/caniuse/features-json/getelementsbyclassname.json +145 -0
  64. data/caniuse/features-json/hashchange.json +155 -0
  65. data/caniuse/features-json/history.json +156 -0
  66. data/caniuse/features-json/html5semantic.json +150 -0
  67. data/caniuse/features-json/iframe-sandbox.json +146 -0
  68. data/caniuse/features-json/indexeddb.json +148 -0
  69. data/caniuse/features-json/inline-block.json +146 -0
  70. data/caniuse/features-json/input-color.json +146 -0
  71. data/caniuse/features-json/input-datetime.json +146 -0
  72. data/caniuse/features-json/input-number.json +146 -0
  73. data/caniuse/features-json/input-placeholder.json +146 -0
  74. data/caniuse/features-json/input-range.json +150 -0
  75. data/caniuse/features-json/json.json +146 -0
  76. data/caniuse/features-json/matchesselector.json +143 -0
  77. data/caniuse/features-json/matchmedia.json +151 -0
  78. data/caniuse/features-json/mathml.json +158 -0
  79. data/caniuse/features-json/menu.json +146 -0
  80. data/caniuse/features-json/minmaxwh.json +148 -0
  81. data/caniuse/features-json/mpeg4.json +148 -0
  82. data/caniuse/features-json/multibackgrounds.json +148 -0
  83. data/caniuse/features-json/multicolumn.json +154 -0
  84. data/caniuse/features-json/namevalue-storage.json +150 -0
  85. data/caniuse/features-json/nav-timing.json +147 -0
  86. data/caniuse/features-json/notifications.json +146 -0
  87. data/caniuse/features-json/object-fit.json +142 -0
  88. data/caniuse/features-json/offline-apps.json +152 -0
  89. data/caniuse/features-json/ogv.json +142 -0
  90. data/caniuse/features-json/outline.json +148 -0
  91. data/caniuse/features-json/pagevisibility.json +142 -0
  92. data/caniuse/features-json/png-alpha.json +148 -0
  93. data/caniuse/features-json/pointer-events.json +144 -0
  94. data/caniuse/features-json/progressmeter.json +150 -0
  95. data/caniuse/features-json/queryselector.json +150 -0
  96. data/caniuse/features-json/rellist.json +143 -0
  97. data/caniuse/features-json/rem.json +144 -0
  98. data/caniuse/features-json/requestanimationframe.json +146 -0
  99. data/caniuse/features-json/ruby.json +146 -0
  100. data/caniuse/features-json/script-async.json +147 -0
  101. data/caniuse/features-json/script-defer.json +143 -0
  102. data/caniuse/features-json/sharedworkers.json +146 -0
  103. data/caniuse/features-json/spdy.json +146 -0
  104. data/caniuse/features-json/sql-storage.json +142 -0
  105. data/caniuse/features-json/stream.json +143 -0
  106. data/caniuse/features-json/stricttransportsecurity.json +146 -0
  107. data/caniuse/features-json/style-scoped.json +151 -0
  108. data/caniuse/features-json/svg-css.json +145 -0
  109. data/caniuse/features-json/svg-filters.json +148 -0
  110. data/caniuse/features-json/svg-fonts.json +146 -0
  111. data/caniuse/features-json/svg-fragment.json +142 -0
  112. data/caniuse/features-json/svg-html.json +150 -0
  113. data/caniuse/features-json/svg-html5.json +147 -0
  114. data/caniuse/features-json/svg-img.json +148 -0
  115. data/caniuse/features-json/svg-smil.json +152 -0
  116. data/caniuse/features-json/svg.json +158 -0
  117. data/caniuse/features-json/testfeat.json +142 -0
  118. data/caniuse/features-json/text-overflow.json +150 -0
  119. data/caniuse/features-json/text-stroke.json +146 -0
  120. data/caniuse/features-json/touch.json +156 -0
  121. data/caniuse/features-json/transforms2d.json +160 -0
  122. data/caniuse/features-json/transforms3d.json +150 -0
  123. data/caniuse/features-json/ttf.json +139 -0
  124. data/caniuse/features-json/typedarrays.json +147 -0
  125. data/caniuse/features-json/use-strict.json +146 -0
  126. data/caniuse/features-json/user-select-none.json +142 -0
  127. data/caniuse/features-json/video.json +154 -0
  128. data/caniuse/features-json/viewport-units.json +147 -0
  129. data/caniuse/features-json/wai-aria.json +158 -0
  130. data/caniuse/features-json/webgl.json +158 -0
  131. data/caniuse/features-json/webm.json +150 -0
  132. data/caniuse/features-json/websockets.json +150 -0
  133. data/caniuse/features-json/webworkers.json +150 -0
  134. data/caniuse/features-json/woff.json +142 -0
  135. data/caniuse/features-json/word-break.json +142 -0
  136. data/caniuse/features-json/wordwrap.json +146 -0
  137. data/caniuse/features-json/x-doc-messaging.json +152 -0
  138. data/caniuse/features-json/xhr2.json +153 -0
  139. data/caniuse/features-json/xhtml.json +146 -0
  140. data/caniuse/features-json/xhtmlsmil.json +146 -0
  141. data/lib/rack/caniuse.rb +15 -9
  142. metadata +140 -2
  143. data/Rakefile +0 -8
@@ -0,0 +1,155 @@
1
+ {
2
+ "title":"Hashchange event",
3
+ "description":"Event triggered in JavaScript when the URL's hash has changed (for example: page.html#foo to page.html#bar) ",
4
+ "spec":"http://www.w3.org/TR/html5/history.html#event-hashchange",
5
+ "status":"cr",
6
+ "links":[
7
+ {
8
+ "url":"https://developer.mozilla.org/en/DOM/window.onhashchange",
9
+ "title":"MDN article"
10
+ },
11
+ {
12
+ "url":"http://github.com/3nr1c/jUri.js",
13
+ "title":"Polyfill"
14
+ },
15
+ {
16
+ "url":"http://www.quirksmode.org/dom/events/tests/hashchange.html",
17
+ "title":"Simple demo"
18
+ },
19
+ {
20
+ "url":"http://msdn.microsoft.com/en-us/library/cc288209(VS.85).aspx",
21
+ "title":"MSDN article"
22
+ }
23
+ ],
24
+ "bugs":[
25
+
26
+ ],
27
+ "categories":[
28
+ "JS API",
29
+ "HTML5"
30
+ ],
31
+ "stats":{
32
+ "ie":{
33
+ "5.5":"p",
34
+ "6":"p",
35
+ "7":"p",
36
+ "8":"y",
37
+ "9":"y",
38
+ "10":"y"
39
+ },
40
+ "firefox":{
41
+ "2":"p",
42
+ "3":"p",
43
+ "3.5":"p",
44
+ "3.6":"y",
45
+ "4":"y",
46
+ "5":"y",
47
+ "6":"y",
48
+ "7":"y",
49
+ "8":"y",
50
+ "9":"y",
51
+ "10":"y",
52
+ "11":"y",
53
+ "12":"y",
54
+ "13":"y",
55
+ "14":"y",
56
+ "15":"y",
57
+ "16":"y",
58
+ "17":"y",
59
+ "18":"y",
60
+ "19":"y",
61
+ "20":"y"
62
+ },
63
+ "chrome":{
64
+ "4":"p",
65
+ "5":"y",
66
+ "6":"y",
67
+ "7":"y",
68
+ "8":"y",
69
+ "9":"y",
70
+ "10":"y",
71
+ "11":"y",
72
+ "12":"y",
73
+ "13":"y",
74
+ "14":"y",
75
+ "15":"y",
76
+ "16":"y",
77
+ "17":"y",
78
+ "18":"y",
79
+ "19":"y",
80
+ "20":"y",
81
+ "21":"y",
82
+ "22":"y",
83
+ "23":"y",
84
+ "24":"y",
85
+ "25":"y",
86
+ "26":"y"
87
+ },
88
+ "safari":{
89
+ "3.1":"p",
90
+ "3.2":"p",
91
+ "4":"p",
92
+ "5":"y",
93
+ "5.1":"y",
94
+ "6":"y"
95
+ },
96
+ "opera":{
97
+ "9":"p",
98
+ "9.5-9.6":"p",
99
+ "10.0-10.1":"p",
100
+ "10.5":"p",
101
+ "10.6":"y",
102
+ "11":"y",
103
+ "11.1":"y",
104
+ "11.5":"y",
105
+ "11.6":"y",
106
+ "12":"y",
107
+ "12.1":"y",
108
+ "12.5":"y"
109
+ },
110
+ "ios_saf":{
111
+ "3.2":"n",
112
+ "4.0-4.1":"y",
113
+ "4.2-4.3":"y",
114
+ "5.0-5.1":"y",
115
+ "6":"y"
116
+ },
117
+ "op_mini":{
118
+ "5.0-7.0":"n"
119
+ },
120
+ "android":{
121
+ "2.1":"n",
122
+ "2.2":"y",
123
+ "2.3":"y",
124
+ "3":"y",
125
+ "4":"y",
126
+ "4.1":"y",
127
+ "4.2":"y"
128
+ },
129
+ "bb":{
130
+ "7":"y",
131
+ "10":"y"
132
+ },
133
+ "op_mob":{
134
+ "10":"p",
135
+ "11":"y",
136
+ "11.1":"y",
137
+ "11.5":"y",
138
+ "12":"y",
139
+ "12.1":"y"
140
+ },
141
+ "and_chr":{
142
+ "0":"y"
143
+ },
144
+ "and_ff":{
145
+ "0":"y"
146
+ }
147
+ },
148
+ "notes":"",
149
+ "usage_perc_y":91.86,
150
+ "usage_perc_a":0,
151
+ "ucprefix":false,
152
+ "parent":"",
153
+ "keywords":"onhashchange,HashChangeEvent",
154
+ "shown":true
155
+ }
@@ -0,0 +1,156 @@
1
+ {
2
+ "title":"Session history management",
3
+ "description":"Method of manipulating the user's browser's session history in JavaScript using history.pushState, history.replaceState and the popstate event",
4
+ "spec":"http://www.w3.org/TR/html5/browsers.html#history-1",
5
+ "status":"cr",
6
+ "links":[
7
+ {
8
+ "url":"https://github.com/balupton/history.js",
9
+ "title":"History.js polyfill "
10
+ },
11
+ {
12
+ "url":"http://www.adequatelygood.com/2010/7/Saner-HTML5-History-Management",
13
+ "title":"Introduction to history management"
14
+ },
15
+ {
16
+ "url":"https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history",
17
+ "title":"MDN article"
18
+ },
19
+ {
20
+ "url":"http://html5demos.com/history",
21
+ "title":"Demo page"
22
+ }
23
+ ],
24
+ "bugs":[
25
+ {
26
+ "description":"history.pushState() is buggy in Android 2.2 and 2.3 in that it doesn't cause window.location to update with the new URL. This works in all other browsers that support pushState(). <a href=\"http://code.google.com/p/android/issues/detail?id=17471\">See Android bug report</a>."
27
+ }
28
+ ],
29
+ "categories":[
30
+ "HTML5"
31
+ ],
32
+ "stats":{
33
+ "ie":{
34
+ "5.5":"n",
35
+ "6":"n",
36
+ "7":"n",
37
+ "8":"n",
38
+ "9":"n",
39
+ "10":"y"
40
+ },
41
+ "firefox":{
42
+ "2":"n",
43
+ "3":"n",
44
+ "3.5":"n",
45
+ "3.6":"n",
46
+ "4":"y",
47
+ "5":"y",
48
+ "6":"y",
49
+ "7":"y",
50
+ "8":"y",
51
+ "9":"y",
52
+ "10":"y",
53
+ "11":"y",
54
+ "12":"y",
55
+ "13":"y",
56
+ "14":"y",
57
+ "15":"y",
58
+ "16":"y",
59
+ "17":"y",
60
+ "18":"y",
61
+ "19":"y",
62
+ "20":"y"
63
+ },
64
+ "chrome":{
65
+ "4":"n",
66
+ "5":"y",
67
+ "6":"y",
68
+ "7":"y",
69
+ "8":"y",
70
+ "9":"y",
71
+ "10":"y",
72
+ "11":"y",
73
+ "12":"y",
74
+ "13":"y",
75
+ "14":"y",
76
+ "15":"y",
77
+ "16":"y",
78
+ "17":"y",
79
+ "18":"y",
80
+ "19":"y",
81
+ "20":"y",
82
+ "21":"y",
83
+ "22":"y",
84
+ "23":"y",
85
+ "24":"y",
86
+ "25":"y",
87
+ "26":"y"
88
+ },
89
+ "safari":{
90
+ "3.1":"n",
91
+ "3.2":"n",
92
+ "4":"n",
93
+ "5":"a",
94
+ "5.1":"a",
95
+ "6":"a"
96
+ },
97
+ "opera":{
98
+ "9":"n",
99
+ "9.5-9.6":"n",
100
+ "10.0-10.1":"n",
101
+ "10.5":"n",
102
+ "10.6":"n",
103
+ "11":"n",
104
+ "11.1":"n",
105
+ "11.5":"y",
106
+ "11.6":"y",
107
+ "12":"y",
108
+ "12.1":"y",
109
+ "12.5":"y"
110
+ },
111
+ "ios_saf":{
112
+ "3.2":"n",
113
+ "4.0-4.1":"n",
114
+ "4.2-4.3":"a",
115
+ "5.0-5.1":"y",
116
+ "6":"y"
117
+ },
118
+ "op_mini":{
119
+ "5.0-7.0":"n"
120
+ },
121
+ "android":{
122
+ "2.1":"n",
123
+ "2.2":"y",
124
+ "2.3":"y",
125
+ "3":"n",
126
+ "4":"n",
127
+ "4.1":"n",
128
+ "4.2":"y"
129
+ },
130
+ "bb":{
131
+ "7":"y",
132
+ "10":"y"
133
+ },
134
+ "op_mob":{
135
+ "10":"n",
136
+ "11":"n",
137
+ "11.1":"y",
138
+ "11.5":"y",
139
+ "12":"y",
140
+ "12.1":"y"
141
+ },
142
+ "and_chr":{
143
+ "0":"y"
144
+ },
145
+ "and_ff":{
146
+ "0":"y"
147
+ }
148
+ },
149
+ "notes":"Older iOS versions and Android 4.0.4 claim support, but implementation is too buggy to be useful. Partial support in other Safari browsers refers to other buggy behavior.",
150
+ "usage_perc_y":60.34,
151
+ "usage_perc_a":4.22,
152
+ "ucprefix":false,
153
+ "parent":"",
154
+ "keywords":"onpushstate,onreplacestate",
155
+ "shown":true
156
+ }
@@ -0,0 +1,150 @@
1
+ {
2
+ "title":"New semantic elements",
3
+ "description":"HTML5 offers some new elements, primarily for semantic purposes. The elements include: section, article, aside, hgroup, header, footer, nav, figure, figcaption, time, mark.",
4
+ "spec":"http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#sections",
5
+ "status":"wd",
6
+ "links":[
7
+ {
8
+ "url":"http://oli.jp/2009/html5-structure3/",
9
+ "title":"Article on structural elements"
10
+ },
11
+ {
12
+ "url":"http://blog.whatwg.org/styling-ie-noscript",
13
+ "title":"Alternate workaround"
14
+ },
15
+ {
16
+ "url":"http://blog.whatwg.org/supporting-new-elements-in-ie",
17
+ "title":"Workaround for IE"
18
+ }
19
+ ],
20
+ "bugs":[
21
+
22
+ ],
23
+ "categories":[
24
+ "HTML5"
25
+ ],
26
+ "stats":{
27
+ "ie":{
28
+ "5.5":"n",
29
+ "6":"p",
30
+ "7":"p",
31
+ "8":"p",
32
+ "9":"y",
33
+ "10":"y"
34
+ },
35
+ "firefox":{
36
+ "2":"n",
37
+ "3":"a",
38
+ "3.5":"a",
39
+ "3.6":"a",
40
+ "4":"y",
41
+ "5":"y",
42
+ "6":"y",
43
+ "7":"y",
44
+ "8":"y",
45
+ "9":"y",
46
+ "10":"y",
47
+ "11":"y",
48
+ "12":"y",
49
+ "13":"y",
50
+ "14":"y",
51
+ "15":"y",
52
+ "16":"y",
53
+ "17":"y",
54
+ "18":"y",
55
+ "19":"y",
56
+ "20":"y"
57
+ },
58
+ "chrome":{
59
+ "4":"a",
60
+ "5":"a",
61
+ "6":"y",
62
+ "7":"y",
63
+ "8":"y",
64
+ "9":"y",
65
+ "10":"y",
66
+ "11":"y",
67
+ "12":"y",
68
+ "13":"y",
69
+ "14":"y",
70
+ "15":"y",
71
+ "16":"y",
72
+ "17":"y",
73
+ "18":"y",
74
+ "19":"y",
75
+ "20":"y",
76
+ "21":"y",
77
+ "22":"y",
78
+ "23":"y",
79
+ "24":"y",
80
+ "25":"y",
81
+ "26":"y"
82
+ },
83
+ "safari":{
84
+ "3.1":"a",
85
+ "3.2":"a",
86
+ "4":"a",
87
+ "5":"y",
88
+ "5.1":"y",
89
+ "6":"y"
90
+ },
91
+ "opera":{
92
+ "9":"a",
93
+ "9.5-9.6":"a",
94
+ "10.0-10.1":"a",
95
+ "10.5":"a",
96
+ "10.6":"a",
97
+ "11":"a",
98
+ "11.1":"y",
99
+ "11.5":"y",
100
+ "11.6":"y",
101
+ "12":"y",
102
+ "12.1":"y",
103
+ "12.5":"y"
104
+ },
105
+ "ios_saf":{
106
+ "3.2":"a",
107
+ "4.0-4.1":"y",
108
+ "4.2-4.3":"y",
109
+ "5.0-5.1":"y",
110
+ "6":"y"
111
+ },
112
+ "op_mini":{
113
+ "5.0-7.0":"a"
114
+ },
115
+ "android":{
116
+ "2.1":"a",
117
+ "2.2":"y",
118
+ "2.3":"y",
119
+ "3":"y",
120
+ "4":"y",
121
+ "4.1":"y",
122
+ "4.2":"y"
123
+ },
124
+ "bb":{
125
+ "7":"y",
126
+ "10":"y"
127
+ },
128
+ "op_mob":{
129
+ "10":"a",
130
+ "11":"y",
131
+ "11.1":"y",
132
+ "11.5":"y",
133
+ "12":"y",
134
+ "12.1":"y"
135
+ },
136
+ "and_chr":{
137
+ "0":"y"
138
+ },
139
+ "and_ff":{
140
+ "0":"y"
141
+ }
142
+ },
143
+ "notes":"Partial support refers to missing the default styling. This is easily taken care of by using display:block for all new elements (except time and mark, these should be display:inline anyway).",
144
+ "usage_perc_y":81.72,
145
+ "usage_perc_a":3.09,
146
+ "ucprefix":false,
147
+ "parent":"",
148
+ "keywords":"",
149
+ "shown":true
150
+ }