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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
dynamic-getter.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- text-transform applied to child element ("<div id='target'><div id='child'>abc")
- text-transform applied to parent element ("<div id='parent'><div id='target'>abc")
- display: none applied to child element ("<div id='target'>abc<div id='child'>def")
- display: none applied to parent element ("<div id='parent'>invisible<div id='target'>abc")
- insert node into sub-tree ("<div id='target'>abc")
- remove node from sub-tree ("<div id='target'>abc<div id='remove'>def")
- insert whole sub-tree ("<div id='target'>")
- change text on last line of multi-line inline ("<span id='target'>abc<br>def<br><span id='child'>ghi</span></span>")
- 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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test innerText/outerText for a combination of a list item with ::first-letter in multicol
getter.html 270 / 276 passingChrome 273 / 2766 failedWith failures
- ¶
FAIL::first-line styles applied ("<div class='first-line-uppercase'>abc")
assert_equals: innerText expected "ABC" but got "abc"
- ¶
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"
- ¶
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"
- ¶
FAIL<audio> contents ignored ("<audio style='display:block'>abc")
assert_equals: innerText expected "" but got "abc"
- ¶
FAIL<svg><defs> text contents ignored ("<div><svg><defs><text>abc</text></defs></svg></div>")
assert_equals: innerText expected "" but got "abc"
- ¶
FAIL<div> in <option> ("<select><option class='poke-div'>123</select>")
assert_equals: innerText expected "123\nabc" but got "123abc"
270 passing subtests
- Simplest possible test ("<div>abc")
- Leading whitespace removed ("<div> abc")
- Trailing whitespace removed ("<div>abc ")
- Internal whitespace compressed ("<div>abc def")
- \n converted to space ("<div>abc\ndef")
- \r converted to space ("<div>abc\rdef")
- \t converted to space ("<div>abc\tdef")
- Trailing whitespace before hard line break removed ("<div>abc <br>def")
- Leading whitespace after hard line break removed ("<div>abc<br> def")
- Leading whitespace preserved ("<pre> abc")
- Trailing whitespace preserved ("<pre>abc ")
- Internal whitespace preserved ("<pre>abc def")
- \n preserved ("<pre>abc\ndef")
- \r converted to newline ("<pre>abc\rdef")
- \t preserved ("<pre>abc\tdef")
- Two <pre> siblings ("<div><pre>abc</pre><pre>def</pre>")
- Leading whitespace preserved ("<div style='white-space:pre'> abc")
- Trailing whitespace preserved ("<div style='white-space:pre'>abc ")
- Internal whitespace preserved ("<div style='white-space:pre'>abc def")
- \n preserved ("<div style='white-space:pre'>abc\ndef")
- \r converted to newline ("<div style='white-space:pre'>abc\rdef")
- \t preserved ("<div style='white-space:pre'>abc\tdef")
- Leading whitespace preserved ("<span style='white-space:pre'> abc")
- Trailing whitespace preserved ("<span style='white-space:pre'>abc ")
- Internal whitespace preserved ("<span style='white-space:pre'>abc def")
- \n preserved ("<span style='white-space:pre'>abc\ndef")
- \r converted to newline ("<span style='white-space:pre'>abc\rdef")
- \t preserved ("<span style='white-space:pre'>abc\tdef")
- Leading whitespace removed ("<div style='white-space:pre-line'> abc")
- Trailing whitespace removed ("<div style='white-space:pre-line'>abc ")
- Internal whitespace collapsed ("<div style='white-space:pre-line'>abc def")
- \n preserved ("<div style='white-space:pre-line'>abc\ndef")
- \r converted to newline ("<div style='white-space:pre-line'>abc\rdef")
- \t converted to space ("<div style='white-space:pre-line'>abc\tdef")
- Whitespace collapses across element boundaries ("<div><span>abc </span> def")
- Whitespace collapses across element boundaries ("<div><span>abc </span><span></span> def")
- Whitespace collapses across element boundaries ("<div><span>abc </span><span style='white-space:pre'></span> def")
- Whitespace around <input> should not be collapsed ("<div>abc <input> def")
- Whitespace around inline-block should not be collapsed ("<div>abc <span style='display:inline-block'></span> def")
- Trailing space at end of inline-block should be collapsed ("<div>abc <span style='display:inline-block'> def </span> ghi")
- Whitespace around inline-flex should not be collapsed ("<div>abc <span style='display:inline-flex'></span> def")
- Trailing space at end of inline-flex should be collapsed ("<div>abc <span style='display:inline-flex'> def </span> ghi")
- Whitespace around inline-grid should not be collapsed ("<div>abc <span style='display:inline-grid'></span> def")
- Trailing space at end of grid-flex should be collapsed ("<div>abc <span style='display:inline-grid'> def </span> ghi")
- Whitespace between <input> and block should be collapsed ("<div><input> <div>abc</div>")
- Whitespace between inline-block and block should be collapsed ("<div><span style='inline-block'></span> <div>abc</div>")
- Whitespace between inline-flex and block should be collapsed ("<div><span style='inline-flex'></span> <div>abc</div>")
- Whitespace between inline-grid and block should be collapsed ("<div><span style='inline-grid'></span> <div>abc</div>")
- Whitespace around <img> should not be collapsed ("<div>abc <img> def")
- Whitespace around <img> should not be collapsed ("<div>abc <img width=1 height=1> def")
- Leading whitesapce should not be collapsed ("<div><img> abc")
- Trailing whitesapce should not be collapsed ("<div>abc <img>")
- Whitespace around empty span should be collapsed ("<div>abc <b></b> def")
- Whitespace around empty spans should be collapsed ("<div>abc <b><i></i></b> def")
- <canvas> should not collapse following space ("<div><canvas></canvas> abc")
- Replaced element <img> with display:block should be treated as block-level ("<div>abc <img style='display:block'> def")
- Replaced element <canvas> with display:block should be treated as block-level ("<div>abc <canvas style='display:block'></canvas> def")
- Soft line breaks ignored ("<div style='width:0'>abc def")
- Soft line break at hyphen ignored ("<div style='width:0'>abc-def")
- Whitespace text node preserved ("<div style='width:0'><span>abc</span> <span>def</span>")
- Soft breaks ignored in presence of word-break:break-word ("<div style='width:1px; word-break:break-word'>Hello Kitty</div>")
- Element boundaries ignored for soft break handling (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x>Kitty</x></div>")
- Whitespace collapses across element boundaries at soft break (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x> Kitty</x></div>")
- Element boundaries ignored for soft break handling (2) ("<div style='width:1px; word-break:break-word'><x>Hello</x><x> Kitty</x></div>")
- Whitespace collapses across element boundaries at soft break (2) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x>Kitty</x></div>")
- Element boundaries ignored for soft break handling (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x>Kitty</x></div>")
- Whitespace collapses across element boundaries at soft break (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x> Kitty</x></div>")
- Whitespace collapses across element boundaries at soft break (4) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x> Kitty</x></div>")
- Element boundaries ignored for soft break handling (4) ("<div style='width:1px; word-break:break-word'><x>Hello</x> Kitty</div>")
- Element boundaries ignored for soft break handling (5) ("<div style='width:1px; word-break:break-word'><x>Hello </x>Kitty</div>")
- Soft breaks ignored, text-transform applied ("<div style='width:1px; word-break:break-word; text-transform:uppercase'>Hello Kitty</div>")
- <br> returned as newline, following space collapsed ("<div style='width:1px; word-break:break-word'>Hello<br> Kitty</div>")
- <br> returned as newline, preceding space collapsed ("<div style='width:1px; word-break:break-word'>Hello <br>Kitty</div>")
- <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>")
- ::first-letter float ignored ("<div class='first-letter-float' style='width:0'>abc def")
- preserved ("<div> ")
- display:none container ("<div style='display:none'>abc")
- No whitespace compression in display:none container ("<div style='display:none'>abc def")
- No removal of leading/trailing whitespace in display:none container ("<div style='display:none'> abc def ")
- display:none child not rendered ("<div>123<span style='display:none'>abc")
- display:none p child not rendered ("<div>123<p style='display:none'>abc")
- display:none container with non-display-none target child ("<div style='display:none'><span id='target'>abc")
- display:none container with non-display-none p target child ("<div style='display:none'><p id='target'>abc")
- non-display-none child of svg ("<div id='target'>abc")
- display:none child of svg ("<div style='display:none' id='target'>abc")
- child of display:none child of svg ("<div style='display:none'><div id='target'>abc")
- display:contents container ("<div style='display:contents'>abc")
- display:contents container ("<div><div style='display:contents'>abc")
- display:contents rendered ("<div>123<span style='display:contents'>abc")
- display:contents not processed via textContent ("<div style='display:contents'> ")
- display:contents not processed via textContent ("<div><div style='display:contents'> ")
- visibility:hidden container ("<div style='visibility:hidden'>abc")
- visibility:hidden child not rendered ("<div>123<span style='visibility:hidden'>abc")
- visibility:visible child rendered ("<div style='visibility:hidden'>123<span style='visibility:visible'>abc")
- visibility:collapse row-group ("<table><tbody style='visibility:collapse'><tr><td>abc")
- visibility:collapse row ("<table><tr style='visibility:collapse'><td>abc")
- visibility:collapse cell ("<table><tr><td style='visibility:collapse'>abc")
- visibility:collapse row-group with visible cell ("<table><tbody style='visibility:collapse'><tr><td style='visibility:visible'>abc")
- visibility:collapse row with visible cell ("<table><tr style='visibility:collapse'><td style='visibility:visible'>abc")
- visibility:collapse honored on flex item ("<div style='display:flex'><span style='visibility:collapse'>1</span><span>2</span></div>")
- visibility:collapse honored on grid item ("<div style='display:grid'><span style='visibility:collapse'>1</span><span>2</span></div>")
- opacity:0 container ("<div style='opacity:0'>abc")
- Whitespace compression in opacity:0 container ("<div style='opacity:0'>abc def")
- Remove leading/trailing whitespace in opacity:0 container ("<div style='opacity:0'> abc def ")
- opacity:0 child rendered ("<div>123<span style='opacity:0'>abc")
- Generated content not included ("<div class='before'>")
- Generated content on child not included ("<div><div class='before'>")
- <button> contents preserved ("<button>abc")
- <fieldset> contents preserved ("<fieldset>abc")
- <fieldset> <legend> contents preserved ("<fieldset><legend>abc")
- <input> contents ignored ("<input type='text' value='abc'>")
- <textarea> contents ignored ("<textarea>abc")
- <iframe> contents ignored ("<iframe>abc")
- <iframe> contents ignored ("<iframe><div id='target'>abc")
- <iframe> subdocument ignored ("<iframe src='data:text/html,abc'>")
- <audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:block'>")
- <audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:none'>")
- <video> contents ignored ("<video>abc")
- <video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:block'>")
- <video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:none'>")
- <canvas> contents ignored ("<canvas>abc")
- <canvas><div id='target'> contents ok for element not being rendered ("<canvas><div id='target'>abc")
- <img> alt text ignored ("<img alt='abc'>")
- <img> contents ignored ("<img src='about:blank' class='poke'>")
- <svg> text contents preserved ("<div><svg><text>abc</text></svg></div>")
- <svg> non-rendered text ignored ("<div><svg><stop>abc</stop></svg></div>")
- <foreignObject> contents preserved ("<svg><foreignObject><span id='target'>abc</span></foreignObject></svg>")
- <select size='1'> contents of options preserved ("<select size='1'><option>abc</option><option>def")
- <select size='2'> contents of options preserved ("<select size='2'><option>abc</option><option>def")
- <select size='1'> contents of target option preserved ("<select size='1'><option id='target'>abc</option><option>def")
- <select size='2'> contents of target option preserved ("<select size='2'><option id='target'>abc</option><option>def")
- empty <select> ("<div>a<select></select>bc")
- empty <optgroup> in <select> ("<div>a<select><optgroup></select>bc")
- empty <option> in <select> ("<div>a<select><option></select>bc")
- <select> containing text node child ("<select class='poke'></select>")
- <optgroup> containing <optgroup> ("<select><optgroup class='poke-optgroup'></select>")
- <optgroup> containing <option> ("<select><optgroup><option>abc</select>")
- empty <optgroup> in <div> ("<div>a<optgroup></optgroup>bc")
- <optgroup> in <div> ("<div>a<optgroup>123</optgroup>bc")
- empty <option> in <div> ("<div>a<option></option>bc")
- <option> in <div> ("<div>a<option>123</option>bc")
- undefined ("<select><option>one</option><div><optgroup label=optgroup><div><option><span>two")
- <button> contents preserved ("<div><button>abc")
- <fieldset> contents preserved ("<div><fieldset>abc")
- <fieldset> <legend> contents preserved ("<div><fieldset><legend>abc")
- <input> contents ignored ("<div><input type='text' value='abc'>")
- <textarea> contents ignored ("<div><textarea>abc")
- <select size='1'> contents of options preserved ("<div><select size='1'><option>abc</option><option>def")
- <select size='2'> contents of options preserved ("<div><select size='2'><option>abc</option><option>def")
- <iframe> contents ignored ("<div><iframe>abc")
- <iframe> subdocument ignored ("<div><iframe src='data:text/html,abc'>")
- <audio> contents ignored ("<div><audio>abc")
- <video> contents ignored ("<div><video>abc")
- <canvas> contents ignored ("<div><canvas>abc")
- <object> contents ignored ("<div><object>abc")
- <img> alt text ignored ("<div><img alt='abc'>")
- Newline at block boundary ("<div>123<div>abc</div>def")
- Newline at display:block boundary ("<div>123<span style='display:block'>abc</span>def")
- Empty block induces single line break ("<div>abc<div></div>def")
- Consecutive empty blocks ignored ("<div>abc<div></div><div></div>def")
- No blank lines around <p> alone ("<div><p>abc")
- No blank lines around <p> followed by only collapsible whitespace ("<div><p>abc</p> ")
- No blank lines around <p> preceded by only collapsible whitespace ("<div> <p>abc</p>")
- Blank line between consecutive <p>s ("<div><p>abc<p>def")
- Blank line between consecutive <p>s separated only by collapsible whitespace ("<div><p>abc</p> <p>def")
- Blank line between consecutive <p>s separated only by empty block ("<div><p>abc</p><div></div><p>def")
- Blank lines between <p>s separated by non-empty block ("<div><p>abc</p><div>123</div><p>def")
- Blank lines around a <p> in its own block ("<div>abc<div><p>123</p></div>def")
- Blank line before <p> ("<div>abc<p>def")
- Blank line after <p> ("<div><p>abc</p>def")
- One blank line between <p>s, ignoring empty <p>s ("<div><p>abc<p></p><p></p><p>def")
- 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>")
- <pre> trailing newlines don't suppress <p> blank line ("<div><pre>abc\n\n</pre><p>def")
- No blank lines around <div> with margin ("<div>abc<div style='margin:2em'>def")
- No newlines at display:inline-block boundary ("<div>123<span style='display:inline-block'>abc</span>def")
- Leading/trailing space removal at display:inline-block boundary ("<div>123<span style='display:inline-block'> abc </span>def")
- Leading/trailing space removal at display:inline-flex boundary ("<div>123<span style='display:inline-flex'> abc </span>def")
- Leading/trailing space removal at display:inline-grid boundary ("<div>123<span style='display:inline-grid'> abc </span>def")
- Blank lines around <p> even without margin ("<div>123<p style='margin:0px'>abc</p>def")
- No blank lines around <h1> ("<div>123<h1>abc</h1>def")
- No blank lines around <h2> ("<div>123<h2>abc</h2>def")
- No blank lines around <h3> ("<div>123<h3>abc</h3>def")
- No blank lines around <h4> ("<div>123<h4>abc</h4>def")
- No blank lines around <h5> ("<div>123<h5>abc</h5>def")
- No blank lines around <h6> ("<div>123<h6>abc</h6>def")
- 2 blank lines around <p> even when display:block ("<div>123<p style='display:block'>abc")
- 2 blank lines around <p> even when display:inline-block ("<div>123<p style='display:inline-block'>abc")
- <span> boundaries are irrelevant ("<div>123<span>abc</span>def")
- <span> boundaries are irrelevant ("<div>123 <span>abc</span> def")
- <span> boundaries are irrelevant ("<div style='width:0'>123 <span>abc</span> def")
- <em> gets no special treatment ("<div>123<em>abc</em>def")
- <b> gets no special treatment ("<div>123<b>abc</b>def")
- <i> gets no special treatment ("<div>123<i>abc</i>def")
- <strong> gets no special treatment ("<div>123<strong>abc</strong>def")
- <tt> gets no special treatment ("<div>123<tt>abc</tt>def")
- <code> gets no special treatment ("<div>123<code>abc</code>def")
- soft hyphen preserved ("<div>abc­def")
- soft hyphen preserved ("<div style='width:0'>abc­def")
- Ignoring non-rendered table whitespace ("<div><table style='white-space:pre'> <td>abc</td> </table>")
- Tab-separated table cells ("<div><table><tr><td>abc<td>def</table>")
- Tab-separated table cells including empty cells ("<div><table><tr><td>abc<td><td>def</table>")
- Tab-separated table cells including trailing empty cells ("<div><table><tr><td>abc<td><td></table>")
- Newline-separated table rows ("<div><table><tr><td>abc<tr><td>def</table>")
- Newlines around table ("<div>abc<table><td>def</table>ghi")
- Tab-separated table cells in a border-collapse table ("<div><table style='border-collapse:collapse'><tr><td>abc<td>def</table>")
- tfoot not reordered ("<div><table><tfoot>x</tfoot><tbody>y</tbody></table>")
- ("<table><tfoot><tr><td>footer</tfoot><thead><tr><td style='visibility:collapse'>thead</thead><tbody><tr><td>tbody</tbody></table>")
- No tab on table-cell itself ("<table><tr><td id=target>abc</td><td>def</td>")
- 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>")
- Newline between cells and caption ("<div><table><tr><td>abc<caption>def</caption></table>")
- Tab-separated table cells ("<div><div class='table'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>")
- 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>")
- Newlines around table ("<div>abc<div class='table'><span class='cell'>def</span></div>ghi")
- Tab-separated table cells ("<div><div class='itable'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>")
- 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>")
- No newlines around inline-table ("<div>abc<div class='itable'><span class='cell'>def</span></div>ghi")
- 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")
- display:table-row on the element itself ("<div style='display:table-row'>")
- display:table-cell on the element itself ("<div style='display:table-cell'>")
- display:table-caption on the element itself ("<div style='display:table-caption'>")
- <ol> list items get no special treatment ("<div><ol><li>abc")
- <ul> list items get no special treatment ("<div><ul><li>abc")
- display:block <script> is rendered ("<div><script style='display:block'>abc")
- display:block <style> is rendered ("<div><style style='display:block'>abc")
- display:block <noscript> is not rendered (it's not parsed!) ("<div><noscript style='display:block'>abc")
- display:block <template> contents are not rendered (the contents are in a different document) ("<div><template style='display:block'>abc")
- <br> induces line break ("<div>abc<br>def")
- <br> induces line break even at end of block ("<div>abc<br>")
- <br> content ignored ("<div><br class='poke'>")
- <hr> induces line break ("<div>abc<hr>def")
- <hr><hr> induces just one line break ("<div>abc<hr><hr>def")
- <hr><hr><hr> induces just one line break ("<div>abc<hr><hr><hr>def")
- <hr> content rendered ("<div><hr class='poke'>")
- comment ignored ("<div>abc<!--comment-->def")
- <br> ("<br>")
- empty <p> ("<p>")
- empty <div> ("<div>")
- unopened <details> ignored ("<div><details><summary>abc</summary>123")
- opened <details> content shown ("<div><details open><summary>abc</summary>123")
- text-transform is applied ("<div><div style='text-transform:uppercase'>abc")
- text-transform handles es-zet ("<div><div style='text-transform:uppercase'>Maß")
- text-transform handles Turkish casing ("<div><div lang='tr' style='text-transform:uppercase'>i ı")
- block-in-inline doesn't add unnecessary newlines ("<div>abc<span>123<div>456</div>789</span>def")
- floats induce a block boundary ("<div>abc<div style='float:left'>123</div>def")
- floats induce a block boundary ("<div>abc<span style='float:left'>123</span>def")
- float on the element itself ("<div style='float:left'>123")
- position:absolute induces a block boundary ("<div>abc<div style='position:absolute'>123</div>def")
- position:absolute induces a block boundary ("<div>abc<span style='position:absolute'>123</span>def")
- position:absolute on the element itself ("<div style='position:absolute'>123")
- position:relative has no effect ("<div>abc<div style='position:relative'>123</div>def")
- position:relative has no effect ("<div>abc<span style='position:relative'>123</span>def")
- overflow:hidden ignored ("<div style='overflow:hidden'>abc")
- overflow:hidden ignored even with zero width ("<div style='width:0; overflow:hidden'>abc")
- overflow:hidden ignored even with zero height ("<div style='height:0; overflow:hidden'>abc")
- text-overflow:ellipsis ignored ("<div style='width:0; overflow:hidden; text-overflow:ellipsis'>abc")
- innerText not supported on SVG elements ("<svg>abc")
- innerText not supported on MathML elements ("<math>abc")
- <rt> and no <rp> ("<div><ruby>abc<rt>def</rt></ruby>")
- <rp> ("<div><ruby>abc<rp>(</rp><rt>def</rt><rp>)</rp></ruby>")
- Lone <rp> ("<div><rp>abc</rp>")
- visibility:hidden <rp> ("<div><rp style='visibility:hidden'>abc</rp>")
- display:block <rp> ("<div><rp style='display:block'>abc</rp>def")
- display:block <rp> with whitespace ("<div><rp style='display:block'> abc </rp>def")
- <rp> in a <select> ("<div><select class='poke-rp'></select>")
- Shadow DOM contents ignored ("<div class='shadow'>")
- Shadow DOM contents ignored ("<div><div class='shadow'>")
- CSS 'order' property ignored ("<div style='display:flex'><div style='order:1'>1</div><div>2</div></div>")
- Flex items blockified ("<div style='display:flex'><span>1</span><span>2</span></div>")
- CSS 'order' property ignored ("<div style='display:grid'><div style='order:1'>1</div><div>2</div></div>")
- Grid items blockified ("<div style='display:grid'><span>1</span><span>2</span></div>")
innertext-domnoderemoved-crash.html none reportedChrome —0 failedClean
/html/dom/elements/the-innertext-and-outertext-properties/innertext-domnoderemoved-crash.html PASS none reported
No subtests were reported.
innertext-optgroup-document-child-crash.html none reportedChrome —0 failedClean
/html/dom/elements/the-innertext-and-outertext-properties/innertext-optgroup-document-child-crash.html PASS none reported
No subtests were reported.
innertext-setter.html 126 / 126 passingChrome 126 / 1260 failedClean
126 passing subtests
- Simplest possible test
- Simplest possible test, detached
- Newlines convert to <br> in non-white-space:pre elements
- Newlines convert to <br> in non-white-space:pre elements, detached
- Newlines convert to <br> in <pre> element
- Newlines convert to <br> in <pre> element, detached
- Newlines convert to <br> in <textarea> element
- Newlines convert to <br> in <textarea> element, detached
- Newlines convert to <br> in white-space:pre element
- Newlines convert to <br> in white-space:pre element, detached
- CRs convert to <br> in non-white-space:pre elements
- CRs convert to <br> in non-white-space:pre elements, detached
- CRs convert to <br> in <pre> element
- CRs convert to <br> in <pre> element, detached
- Newline/CR pair converts to <br> in non-white-space:pre element
- Newline/CR pair converts to <br> in non-white-space:pre element, detached
- Newline/newline pair converts to two <br>s in non-white-space:pre element
- Newline/newline pair converts to two <br>s in non-white-space:pre element, detached
- CR/CR pair converts to two <br>s in non-white-space:pre element
- CR/CR pair converts to two <br>s in non-white-space:pre element, detached
- CRs convert to <br> in white-space:pre element
- CRs convert to <br> in white-space:pre element, detached
- < preserved
- < preserved, detached
- > preserved
- > preserved, detached
- & preserved
- & preserved, detached
- " preserved
- " preserved, detached
- ' preserved
- ' preserved, detached
- innerText not supported on SVG elements
- innerText not supported on SVG elements, detached
- innerText not supported on MathML elements
- innerText not supported on MathML elements, detached
- Null characters preserved
- Null characters preserved, detached
- Tabs preserved
- Tabs preserved, detached
- Leading whitespace preserved
- Leading whitespace preserved, detached
- Trailing whitespace preserved
- Trailing whitespace preserved, detached
- Whitespace not compressed
- Whitespace not compressed, detached
- Existing text deleted
- Existing text deleted, detached
- Existing <br> deleted
- Existing <br> deleted, detached
- Assigning the empty string
- Assigning the empty string, detached
- Assigning null
- Assigning null, detached
- Assigning undefined
- Assigning undefined, detached
- Start with CR
- Start with CR, detached
- Start with LF
- Start with LF, detached
- Start with CRLF
- Start with CRLF, detached
- End with CR
- End with CR, detached
- End with LF
- End with LF, detached
- End with CRLF
- End with CRLF, detached
- innerText on <area> element
- innerText on <area> element, detached
- innerText on <base> element
- innerText on <base> element, detached
- innerText on <basefont> element
- innerText on <basefont> element, detached
- innerText on <bgsound> element
- innerText on <bgsound> element, detached
- innerText on <br> element
- innerText on <br> element, detached
- innerText on <col> element
- innerText on <col> element, detached
- innerText on <embed> element
- innerText on <embed> element, detached
- innerText on <frame> element
- innerText on <frame> element, detached
- innerText on <hr> element
- innerText on <hr> element, detached
- innerText on <image> element
- innerText on <image> element, detached
- innerText on <img> element
- innerText on <img> element, detached
- innerText on <input> element
- innerText on <input> element, detached
- innerText on <keygen> element
- innerText on <keygen> element, detached
- innerText on <link> element
- innerText on <link> element, detached
- innerText on <menuitem> element
- innerText on <menuitem> element, detached
- innerText on <meta> element
- innerText on <meta> element, detached
- innerText on <param> element
- innerText on <param> element, detached
- innerText on <source> element
- innerText on <source> element, detached
- innerText on <track> element
- innerText on <track> element, detached
- innerText on <wbr> element
- innerText on <wbr> element, detached
- innerText on <colgroup> element
- innerText on <colgroup> element, detached
- innerText on <frameset> element
- innerText on <frameset> element, detached
- innerText on <head> element
- innerText on <head> element, detached
- innerText on <html> element
- innerText on <html> element, detached
- innerText on <table> element
- innerText on <table> element, detached
- innerText on <tbody> element
- innerText on <tbody> element, detached
- innerText on <tfoot> element
- innerText on <tfoot> element, detached
- innerText on <thead> element
- innerText on <thead> element, detached
- innerText on <tr> element
- innerText on <tr> element, detached
innertext-whitespace-pre-line.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- innerText should be the same for the pre-line and pre examples
- innerText has collapsed whitespace but preserved newlines with pre-line
innertext-with-white-spaces.html 948 / 948 passingChrome 822 / 9480 failedClean
/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.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Ensure multiple text nodes get rendered properly
outertext-setter.html 43 / 43 passingChrome 43 / 430 failedClean
43 passing subtests
- Replacing a node and merging with the previous text node
- Replacing a node and merging with the following text node
- Replacing a node and merging with the previous and following text node
- Only merges with the previous and following text nodes, does not completely normalize
- Empty string
- Empty string with surrounding text nodes
- Setting outerText to a bunch of newlines creates a bunch of <br>s with no text nodes
- Removing a node
- Detached node
- Simplest possible test
- Newlines convert to <br> in non-white-space:pre elements
- Newlines convert to <br> in <pre> element
- Newlines convert to <br> in <textarea> element
- Newlines convert to <br> in white-space:pre element
- CRs convert to <br> in non-white-space:pre elements
- CRs convert to <br> in <pre> element
- Newline/CR pair converts to <br> in non-white-space:pre element
- Newline/newline pair converts to two <br>s in non-white-space:pre element
- CR/CR pair converts to two <br>s in non-white-space:pre element
- CRs convert to <br> in white-space:pre element
- < preserved
- > preserved
- & preserved
- " preserved
- ' preserved
- outerText not supported on SVG elements
- outerText not supported on MathML elements
- Null characters preserved
- Tabs preserved
- Leading whitespace preserved
- Trailing whitespace preserved
- Whitespace not compressed
- Existing text deleted
- Existing <br> deleted
- Assigning the empty string
- Assigning null
- Assigning undefined
- Start with CR
- Start with LF
- Start with CRLF
- End with CR
- End with LF
- End with CRLF