html/dom/elements/the-innertext-and-outertext-properties/

1,400 / 1,406 WPT subtests passing

Failed
6
Timed out
0
Not run
0
Test files
10
Blocking files
0

Chrome 1,277 / 1,406 WPT subtests passing on the same files, none blocking, 2 without a result

Tests

10 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
dynamic-getter.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. text-transform applied to child element ("<div id='target'><div id='child'>abc")
  2. text-transform applied to parent element ("<div id='parent'><div id='target'>abc")
  3. display: none applied to child element ("<div id='target'>abc<div id='child'>def")
  4. display: none applied to parent element ("<div id='parent'>invisible<div id='target'>abc")
  5. insert node into sub-tree ("<div id='target'>abc")
  6. remove node from sub-tree ("<div id='target'>abc<div id='remove'>def")
  7. insert whole sub-tree ("<div id='target'>")
  8. change text on last line of multi-line inline ("<span id='target'>abc<br>def<br><span id='child'>ghi</span></span>")
  9. change text in reflow root on last line of multi-line inline ("<span id='target'>abc<br>def<br><span id='child' style='display: inline-block; contain: size layout; width: 50px; height: 20px'>ghi</span></span>")
getter-first-letter-marker-multicol.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test innerText/outerText for a combination of a list item with ::first-letter in multicol
getter.html270 / 276 passingChrome 273 / 2766 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 273 / 276 WPT subtests passing runner status OK
  1. FAIL::first-line styles applied ("<div class='first-line-uppercase'>abc")
    assert_equals: innerText expected "ABC" but got "abc"
  2. FAIL::first-line styles applied ("<div class='first-line-uppercase' style='width:0'>abc def")
    assert_equals: innerText expected "ABC def" but got "abc def"
  3. FAIL::first-letter styles applied ("<div class='first-letter-uppercase' style='width:0'>abc def")
    assert_equals: innerText expected "Abc def" but got "abc def"
  4. FAIL<audio> contents ignored ("<audio style='display:block'>abc")
    assert_equals: innerText expected "" but got "abc"
  5. FAIL<svg><defs> text contents ignored ("<div><svg><defs><text>abc</text></defs></svg></div>")
    assert_equals: innerText expected "" but got "abc"
  6. FAIL<div> in <option> ("<select><option class='poke-div'>123</select>")
    assert_equals: innerText expected "123\nabc" but got "123abc"
270 passing subtests
  1. Simplest possible test ("<div>abc")
  2. Leading whitespace removed ("<div> abc")
  3. Trailing whitespace removed ("<div>abc ")
  4. Internal whitespace compressed ("<div>abc def")
  5. \n converted to space ("<div>abc\ndef")
  6. \r converted to space ("<div>abc\rdef")
  7. \t converted to space ("<div>abc\tdef")
  8. Trailing whitespace before hard line break removed ("<div>abc <br>def")
  9. Leading whitespace after hard line break removed ("<div>abc<br> def")
  10. Leading whitespace preserved ("<pre> abc")
  11. Trailing whitespace preserved ("<pre>abc ")
  12. Internal whitespace preserved ("<pre>abc def")
  13. \n preserved ("<pre>abc\ndef")
  14. \r converted to newline ("<pre>abc\rdef")
  15. \t preserved ("<pre>abc\tdef")
  16. Two <pre> siblings ("<div><pre>abc</pre><pre>def</pre>")
  17. Leading whitespace preserved ("<div style='white-space:pre'> abc")
  18. Trailing whitespace preserved ("<div style='white-space:pre'>abc ")
  19. Internal whitespace preserved ("<div style='white-space:pre'>abc def")
  20. \n preserved ("<div style='white-space:pre'>abc\ndef")
  21. \r converted to newline ("<div style='white-space:pre'>abc\rdef")
  22. \t preserved ("<div style='white-space:pre'>abc\tdef")
  23. Leading whitespace preserved ("<span style='white-space:pre'> abc")
  24. Trailing whitespace preserved ("<span style='white-space:pre'>abc ")
  25. Internal whitespace preserved ("<span style='white-space:pre'>abc def")
  26. \n preserved ("<span style='white-space:pre'>abc\ndef")
  27. \r converted to newline ("<span style='white-space:pre'>abc\rdef")
  28. \t preserved ("<span style='white-space:pre'>abc\tdef")
  29. Leading whitespace removed ("<div style='white-space:pre-line'> abc")
  30. Trailing whitespace removed ("<div style='white-space:pre-line'>abc ")
  31. Internal whitespace collapsed ("<div style='white-space:pre-line'>abc def")
  32. \n preserved ("<div style='white-space:pre-line'>abc\ndef")
  33. \r converted to newline ("<div style='white-space:pre-line'>abc\rdef")
  34. \t converted to space ("<div style='white-space:pre-line'>abc\tdef")
  35. Whitespace collapses across element boundaries ("<div><span>abc </span> def")
  36. Whitespace collapses across element boundaries ("<div><span>abc </span><span></span> def")
  37. Whitespace collapses across element boundaries ("<div><span>abc </span><span style='white-space:pre'></span> def")
  38. Whitespace around <input> should not be collapsed ("<div>abc <input> def")
  39. Whitespace around inline-block should not be collapsed ("<div>abc <span style='display:inline-block'></span> def")
  40. Trailing space at end of inline-block should be collapsed ("<div>abc <span style='display:inline-block'> def </span> ghi")
  41. Whitespace around inline-flex should not be collapsed ("<div>abc <span style='display:inline-flex'></span> def")
  42. Trailing space at end of inline-flex should be collapsed ("<div>abc <span style='display:inline-flex'> def </span> ghi")
  43. Whitespace around inline-grid should not be collapsed ("<div>abc <span style='display:inline-grid'></span> def")
  44. Trailing space at end of grid-flex should be collapsed ("<div>abc <span style='display:inline-grid'> def </span> ghi")
  45. Whitespace between <input> and block should be collapsed ("<div><input> <div>abc</div>")
  46. Whitespace between inline-block and block should be collapsed ("<div><span style='inline-block'></span> <div>abc</div>")
  47. Whitespace between inline-flex and block should be collapsed ("<div><span style='inline-flex'></span> <div>abc</div>")
  48. Whitespace between inline-grid and block should be collapsed ("<div><span style='inline-grid'></span> <div>abc</div>")
  49. Whitespace around <img> should not be collapsed ("<div>abc <img> def")
  50. Whitespace around <img> should not be collapsed ("<div>abc <img width=1 height=1> def")
  51. Leading whitesapce should not be collapsed ("<div><img> abc")
  52. Trailing whitesapce should not be collapsed ("<div>abc <img>")
  53. Whitespace around empty span should be collapsed ("<div>abc <b></b> def")
  54. Whitespace around empty spans should be collapsed ("<div>abc <b><i></i></b> def")
  55. <canvas> should not collapse following space ("<div><canvas></canvas> abc")
  56. Replaced element <img> with display:block should be treated as block-level ("<div>abc <img style='display:block'> def")
  57. Replaced element <canvas> with display:block should be treated as block-level ("<div>abc <canvas style='display:block'></canvas> def")
  58. Soft line breaks ignored ("<div style='width:0'>abc def")
  59. Soft line break at hyphen ignored ("<div style='width:0'>abc-def")
  60. Whitespace text node preserved ("<div style='width:0'><span>abc</span> <span>def</span>")
  61. Soft breaks ignored in presence of word-break:break-word ("<div style='width:1px; word-break:break-word'>Hello Kitty</div>")
  62. Element boundaries ignored for soft break handling (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x>Kitty</x></div>")
  63. Whitespace collapses across element boundaries at soft break (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x> Kitty</x></div>")
  64. Element boundaries ignored for soft break handling (2) ("<div style='width:1px; word-break:break-word'><x>Hello</x><x> Kitty</x></div>")
  65. Whitespace collapses across element boundaries at soft break (2) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x>Kitty</x></div>")
  66. Element boundaries ignored for soft break handling (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x>Kitty</x></div>")
  67. Whitespace collapses across element boundaries at soft break (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x> Kitty</x></div>")
  68. Whitespace collapses across element boundaries at soft break (4) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x> Kitty</x></div>")
  69. Element boundaries ignored for soft break handling (4) ("<div style='width:1px; word-break:break-word'><x>Hello</x> Kitty</div>")
  70. Element boundaries ignored for soft break handling (5) ("<div style='width:1px; word-break:break-word'><x>Hello </x>Kitty</div>")
  71. Soft breaks ignored, text-transform applied ("<div style='width:1px; word-break:break-word; text-transform:uppercase'>Hello Kitty</div>")
  72. <br> returned as newline, following space collapsed ("<div style='width:1px; word-break:break-word'>Hello<br> Kitty</div>")
  73. <br> returned as newline, preceding space collapsed ("<div style='width:1px; word-break:break-word'>Hello <br>Kitty</div>")
  74. <br> returned as newline, adjacent spaces collapsed across element boundaries ("<div style='width:1px; word-break:break-word'><x>Hello </x> <br> <x> Kitty</x></div>")
  75. ::first-letter float ignored ("<div class='first-letter-float' style='width:0'>abc def")
  76. &nbsp; preserved ("<div>&nbsp;")
  77. display:none container ("<div style='display:none'>abc")
  78. No whitespace compression in display:none container ("<div style='display:none'>abc def")
  79. No removal of leading/trailing whitespace in display:none container ("<div style='display:none'> abc def ")
  80. display:none child not rendered ("<div>123<span style='display:none'>abc")
  81. display:none p child not rendered ("<div>123<p style='display:none'>abc")
  82. display:none container with non-display-none target child ("<div style='display:none'><span id='target'>abc")
  83. display:none container with non-display-none p target child ("<div style='display:none'><p id='target'>abc")
  84. non-display-none child of svg ("<div id='target'>abc")
  85. display:none child of svg ("<div style='display:none' id='target'>abc")
  86. child of display:none child of svg ("<div style='display:none'><div id='target'>abc")
  87. display:contents container ("<div style='display:contents'>abc")
  88. display:contents container ("<div><div style='display:contents'>abc")
  89. display:contents rendered ("<div>123<span style='display:contents'>abc")
  90. display:contents not processed via textContent ("<div style='display:contents'> ")
  91. display:contents not processed via textContent ("<div><div style='display:contents'> ")
  92. visibility:hidden container ("<div style='visibility:hidden'>abc")
  93. visibility:hidden child not rendered ("<div>123<span style='visibility:hidden'>abc")
  94. visibility:visible child rendered ("<div style='visibility:hidden'>123<span style='visibility:visible'>abc")
  95. visibility:collapse row-group ("<table><tbody style='visibility:collapse'><tr><td>abc")
  96. visibility:collapse row ("<table><tr style='visibility:collapse'><td>abc")
  97. visibility:collapse cell ("<table><tr><td style='visibility:collapse'>abc")
  98. visibility:collapse row-group with visible cell ("<table><tbody style='visibility:collapse'><tr><td style='visibility:visible'>abc")
  99. visibility:collapse row with visible cell ("<table><tr style='visibility:collapse'><td style='visibility:visible'>abc")
  100. visibility:collapse honored on flex item ("<div style='display:flex'><span style='visibility:collapse'>1</span><span>2</span></div>")
  101. visibility:collapse honored on grid item ("<div style='display:grid'><span style='visibility:collapse'>1</span><span>2</span></div>")
  102. opacity:0 container ("<div style='opacity:0'>abc")
  103. Whitespace compression in opacity:0 container ("<div style='opacity:0'>abc def")
  104. Remove leading/trailing whitespace in opacity:0 container ("<div style='opacity:0'> abc def ")
  105. opacity:0 child rendered ("<div>123<span style='opacity:0'>abc")
  106. Generated content not included ("<div class='before'>")
  107. Generated content on child not included ("<div><div class='before'>")
  108. <button> contents preserved ("<button>abc")
  109. <fieldset> contents preserved ("<fieldset>abc")
  110. <fieldset> <legend> contents preserved ("<fieldset><legend>abc")
  111. <input> contents ignored ("<input type='text' value='abc'>")
  112. <textarea> contents ignored ("<textarea>abc")
  113. <iframe> contents ignored ("<iframe>abc")
  114. <iframe> contents ignored ("<iframe><div id='target'>abc")
  115. <iframe> subdocument ignored ("<iframe src='data:text/html,abc'>")
  116. <audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:block'>")
  117. <audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:none'>")
  118. <video> contents ignored ("<video>abc")
  119. <video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:block'>")
  120. <video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:none'>")
  121. <canvas> contents ignored ("<canvas>abc")
  122. <canvas><div id='target'> contents ok for element not being rendered ("<canvas><div id='target'>abc")
  123. <img> alt text ignored ("<img alt='abc'>")
  124. <img> contents ignored ("<img src='about:blank' class='poke'>")
  125. <svg> text contents preserved ("<div><svg><text>abc</text></svg></div>")
  126. <svg> non-rendered text ignored ("<div><svg><stop>abc</stop></svg></div>")
  127. <foreignObject> contents preserved ("<svg><foreignObject><span id='target'>abc</span></foreignObject></svg>")
  128. <select size='1'> contents of options preserved ("<select size='1'><option>abc</option><option>def")
  129. <select size='2'> contents of options preserved ("<select size='2'><option>abc</option><option>def")
  130. <select size='1'> contents of target option preserved ("<select size='1'><option id='target'>abc</option><option>def")
  131. <select size='2'> contents of target option preserved ("<select size='2'><option id='target'>abc</option><option>def")
  132. empty <select> ("<div>a<select></select>bc")
  133. empty <optgroup> in <select> ("<div>a<select><optgroup></select>bc")
  134. empty <option> in <select> ("<div>a<select><option></select>bc")
  135. <select> containing text node child ("<select class='poke'></select>")
  136. <optgroup> containing <optgroup> ("<select><optgroup class='poke-optgroup'></select>")
  137. <optgroup> containing <option> ("<select><optgroup><option>abc</select>")
  138. empty <optgroup> in <div> ("<div>a<optgroup></optgroup>bc")
  139. <optgroup> in <div> ("<div>a<optgroup>123</optgroup>bc")
  140. empty <option> in <div> ("<div>a<option></option>bc")
  141. <option> in <div> ("<div>a<option>123</option>bc")
  142. undefined ("<select><option>one</option><div><optgroup label=optgroup><div><option><span>two")
  143. <button> contents preserved ("<div><button>abc")
  144. <fieldset> contents preserved ("<div><fieldset>abc")
  145. <fieldset> <legend> contents preserved ("<div><fieldset><legend>abc")
  146. <input> contents ignored ("<div><input type='text' value='abc'>")
  147. <textarea> contents ignored ("<div><textarea>abc")
  148. <select size='1'> contents of options preserved ("<div><select size='1'><option>abc</option><option>def")
  149. <select size='2'> contents of options preserved ("<div><select size='2'><option>abc</option><option>def")
  150. <iframe> contents ignored ("<div><iframe>abc")
  151. <iframe> subdocument ignored ("<div><iframe src='data:text/html,abc'>")
  152. <audio> contents ignored ("<div><audio>abc")
  153. <video> contents ignored ("<div><video>abc")
  154. <canvas> contents ignored ("<div><canvas>abc")
  155. <object> contents ignored ("<div><object>abc")
  156. <img> alt text ignored ("<div><img alt='abc'>")
  157. Newline at block boundary ("<div>123<div>abc</div>def")
  158. Newline at display:block boundary ("<div>123<span style='display:block'>abc</span>def")
  159. Empty block induces single line break ("<div>abc<div></div>def")
  160. Consecutive empty blocks ignored ("<div>abc<div></div><div></div>def")
  161. No blank lines around <p> alone ("<div><p>abc")
  162. No blank lines around <p> followed by only collapsible whitespace ("<div><p>abc</p> ")
  163. No blank lines around <p> preceded by only collapsible whitespace ("<div> <p>abc</p>")
  164. Blank line between consecutive <p>s ("<div><p>abc<p>def")
  165. Blank line between consecutive <p>s separated only by collapsible whitespace ("<div><p>abc</p> <p>def")
  166. Blank line between consecutive <p>s separated only by empty block ("<div><p>abc</p><div></div><p>def")
  167. Blank lines between <p>s separated by non-empty block ("<div><p>abc</p><div>123</div><p>def")
  168. Blank lines around a <p> in its own block ("<div>abc<div><p>123</p></div>def")
  169. Blank line before <p> ("<div>abc<p>def")
  170. Blank line after <p> ("<div><p>abc</p>def")
  171. One blank line between <p>s, ignoring empty <p>s ("<div><p>abc<p></p><p></p><p>def")
  172. Invisible <p> doesn't induce extra line breaks ("<div style='visibility:hidden'><p><span style='visibility:visible'>abc</span></p>\n<div style='visibility:visible'>def</div>")
  173. <pre> trailing newlines don't suppress <p> blank line ("<div><pre>abc\n\n</pre><p>def")
  174. No blank lines around <div> with margin ("<div>abc<div style='margin:2em'>def")
  175. No newlines at display:inline-block boundary ("<div>123<span style='display:inline-block'>abc</span>def")
  176. Leading/trailing space removal at display:inline-block boundary ("<div>123<span style='display:inline-block'> abc </span>def")
  177. Leading/trailing space removal at display:inline-flex boundary ("<div>123<span style='display:inline-flex'> abc </span>def")
  178. Leading/trailing space removal at display:inline-grid boundary ("<div>123<span style='display:inline-grid'> abc </span>def")
  179. Blank lines around <p> even without margin ("<div>123<p style='margin:0px'>abc</p>def")
  180. No blank lines around <h1> ("<div>123<h1>abc</h1>def")
  181. No blank lines around <h2> ("<div>123<h2>abc</h2>def")
  182. No blank lines around <h3> ("<div>123<h3>abc</h3>def")
  183. No blank lines around <h4> ("<div>123<h4>abc</h4>def")
  184. No blank lines around <h5> ("<div>123<h5>abc</h5>def")
  185. No blank lines around <h6> ("<div>123<h6>abc</h6>def")
  186. 2 blank lines around <p> even when display:block ("<div>123<p style='display:block'>abc")
  187. 2 blank lines around <p> even when display:inline-block ("<div>123<p style='display:inline-block'>abc")
  188. <span> boundaries are irrelevant ("<div>123<span>abc</span>def")
  189. <span> boundaries are irrelevant ("<div>123 <span>abc</span> def")
  190. <span> boundaries are irrelevant ("<div style='width:0'>123 <span>abc</span> def")
  191. <em> gets no special treatment ("<div>123<em>abc</em>def")
  192. <b> gets no special treatment ("<div>123<b>abc</b>def")
  193. <i> gets no special treatment ("<div>123<i>abc</i>def")
  194. <strong> gets no special treatment ("<div>123<strong>abc</strong>def")
  195. <tt> gets no special treatment ("<div>123<tt>abc</tt>def")
  196. <code> gets no special treatment ("<div>123<code>abc</code>def")
  197. soft hyphen preserved ("<div>abc&shy;def")
  198. soft hyphen preserved ("<div style='width:0'>abc&shy;def")
  199. Ignoring non-rendered table whitespace ("<div><table style='white-space:pre'> <td>abc</td> </table>")
  200. Tab-separated table cells ("<div><table><tr><td>abc<td>def</table>")
  201. Tab-separated table cells including empty cells ("<div><table><tr><td>abc<td><td>def</table>")
  202. Tab-separated table cells including trailing empty cells ("<div><table><tr><td>abc<td><td></table>")
  203. Newline-separated table rows ("<div><table><tr><td>abc<tr><td>def</table>")
  204. Newlines around table ("<div>abc<table><td>def</table>ghi")
  205. Tab-separated table cells in a border-collapse table ("<div><table style='border-collapse:collapse'><tr><td>abc<td>def</table>")
  206. tfoot not reordered ("<div><table><tfoot>x</tfoot><tbody>y</tbody></table>")
  207. ("<table><tfoot><tr><td>footer</tfoot><thead><tr><td style='visibility:collapse'>thead</thead><tbody><tr><td>tbody</tbody></table>")
  208. No tab on table-cell itself ("<table><tr><td id=target>abc</td><td>def</td>")
  209. No newline on table-row itself ("<table><tr id=target><td>abc</td><td>def</td></tr><tr id=target><td>ghi</td><td>jkl</td></tr>")
  210. Newline between cells and caption ("<div><table><tr><td>abc<caption>def</caption></table>")
  211. Tab-separated table cells ("<div><div class='table'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>")
  212. Newline-separated table rows ("<div><div class='table'><span class='row'><span class='cell'>abc</span></span>\n<span class='row'><span class='cell'>def</span></span></div>")
  213. Newlines around table ("<div>abc<div class='table'><span class='cell'>def</span></div>ghi")
  214. Tab-separated table cells ("<div><div class='itable'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>")
  215. Newline-separated table rows ("<div><div class='itable'><span class='row'><span class='cell'>abc</span></span>\n<span class='row'><span class='cell'>def</span></span></div>")
  216. No newlines around inline-table ("<div>abc<div class='itable'><span class='cell'>def</span></div>ghi")
  217. Single newline in two-row inline-table ("<div>abc<div class='itable'><span class='row'><span class='cell'>def</span></span>\n<span class='row'><span class='cell'>123</span></span></div>ghi")
  218. display:table-row on the element itself ("<div style='display:table-row'>")
  219. display:table-cell on the element itself ("<div style='display:table-cell'>")
  220. display:table-caption on the element itself ("<div style='display:table-caption'>")
  221. <ol> list items get no special treatment ("<div><ol><li>abc")
  222. <ul> list items get no special treatment ("<div><ul><li>abc")
  223. display:block <script> is rendered ("<div><script style='display:block'>abc")
  224. display:block <style> is rendered ("<div><style style='display:block'>abc")
  225. display:block <noscript> is not rendered (it's not parsed!) ("<div><noscript style='display:block'>abc")
  226. display:block <template> contents are not rendered (the contents are in a different document) ("<div><template style='display:block'>abc")
  227. <br> induces line break ("<div>abc<br>def")
  228. <br> induces line break even at end of block ("<div>abc<br>")
  229. <br> content ignored ("<div><br class='poke'>")
  230. <hr> induces line break ("<div>abc<hr>def")
  231. <hr><hr> induces just one line break ("<div>abc<hr><hr>def")
  232. <hr><hr><hr> induces just one line break ("<div>abc<hr><hr><hr>def")
  233. <hr> content rendered ("<div><hr class='poke'>")
  234. comment ignored ("<div>abc<!--comment-->def")
  235. <br> ("<br>")
  236. empty <p> ("<p>")
  237. empty <div> ("<div>")
  238. unopened <details> ignored ("<div><details><summary>abc</summary>123")
  239. opened <details> content shown ("<div><details open><summary>abc</summary>123")
  240. text-transform is applied ("<div><div style='text-transform:uppercase'>abc")
  241. text-transform handles es-zet ("<div><div style='text-transform:uppercase'>Maß")
  242. text-transform handles Turkish casing ("<div><div lang='tr' style='text-transform:uppercase'>i ı")
  243. block-in-inline doesn't add unnecessary newlines ("<div>abc<span>123<div>456</div>789</span>def")
  244. floats induce a block boundary ("<div>abc<div style='float:left'>123</div>def")
  245. floats induce a block boundary ("<div>abc<span style='float:left'>123</span>def")
  246. float on the element itself ("<div style='float:left'>123")
  247. position:absolute induces a block boundary ("<div>abc<div style='position:absolute'>123</div>def")
  248. position:absolute induces a block boundary ("<div>abc<span style='position:absolute'>123</span>def")
  249. position:absolute on the element itself ("<div style='position:absolute'>123")
  250. position:relative has no effect ("<div>abc<div style='position:relative'>123</div>def")
  251. position:relative has no effect ("<div>abc<span style='position:relative'>123</span>def")
  252. overflow:hidden ignored ("<div style='overflow:hidden'>abc")
  253. overflow:hidden ignored even with zero width ("<div style='width:0; overflow:hidden'>abc")
  254. overflow:hidden ignored even with zero height ("<div style='height:0; overflow:hidden'>abc")
  255. text-overflow:ellipsis ignored ("<div style='width:0; overflow:hidden; text-overflow:ellipsis'>abc")
  256. innerText not supported on SVG elements ("<svg>abc")
  257. innerText not supported on MathML elements ("<math>abc")
  258. <rt> and no <rp> ("<div><ruby>abc<rt>def</rt></ruby>")
  259. <rp> ("<div><ruby>abc<rp>(</rp><rt>def</rt><rp>)</rp></ruby>")
  260. Lone <rp> ("<div><rp>abc</rp>")
  261. visibility:hidden <rp> ("<div><rp style='visibility:hidden'>abc</rp>")
  262. display:block <rp> ("<div><rp style='display:block'>abc</rp>def")
  263. display:block <rp> with whitespace ("<div><rp style='display:block'> abc </rp>def")
  264. <rp> in a <select> ("<div><select class='poke-rp'></select>")
  265. Shadow DOM contents ignored ("<div class='shadow'>")
  266. Shadow DOM contents ignored ("<div><div class='shadow'>")
  267. CSS 'order' property ignored ("<div style='display:flex'><div style='order:1'>1</div><div>2</div></div>")
  268. Flex items blockified ("<div style='display:flex'><span>1</span><span>2</span></div>")
  269. CSS 'order' property ignored ("<div style='display:grid'><div style='order:1'>1</div><div>2</div></div>")
  270. Grid items blockified ("<div style='display:grid'><span>1</span><span>2</span></div>")
innertext-domnoderemoved-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/dom/elements/the-innertext-and-outertext-properties/innertext-domnoderemoved-crash.html PASS none reported

No subtests were reported.

innertext-optgroup-document-child-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/dom/elements/the-innertext-and-outertext-properties/innertext-optgroup-document-child-crash.html PASS none reported

No subtests were reported.

innertext-setter.html126 / 126 passingChrome 126 / 1260 failedClean
Standing
Clean runner status OK
Chrome
Clean 126 / 126 WPT subtests passing runner status OK
126 passing subtests
  1. Simplest possible test
  2. Simplest possible test, detached
  3. Newlines convert to <br> in non-white-space:pre elements
  4. Newlines convert to <br> in non-white-space:pre elements, detached
  5. Newlines convert to <br> in <pre> element
  6. Newlines convert to <br> in <pre> element, detached
  7. Newlines convert to <br> in <textarea> element
  8. Newlines convert to <br> in <textarea> element, detached
  9. Newlines convert to <br> in white-space:pre element
  10. Newlines convert to <br> in white-space:pre element, detached
  11. CRs convert to <br> in non-white-space:pre elements
  12. CRs convert to <br> in non-white-space:pre elements, detached
  13. CRs convert to <br> in <pre> element
  14. CRs convert to <br> in <pre> element, detached
  15. Newline/CR pair converts to <br> in non-white-space:pre element
  16. Newline/CR pair converts to <br> in non-white-space:pre element, detached
  17. Newline/newline pair converts to two <br>s in non-white-space:pre element
  18. Newline/newline pair converts to two <br>s in non-white-space:pre element, detached
  19. CR/CR pair converts to two <br>s in non-white-space:pre element
  20. CR/CR pair converts to two <br>s in non-white-space:pre element, detached
  21. CRs convert to <br> in white-space:pre element
  22. CRs convert to <br> in white-space:pre element, detached
  23. < preserved
  24. < preserved, detached
  25. > preserved
  26. > preserved, detached
  27. & preserved
  28. & preserved, detached
  29. " preserved
  30. " preserved, detached
  31. ' preserved
  32. ' preserved, detached
  33. innerText not supported on SVG elements
  34. innerText not supported on SVG elements, detached
  35. innerText not supported on MathML elements
  36. innerText not supported on MathML elements, detached
  37. Null characters preserved
  38. Null characters preserved, detached
  39. Tabs preserved
  40. Tabs preserved, detached
  41. Leading whitespace preserved
  42. Leading whitespace preserved, detached
  43. Trailing whitespace preserved
  44. Trailing whitespace preserved, detached
  45. Whitespace not compressed
  46. Whitespace not compressed, detached
  47. Existing text deleted
  48. Existing text deleted, detached
  49. Existing <br> deleted
  50. Existing <br> deleted, detached
  51. Assigning the empty string
  52. Assigning the empty string, detached
  53. Assigning null
  54. Assigning null, detached
  55. Assigning undefined
  56. Assigning undefined, detached
  57. Start with CR
  58. Start with CR, detached
  59. Start with LF
  60. Start with LF, detached
  61. Start with CRLF
  62. Start with CRLF, detached
  63. End with CR
  64. End with CR, detached
  65. End with LF
  66. End with LF, detached
  67. End with CRLF
  68. End with CRLF, detached
  69. innerText on <area> element
  70. innerText on <area> element, detached
  71. innerText on <base> element
  72. innerText on <base> element, detached
  73. innerText on <basefont> element
  74. innerText on <basefont> element, detached
  75. innerText on <bgsound> element
  76. innerText on <bgsound> element, detached
  77. innerText on <br> element
  78. innerText on <br> element, detached
  79. innerText on <col> element
  80. innerText on <col> element, detached
  81. innerText on <embed> element
  82. innerText on <embed> element, detached
  83. innerText on <frame> element
  84. innerText on <frame> element, detached
  85. innerText on <hr> element
  86. innerText on <hr> element, detached
  87. innerText on <image> element
  88. innerText on <image> element, detached
  89. innerText on <img> element
  90. innerText on <img> element, detached
  91. innerText on <input> element
  92. innerText on <input> element, detached
  93. innerText on <keygen> element
  94. innerText on <keygen> element, detached
  95. innerText on <link> element
  96. innerText on <link> element, detached
  97. innerText on <menuitem> element
  98. innerText on <menuitem> element, detached
  99. innerText on <meta> element
  100. innerText on <meta> element, detached
  101. innerText on <param> element
  102. innerText on <param> element, detached
  103. innerText on <source> element
  104. innerText on <source> element, detached
  105. innerText on <track> element
  106. innerText on <track> element, detached
  107. innerText on <wbr> element
  108. innerText on <wbr> element, detached
  109. innerText on <colgroup> element
  110. innerText on <colgroup> element, detached
  111. innerText on <frameset> element
  112. innerText on <frameset> element, detached
  113. innerText on <head> element
  114. innerText on <head> element, detached
  115. innerText on <html> element
  116. innerText on <html> element, detached
  117. innerText on <table> element
  118. innerText on <table> element, detached
  119. innerText on <tbody> element
  120. innerText on <tbody> element, detached
  121. innerText on <tfoot> element
  122. innerText on <tfoot> element, detached
  123. innerText on <thead> element
  124. innerText on <thead> element, detached
  125. innerText on <tr> element
  126. innerText on <tr> element, detached
innertext-whitespace-pre-line.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. innerText should be the same for the pre-line and pre examples
  2. innerText has collapsed whitespace but preserved newlines with pre-line
innertext-with-white-spaces.html948 / 948 passingChrome 822 / 9480 failedClean
Standing
Clean runner status OK
Chrome
With failures 822 / 948 WPT subtests passing runner status OK

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=normal OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=normal&contenteditable=plaintext-only OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=normal&contenteditable=true OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre&contenteditable=plaintext-only OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre&contenteditable=true OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre-line OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre-line&contenteditable=plaintext-only OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre-line&contenteditable=true OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre-wrap OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre-wrap&contenteditable=plaintext-only OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/dom/elements/the-innertext-and-outertext-properties/innertext-with-white-spaces.html?white-space=pre-wrap&contenteditable=true OK 79 / 79

79 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

multiple-text-nodes.window.js1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Ensure multiple text nodes get rendered properly
outertext-setter.html43 / 43 passingChrome 43 / 430 failedClean
Standing
Clean runner status OK
Chrome
Clean 43 / 43 WPT subtests passing runner status OK
43 passing subtests
  1. Replacing a node and merging with the previous text node
  2. Replacing a node and merging with the following text node
  3. Replacing a node and merging with the previous and following text node
  4. Only merges with the previous and following text nodes, does not completely normalize
  5. Empty string
  6. Empty string with surrounding text nodes
  7. Setting outerText to a bunch of newlines creates a bunch of <br>s with no text nodes
  8. Removing a node
  9. Detached node
  10. Simplest possible test
  11. Newlines convert to <br> in non-white-space:pre elements
  12. Newlines convert to <br> in <pre> element
  13. Newlines convert to <br> in <textarea> element
  14. Newlines convert to <br> in white-space:pre element
  15. CRs convert to <br> in non-white-space:pre elements
  16. CRs convert to <br> in <pre> element
  17. Newline/CR pair converts to <br> in non-white-space:pre element
  18. Newline/newline pair converts to two <br>s in non-white-space:pre element
  19. CR/CR pair converts to two <br>s in non-white-space:pre element
  20. CRs convert to <br> in white-space:pre element
  21. < preserved
  22. > preserved
  23. & preserved
  24. " preserved
  25. ' preserved
  26. outerText not supported on SVG elements
  27. outerText not supported on MathML elements
  28. Null characters preserved
  29. Tabs preserved
  30. Leading whitespace preserved
  31. Trailing whitespace preserved
  32. Whitespace not compressed
  33. Existing text deleted
  34. Existing <br> deleted
  35. Assigning the empty string
  36. Assigning null
  37. Assigning undefined
  38. Start with CR
  39. Start with LF
  40. Start with CRLF
  41. End with CR
  42. End with LF
  43. End with CRLF

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.