Geen omschrijving

innertext.json 6.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. {
  2. "title":"Node.innerText",
  3. "description":"A property representing the text within a DOM element and its descendants. As a getter, it approximates the text the user would get if they highlighted the contents of the element with the cursor and then copied to the clipboard.",
  4. "spec":"https://html.spec.whatwg.org/multipage/dom.html#the-innertext-idl-attribute",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en-US/docs/Web/API/Node/innerText",
  9. "title":"MDN Web Docs - innerText"
  10. },
  11. {
  12. "url":"https://github.com/whatwg/compat/issues/5",
  13. "title":"WHATWG Compatibility Standard issue #5: spec innerText"
  14. },
  15. {
  16. "url":"https://github.com/timdown/rangy",
  17. "title":"Rangy, a JS range and selection library which contains an innerText implementation"
  18. },
  19. {
  20. "url":"http://discourse.wicg.io/t/standardizing-innertext/799",
  21. "title":"Standardizing innerText \u2013 Web Incubator Community Group (WICG) discussion"
  22. },
  23. {
  24. "url":"https://msdn.microsoft.com/library/ms533899(v=vs.85).aspx",
  25. "title":"MSDN documentation"
  26. }
  27. ],
  28. "bugs":[
  29. {
  30. "description":"In IE10 and IE11, when using `innerText` (and also `innerHTML` or `outerHTML`) on a `textarea` which has a `placeholder` attribute, the returned HTML/text also uses the `placeholder`'s value as the actual `textarea`'s value. [See bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/101525/)."
  31. }
  32. ],
  33. "categories":[
  34. "DOM"
  35. ],
  36. "stats":{
  37. "ie":{
  38. "5.5":"u",
  39. "6":"y",
  40. "7":"y",
  41. "8":"y",
  42. "9":"y",
  43. "10":"y",
  44. "11":"y"
  45. },
  46. "edge":{
  47. "12":"y",
  48. "13":"y",
  49. "14":"y",
  50. "15":"y",
  51. "16":"y",
  52. "17":"y"
  53. },
  54. "firefox":{
  55. "2":"n",
  56. "3":"n",
  57. "3.5":"n",
  58. "3.6":"n",
  59. "4":"n",
  60. "5":"n",
  61. "6":"n",
  62. "7":"n",
  63. "8":"n",
  64. "9":"n",
  65. "10":"n",
  66. "11":"n",
  67. "12":"n",
  68. "13":"n",
  69. "14":"n",
  70. "15":"n",
  71. "16":"n",
  72. "17":"n",
  73. "18":"n",
  74. "19":"n",
  75. "20":"n",
  76. "21":"n",
  77. "22":"n",
  78. "23":"n",
  79. "24":"n",
  80. "25":"n",
  81. "26":"n",
  82. "27":"n",
  83. "28":"n",
  84. "29":"n",
  85. "30":"n",
  86. "31":"n",
  87. "32":"n",
  88. "33":"n",
  89. "34":"n",
  90. "35":"n",
  91. "36":"n",
  92. "37":"n",
  93. "38":"n",
  94. "39":"n",
  95. "40":"n",
  96. "41":"n",
  97. "42":"n",
  98. "43":"n",
  99. "44":"n",
  100. "45":"y",
  101. "46":"y",
  102. "47":"y",
  103. "48":"y",
  104. "49":"y",
  105. "50":"y",
  106. "51":"y",
  107. "52":"y",
  108. "53":"y",
  109. "54":"y",
  110. "55":"y",
  111. "56":"y",
  112. "57":"y",
  113. "58":"y",
  114. "59":"y",
  115. "60":"y",
  116. "61":"y"
  117. },
  118. "chrome":{
  119. "4":"y",
  120. "5":"y",
  121. "6":"y",
  122. "7":"y",
  123. "8":"y",
  124. "9":"y",
  125. "10":"y",
  126. "11":"y",
  127. "12":"y",
  128. "13":"y",
  129. "14":"y",
  130. "15":"y",
  131. "16":"y",
  132. "17":"y",
  133. "18":"y",
  134. "19":"y",
  135. "20":"y",
  136. "21":"y",
  137. "22":"y",
  138. "23":"y",
  139. "24":"y",
  140. "25":"y",
  141. "26":"y",
  142. "27":"y",
  143. "28":"y",
  144. "29":"y",
  145. "30":"y",
  146. "31":"y",
  147. "32":"y",
  148. "33":"y",
  149. "34":"y",
  150. "35":"y",
  151. "36":"y",
  152. "37":"y",
  153. "38":"y",
  154. "39":"y",
  155. "40":"y",
  156. "41":"y",
  157. "42":"y",
  158. "43":"y",
  159. "44":"y",
  160. "45":"y",
  161. "46":"y",
  162. "47":"y",
  163. "48":"y",
  164. "49":"y",
  165. "50":"y",
  166. "51":"y",
  167. "52":"y",
  168. "53":"y",
  169. "54":"y",
  170. "55":"y",
  171. "56":"y",
  172. "57":"y",
  173. "58":"y",
  174. "59":"y",
  175. "60":"y",
  176. "61":"y",
  177. "62":"y",
  178. "63":"y",
  179. "64":"y",
  180. "65":"y",
  181. "66":"y",
  182. "67":"y"
  183. },
  184. "safari":{
  185. "3.1":"u",
  186. "3.2":"y",
  187. "4":"y",
  188. "5":"y",
  189. "5.1":"y",
  190. "6":"y",
  191. "6.1":"y",
  192. "7":"y",
  193. "7.1":"y",
  194. "8":"y",
  195. "9":"y",
  196. "9.1":"y",
  197. "10":"y",
  198. "10.1":"y",
  199. "11":"y",
  200. "11.1":"y",
  201. "TP":"y"
  202. },
  203. "opera":{
  204. "9":"u",
  205. "9.5-9.6":"y",
  206. "10.0-10.1":"y",
  207. "10.5":"y",
  208. "10.6":"y",
  209. "11":"y",
  210. "11.1":"y",
  211. "11.5":"y",
  212. "11.6":"y",
  213. "12":"y",
  214. "12.1":"y",
  215. "15":"y",
  216. "16":"y",
  217. "17":"y",
  218. "18":"y",
  219. "19":"y",
  220. "20":"y",
  221. "21":"y",
  222. "22":"y",
  223. "23":"y",
  224. "24":"y",
  225. "25":"y",
  226. "26":"y",
  227. "27":"y",
  228. "28":"y",
  229. "29":"y",
  230. "30":"y",
  231. "31":"y",
  232. "32":"y",
  233. "33":"y",
  234. "34":"y",
  235. "35":"y",
  236. "36":"y",
  237. "37":"y",
  238. "38":"y",
  239. "39":"y",
  240. "40":"y",
  241. "41":"y",
  242. "42":"y",
  243. "43":"y",
  244. "44":"y",
  245. "45":"y",
  246. "46":"y",
  247. "47":"y",
  248. "48":"y",
  249. "49":"y",
  250. "50":"y",
  251. "51":"y",
  252. "52":"y"
  253. },
  254. "ios_saf":{
  255. "3.2":"u",
  256. "4.0-4.1":"y",
  257. "4.2-4.3":"y",
  258. "5.0-5.1":"y",
  259. "6.0-6.1":"y",
  260. "7.0-7.1":"y",
  261. "8":"y",
  262. "8.1-8.4":"y",
  263. "9.0-9.2":"y",
  264. "9.3":"y",
  265. "10.0-10.2":"y",
  266. "10.3":"y",
  267. "11.0-11.2":"y",
  268. "11.3":"y"
  269. },
  270. "op_mini":{
  271. "all":"y"
  272. },
  273. "android":{
  274. "2.1":"u",
  275. "2.2":"u",
  276. "2.3":"y",
  277. "3":"y",
  278. "4":"y",
  279. "4.1":"y",
  280. "4.2-4.3":"y",
  281. "4.4":"y",
  282. "4.4.3-4.4.4":"y",
  283. "62":"y"
  284. },
  285. "bb":{
  286. "7":"y",
  287. "10":"y"
  288. },
  289. "op_mob":{
  290. "10":"y",
  291. "11":"y",
  292. "11.1":"y",
  293. "11.5":"y",
  294. "12":"y",
  295. "12.1":"y",
  296. "37":"y"
  297. },
  298. "and_chr":{
  299. "64":"y"
  300. },
  301. "and_ff":{
  302. "57":"y"
  303. },
  304. "ie_mob":{
  305. "10":"y",
  306. "11":"y"
  307. },
  308. "and_uc":{
  309. "11.8":"y"
  310. },
  311. "samsung":{
  312. "4":"y",
  313. "5":"y",
  314. "6.2":"y"
  315. },
  316. "and_qq":{
  317. "1.2":"y"
  318. },
  319. "baidu":{
  320. "7.12":"y"
  321. }
  322. },
  323. "notes":"This test only checks that the property exists and works correctly in a very simple case.\r\n[This blog post by kangax](http://perfectionkills.com/the-poor-misunderstood-innerText/) explains the history of this property, gives much more detailed cross-browser compatibility information, and gives a detailed strawman specification for the property.\r\n`Node.innerText` is similar to, but has some important differences from, the standard [`Node.textContent`](https://caniuse.com/#feat=textcontent) property.",
  324. "notes_by_num":{
  325. },
  326. "usage_perc_y":97.8,
  327. "usage_perc_a":0,
  328. "ucprefix":false,
  329. "parent":"",
  330. "keywords":"inner,text,content",
  331. "ie_id":"",
  332. "chrome_id":"",
  333. "firefox_id":"",
  334. "webkit_id":"",
  335. "shown":true
  336. }