Summary

Harness status: OK

Found 272 tests

Details

ResultTest NameMessage
PassSimplest possible test ("<div>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading whitespace removed ("<div> abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing whitespace removed ("<div>abc ")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassInternal whitespace compressed ("<div>abc def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\n converted to space ("<div>abc\ndef")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\r converted to space ("<div>abc\rdef")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\t converted to space ("<div>abc\tdef")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing whitespace before hard line break removed ("<div>abc <br>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading whitespace after hard line break removed ("<div>abc<br> def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading whitespace preserved ("<pre> abc")
Asserts run
Pass
assert_equals(" abc", " abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(" abc", " abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing whitespace preserved ("<pre>abc ")
Asserts run
Pass
assert_equals("abc ", "abc ", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc ", "abc ", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassInternal whitespace preserved ("<pre>abc def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\n preserved ("<pre>abc\ndef")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\r converted to newline ("<pre>abc\rdef")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\t preserved ("<pre>abc\tdef")
Asserts run
Pass
assert_equals("abc\tdef", "abc\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\tdef", "abc\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTwo <pre> siblings ("<div><pre>abc</pre><pre>def</pre>")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading whitespace preserved ("<div style='white-space:pre'> abc")
Asserts run
Pass
assert_equals(" abc", " abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(" abc", " abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing whitespace preserved ("<div style='white-space:pre'>abc ")
Asserts run
Pass
assert_equals("abc ", "abc ", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc ", "abc ", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassInternal whitespace preserved ("<div style='white-space:pre'>abc def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\n preserved ("<div style='white-space:pre'>abc\ndef")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\r converted to newline ("<div style='white-space:pre'>abc\rdef")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\t preserved ("<div style='white-space:pre'>abc\tdef")
Asserts run
Pass
assert_equals("abc\tdef", "abc\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\tdef", "abc\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading whitespace preserved ("<span style='white-space:pre'> abc")
Asserts run
Pass
assert_equals(" abc", " abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(" abc", " abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing whitespace preserved ("<span style='white-space:pre'>abc ")
Asserts run
Pass
assert_equals("abc ", "abc ", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc ", "abc ", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassInternal whitespace preserved ("<span style='white-space:pre'>abc def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\n preserved ("<span style='white-space:pre'>abc\ndef")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\r converted to newline ("<span style='white-space:pre'>abc\rdef")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\t preserved ("<span style='white-space:pre'>abc\tdef")
Asserts run
Pass
assert_equals("abc\tdef", "abc\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\tdef", "abc\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading whitespace removed ("<div style='white-space:pre-line'> abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing whitespace removed ("<div style='white-space:pre-line'>abc ")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassInternal whitespace collapsed ("<div style='white-space:pre-line'>abc def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\n preserved ("<div style='white-space:pre-line'>abc\ndef")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\r converted to newline ("<div style='white-space:pre-line'>abc\rdef")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass\t converted to space ("<div style='white-space:pre-line'>abc\tdef")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace collapses across element boundaries ("<div><span>abc </span> def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace collapses across element boundaries ("<div><span>abc </span><span></span> def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace collapses across element boundaries ("<div><span>abc </span><span style='white-space:pre'></span> def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace around <input> should not be collapsed ("<div>abc <input> def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace around inline-block should not be collapsed ("<div>abc <span style='display:inline-block'></span> def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing space at end of inline-block should be collapsed ("<div>abc <span style='display:inline-block'> def </span> ghi")
Asserts run
Pass
assert_equals("abc def ghi", "abc def ghi", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def ghi", "abc def ghi", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace around inline-flex should not be collapsed ("<div>abc <span style='display:inline-flex'></span> def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing space at end of inline-flex should be collapsed ("<div>abc <span style='display:inline-flex'> def </span> ghi")
Asserts run
Pass
assert_equals("abc def ghi", "abc def ghi", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def ghi", "abc def ghi", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace around inline-grid should not be collapsed ("<div>abc <span style='display:inline-grid'></span> def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing space at end of grid-flex should be collapsed ("<div>abc <span style='display:inline-grid'> def </span> ghi")
Asserts run
Pass
assert_equals("abc def ghi", "abc def ghi", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def ghi", "abc def ghi", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace between <input> and block should be collapsed ("<div><input> <div>abc</div>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace between inline-block and block should be collapsed ("<div><span style='inline-block'></span> <div>abc</div>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace between inline-flex and block should be collapsed ("<div><span style='inline-flex'></span> <div>abc</div>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace between inline-grid and block should be collapsed ("<div><span style='inline-grid'></span> <div>abc</div>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace around <img> should not be collapsed ("<div>abc <img> def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace around <img> should not be collapsed ("<div>abc <img width=1 height=1> def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading whitesapce should not be collapsed ("<div><img> abc")
Asserts run
Pass
assert_equals(" abc", " abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(" abc", " abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTrailing whitesapce should not be collapsed ("<div>abc <img>")
Asserts run
Pass
assert_equals("abc ", "abc ", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc ", "abc ", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace around empty span should be collapsed ("<div>abc <b></b> def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace around empty spans should be collapsed ("<div>abc <b><i></i></b> def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<canvas> should not collapse following space ("<div><canvas></canvas> abc")
Asserts run
Pass
assert_equals(" abc", " abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(" abc", " abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassReplaced element <img> with display:block should be treated as block-level ("<div>abc <img style='display:block'> def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassReplaced element <canvas> with display:block should be treated as block-level ("<div>abc <canvas style='display:block'></canvas> def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassSoft line breaks ignored ("<div style='width:0'>abc def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassSoft line break at hyphen ignored ("<div style='width:0'>abc-def")
Asserts run
Pass
assert_equals("abc-def", "abc-def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc-def", "abc-def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace text node preserved ("<div style='width:0'><span>abc</span> <span>def</span>")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassSoft breaks ignored in presence of word-break:break-word ("<div style='width:1px; word-break:break-word'>Hello Kitty</div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassElement boundaries ignored for soft break handling (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x>Kitty</x></div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace collapses across element boundaries at soft break (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x> Kitty</x></div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassElement boundaries ignored for soft break handling (2) ("<div style='width:1px; word-break:break-word'><x>Hello</x><x> Kitty</x></div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace collapses across element boundaries at soft break (2) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x>Kitty</x></div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassElement boundaries ignored for soft break handling (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x>Kitty</x></div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace collapses across element boundaries at soft break (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x> Kitty</x></div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace collapses across element boundaries at soft break (4) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x> Kitty</x></div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassElement boundaries ignored for soft break handling (4) ("<div style='width:1px; word-break:break-word'><x>Hello</x> Kitty</div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassElement boundaries ignored for soft break handling (5) ("<div style='width:1px; word-break:break-word'><x>Hello </x>Kitty</div>")
Asserts run
Pass
assert_equals("Hello Kitty", "Hello Kitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello Kitty", "Hello Kitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassSoft breaks ignored, text-transform applied ("<div style='width:1px; word-break:break-word; text-transform:uppercase'>Hello Kitty</div>")
Asserts run
Pass
assert_equals("HELLO KITTY", "HELLO KITTY", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("HELLO KITTY", "HELLO KITTY", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<br> returned as newline, following space collapsed ("<div style='width:1px; word-break:break-word'>Hello<br> Kitty</div>")
Asserts run
Pass
assert_equals("Hello\nKitty", "Hello\nKitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello\nKitty", "Hello\nKitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<br> returned as newline, preceding space collapsed ("<div style='width:1px; word-break:break-word'>Hello <br>Kitty</div>")
Asserts run
Pass
assert_equals("Hello\nKitty", "Hello\nKitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello\nKitty", "Hello\nKitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<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>")
Asserts run
Pass
assert_equals("Hello\nKitty", "Hello\nKitty", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Hello\nKitty", "Hello\nKitty", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Fail::first-line styles applied ("<div class='first-line-uppercase'>abc")assert_equals: innerText expected "ABC" but got "abc"
    at Test.<anonymous> (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at textTextInContainer (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:27:3)
    at testText (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:21:3)
Asserts run
Fail
assert_equals("abc", "ABC", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
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"
    at Test.<anonymous> (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at textTextInContainer (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:27:3)
    at testText (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:21:3)
Asserts run
Fail
assert_equals("abc def", "ABC def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass::first-letter styles applied ("<div class='first-letter-uppercase' style='width:0'>abc def")
Asserts run
Pass
assert_equals("Abc def", "Abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("Abc def", "Abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass::first-letter float ignored ("<div class='first-letter-float' style='width:0'>abc def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass&nbsp; preserved ("<div>&nbsp;")
Asserts run
Pass
assert_equals(" ", " ", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(" ", " ", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:none container ("<div style='display:none'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo whitespace compression in display:none container ("<div style='display:none'>abc def")
Asserts run
Pass
assert_equals("abc  def", "abc  def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc  def", "abc  def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo removal of leading/trailing whitespace in display:none container ("<div style='display:none'> abc def ")
Asserts run
Pass
assert_equals(" abc def ", " abc def ", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(" abc def ", " abc def ", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:none child not rendered ("<div>123<span style='display:none'>abc")
Asserts run
Pass
assert_equals("123", "123", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123", "123", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:none container with non-display-none target child ("<div style='display:none'><span id='target'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passnon-display-none child of svg ("<div id='target'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:none child of svg ("<div style='display:none' id='target'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passchild of display:none child of svg ("<div style='display:none'><div id='target'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:contents container ("<div style='display:contents'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:contents container ("<div><div style='display:contents'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:contents rendered ("<div>123<span style='display:contents'>abc")
Asserts run
Pass
assert_equals("123abc", "123abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abc", "123abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:contents not processed via textContent ("<div style='display:contents'> ")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:contents not processed via textContent ("<div><div style='display:contents'> ")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:hidden container ("<div style='visibility:hidden'>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:hidden child not rendered ("<div>123<span style='visibility:hidden'>abc")
Asserts run
Pass
assert_equals("123", "123", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123", "123", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:visible child rendered ("<div style='visibility:hidden'>123<span style='visibility:visible'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:collapse row-group ("<table><tbody style='visibility:collapse'><tr><td>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:collapse row ("<table><tr style='visibility:collapse'><td>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:collapse cell ("<table><tr><td style='visibility:collapse'>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:collapse row-group with visible cell ("<table><tbody style='visibility:collapse'><tr><td style='visibility:visible'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:collapse row with visible cell ("<table><tr style='visibility:collapse'><td style='visibility:visible'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:collapse honored on flex item ("<div style='display:flex'><span style='visibility:collapse'>1</span><span>2</span></div>")
Asserts run
Pass
assert_equals("2", "2", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("2", "2", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:collapse honored on grid item ("<div style='display:grid'><span style='visibility:collapse'>1</span><span>2</span></div>")
Asserts run
Pass
assert_equals("2", "2", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("2", "2", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passopacity:0 container ("<div style='opacity:0'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassWhitespace compression in opacity:0 container ("<div style='opacity:0'>abc def")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassRemove leading/trailing whitespace in opacity:0 container ("<div style='opacity:0'> abc def ")
Asserts run
Pass
assert_equals("abc def", "abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc def", "abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passopacity:0 child rendered ("<div>123<span style='opacity:0'>abc")
Asserts run
Pass
assert_equals("123abc", "123abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abc", "123abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassGenerated content not included ("<div class='before'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassGenerated content on child not included ("<div><div class='before'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<button> contents preserved ("<button>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<fieldset> contents preserved ("<fieldset>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<fieldset> <legend> contents preserved ("<fieldset><legend>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<input> contents ignored ("<input type='text' value='abc'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<textarea> contents ignored ("<textarea>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<iframe> contents ignored ("<iframe>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<iframe> contents ignored ("<iframe><div id='target'>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<iframe> subdocument ignored ("<iframe src='data:text/html,abc'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Fail<audio> contents ignored ("<audio style='display:block'>abc")assert_equals: innerText expected "" but got "abc"
    at Test.<anonymous> (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at textTextInContainer (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:27:3)
    at testText (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:21:3)
Asserts run
Fail
assert_equals("abc", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass<audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:block'>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:none'>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<video> contents ignored ("<video>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:block'>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:none'>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<canvas> contents ignored ("<canvas>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<canvas><div id='target'> contents ok for element not being rendered ("<canvas><div id='target'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<img> alt text ignored ("<img alt='abc'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<img> contents ignored ("<img src='about:blank' class='poke'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<svg> text contents preserved ("<div><svg><text>abc</text></svg></div>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Fail<svg><defs> text contents ignored ("<div><svg><defs><text>abc</text></defs></svg></div>")assert_equals: innerText expected "" but got "abc"
    at Test.<anonymous> (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at textTextInContainer (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:27:3)
    at testText (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:21:3)
Asserts run
Fail
assert_equals("abc", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass<svg> non-rendered text ignored ("<div><svg><stop>abc</stop></svg></div>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<foreignObject> contents preserved ("<svg><foreignObject><span id='target'>abc</span></foreignObject></svg>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<select size='1'> contents of options preserved ("<select size='1'><option>abc</option><option>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<select size='2'> contents of options preserved ("<select size='2'><option>abc</option><option>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<select size='1'> contents of target option preserved ("<select size='1'><option id='target'>abc</option><option>def")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<select size='2'> contents of target option preserved ("<select size='2'><option id='target'>abc</option><option>def")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passempty <select> ("<div>a<select></select>bc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passempty <optgroup> in <select> ("<div>a<select><optgroup></select>bc")
Asserts run
Pass
assert_equals("a\nbc", "a\nbc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("a\nbc", "a\nbc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passempty <option> in <select> ("<div>a<select><option></select>bc")
Asserts run
Pass
assert_equals("a\nbc", "a\nbc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("a\nbc", "a\nbc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<select> containing text node child ("<select class='poke'></select>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<optgroup> containing <optgroup> ("<select><optgroup class='poke-optgroup'></select>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<optgroup> containing <option> ("<select><optgroup><option>abc</select>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Fail<div> in <option> ("<select><option class='poke-div'>123</select>")assert_equals: innerText expected "123\nabc" but got "123abc"
    at Test.<anonymous> (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at textTextInContainer (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:27:3)
    at testText (https://wpt.live/html/dom/elements/the-innertext-and-outertext-properties/getter.html:21:3)
Asserts run
Fail
assert_equals("123abc", "123\nabc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Passempty <optgroup> in <div> ("<div>a<optgroup></optgroup>bc")
Asserts run
Pass
assert_equals("a\nbc", "a\nbc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("a\nbc", "a\nbc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<optgroup> in <div> ("<div>a<optgroup>123</optgroup>bc")
Asserts run
Pass
assert_equals("a\nbc", "a\nbc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("a\nbc", "a\nbc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passempty <option> in <div> ("<div>a<option></option>bc")
Asserts run
Pass
assert_equals("a\nbc", "a\nbc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("a\nbc", "a\nbc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<option> in <div> ("<div>a<option>123</option>bc")
Asserts run
Pass
assert_equals("a\n123\nbc", "a\n123\nbc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("a\n123\nbc", "a\n123\nbc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<button> contents preserved ("<div><button>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<fieldset> contents preserved ("<div><fieldset>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<fieldset> <legend> contents preserved ("<div><fieldset><legend>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<input> contents ignored ("<div><input type='text' value='abc'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<textarea> contents ignored ("<div><textarea>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<select size='1'> contents of options preserved ("<div><select size='1'><option>abc</option><option>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<select size='2'> contents of options preserved ("<div><select size='2'><option>abc</option><option>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<iframe> contents ignored ("<div><iframe>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass <iframe> subdocument ignored ("<div><iframe src='data:text/html,abc'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<audio> contents ignored ("<div><audio>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<video> contents ignored ("<div><video>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<canvas> contents ignored ("<div><canvas>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<object> contents ignored ("<div><object>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<img> alt text ignored ("<div><img alt='abc'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNewline at block boundary ("<div>123<div>abc</div>def")
Asserts run
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNewline at display:block boundary ("<div>123<span style='display:block'>abc</span>def")
Asserts run
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassEmpty block induces single line break ("<div>abc<div></div>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassConsecutive empty blocks ignored ("<div>abc<div></div><div></div>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <p> alone ("<div><p>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <p> followed by only collapsible whitespace ("<div><p>abc</p> ")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <p> preceded by only collapsible whitespace ("<div> <p>abc</p>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassBlank line between consecutive <p>s ("<div><p>abc<p>def")
Asserts run
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassBlank line between consecutive <p>s separated only by collapsible whitespace ("<div><p>abc</p> <p>def")
Asserts run
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassBlank line between consecutive <p>s separated only by empty block ("<div><p>abc</p><div></div><p>def")
Asserts run
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassBlank lines between <p>s separated by non-empty block ("<div><p>abc</p><div>123</div><p>def")
Asserts run
Pass
assert_equals("abc\n\n123\n\ndef", "abc\n\n123\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n\n123\n\ndef", "abc\n\n123\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassBlank lines around a <p> in its own block ("<div>abc<div><p>123</p></div>def")
Asserts run
Pass
assert_equals("abc\n\n123\n\ndef", "abc\n\n123\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n\n123\n\ndef", "abc\n\n123\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassBlank line before <p> ("<div>abc<p>def")
Asserts run
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassBlank line after <p> ("<div><p>abc</p>def")
Asserts run
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassOne blank line between <p>s, ignoring empty <p>s ("<div><p>abc<p></p><p></p><p>def")
Asserts run
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n\ndef", "abc\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassInvisible <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>")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <div> with margin ("<div>abc<div style='margin:2em'>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo newlines at display:inline-block boundary ("<div>123<span style='display:inline-block'>abc</span>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading/trailing space removal at display:inline-block boundary ("<div>123<span style='display:inline-block'> abc </span>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading/trailing space removal at display:inline-flex boundary ("<div>123<span style='display:inline-flex'> abc </span>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLeading/trailing space removal at display:inline-grid boundary ("<div>123<span style='display:inline-grid'> abc </span>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassBlank lines around <p> even without margin ("<div>123<p style='margin:0px'>abc</p>def")
Asserts run
Pass
assert_equals("123\n\nabc\n\ndef", "123\n\nabc\n\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\n\nabc\n\ndef", "123\n\nabc\n\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <h1> ("<div>123<h1>abc</h1>def")
Asserts run
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <h2> ("<div>123<h2>abc</h2>def")
Asserts run
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <h3> ("<div>123<h3>abc</h3>def")
Asserts run
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <h4> ("<div>123<h4>abc</h4>def")
Asserts run
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <h5> ("<div>123<h5>abc</h5>def")
Asserts run
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo blank lines around <h6> ("<div>123<h6>abc</h6>def")
Asserts run
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\nabc\ndef", "123\nabc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass2 blank lines around <p> even when display:block ("<div>123<p style='display:block'>abc")
Asserts run
Pass
assert_equals("123\n\nabc", "123\n\nabc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\n\nabc", "123\n\nabc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass2 blank lines around <p> even when display:inline-block ("<div>123<p style='display:inline-block'>abc")
Asserts run
Pass
assert_equals("123\n\nabc", "123\n\nabc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123\n\nabc", "123\n\nabc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<span> boundaries are irrelevant ("<div>123<span>abc</span>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<span> boundaries are irrelevant ("<div>123 <span>abc</span> def")
Asserts run
Pass
assert_equals("123 abc def", "123 abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123 abc def", "123 abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<span> boundaries are irrelevant ("<div style='width:0'>123 <span>abc</span> def")
Asserts run
Pass
assert_equals("123 abc def", "123 abc def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123 abc def", "123 abc def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<em> gets no special treatment ("<div>123<em>abc</em>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<b> gets no special treatment ("<div>123<b>abc</b>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<i> gets no special treatment ("<div>123<i>abc</i>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<strong> gets no special treatment ("<div>123<strong>abc</strong>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<tt> gets no special treatment ("<div>123<tt>abc</tt>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<code> gets no special treatment ("<div>123<code>abc</code>def")
Asserts run
Pass
assert_equals("123abcdef", "123abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123abcdef", "123abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passsoft hyphen preserved ("<div>abc&shy;def")
Asserts run
Pass
assert_equals("abc­def", "abc­def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc­def", "abc­def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passsoft hyphen preserved ("<div style='width:0'>abc&shy;def")
Asserts run
Pass
assert_equals("abc­def", "abc­def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc­def", "abc­def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassIgnoring non-rendered table whitespace ("<div><table style='white-space:pre'> <td>abc</td> </table>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTab-separated table cells ("<div><table><tr><td>abc<td>def</table>")
Asserts run
Pass
assert_equals("abc\tdef", "abc\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\tdef", "abc\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTab-separated table cells including empty cells ("<div><table><tr><td>abc<td><td>def</table>")
Asserts run
Pass
assert_equals("abc\t\tdef", "abc\t\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\t\tdef", "abc\t\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTab-separated table cells including trailing empty cells ("<div><table><tr><td>abc<td><td></table>")
Asserts run
Pass
assert_equals("abc\t\t", "abc\t\t", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\t\t", "abc\t\t", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNewline-separated table rows ("<div><table><tr><td>abc<tr><td>def</table>")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNewlines around table ("<div>abc<table><td>def</table>ghi")
Asserts run
Pass
assert_equals("abc\ndef\nghi", "abc\ndef\nghi", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef\nghi", "abc\ndef\nghi", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTab-separated table cells in a border-collapse table ("<div><table style='border-collapse:collapse'><tr><td>abc<td>def</table>")
Asserts run
Pass
assert_equals("abc\tdef", "abc\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\tdef", "abc\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passtfoot not reordered ("<div><table><tfoot>x</tfoot><tbody>y</tbody></table>")
Asserts run
Pass
assert_equals("xy", "xy", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("xy", "xy", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass ("<table><tfoot><tr><td>footer</tfoot><thead><tr><td style='visibility:collapse'>thead</thead><tbody><tr><td>tbody</tbody></table>")
Asserts run
Pass
assert_equals("footer\n\ntbody", "footer\n\ntbody", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("footer\n\ntbody", "footer\n\ntbody", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo tab on table-cell itself ("<table><tr><td id=target>abc</td><td>def</td>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo 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>")
Asserts run
Pass
assert_equals("abc\tdef", "abc\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\tdef", "abc\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNewline between cells and caption ("<div><table><tr><td>abc<caption>def</caption></table>")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTab-separated table cells ("<div><div class='table'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>")
Asserts run
Pass
assert_equals("abc\tdef", "abc\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\tdef", "abc\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNewline-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>")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNewlines around table ("<div>abc<div class='table'><span class='cell'>def</span></div>ghi")
Asserts run
Pass
assert_equals("abc\ndef\nghi", "abc\ndef\nghi", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef\nghi", "abc\ndef\nghi", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassTab-separated table cells ("<div><div class='itable'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>")
Asserts run
Pass
assert_equals("abc\tdef", "abc\tdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\tdef", "abc\tdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNewline-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>")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassNo newlines around inline-table ("<div>abc<div class='itable'><span class='cell'>def</span></div>ghi")
Asserts run
Pass
assert_equals("abcdefghi", "abcdefghi", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abcdefghi", "abcdefghi", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassSingle 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")
Asserts run
Pass
assert_equals("abcdef\n123ghi", "abcdef\n123ghi", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abcdef\n123ghi", "abcdef\n123ghi", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:table-row on the element itself ("<div style='display:table-row'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:table-cell on the element itself ("<div style='display:table-cell'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:table-caption on the element itself ("<div style='display:table-caption'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<ol> list items get no special treatment ("<div><ol><li>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<ul> list items get no special treatment ("<div><ul><li>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:block <script> is rendered ("<div><script style='display:block'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:block <style> is rendered ("<div><style style='display:block'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:block <noscript> is not rendered (it's not parsed!) ("<div><noscript style='display:block'>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:block <template> contents are not rendered (the contents are in a different document) ("<div><template style='display:block'>abc")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<br> induces line break ("<div>abc<br>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<br> induces line break even at end of block ("<div>abc<br>")
Asserts run
Pass
assert_equals("abc\n", "abc\n", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n", "abc\n", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<br> content ignored ("<div><br class='poke'>")
Asserts run
Pass
assert_equals("\n", "\n", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("\n", "\n", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<hr> induces line break ("<div>abc<hr>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<hr><hr> induces just one line break ("<div>abc<hr><hr>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<hr><hr><hr> induces just one line break ("<div>abc<hr><hr><hr>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<hr> content rendered ("<div><hr class='poke'>")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passcomment ignored ("<div>abc<!--comment-->def")
Asserts run
Pass
assert_equals("abcdef", "abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abcdef", "abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<br> ("<br>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passempty <p> ("<p>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passempty <div> ("<div>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passunopened <details> ignored ("<div><details><summary>abc</summary>123")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passopened <details> content shown ("<div><details open><summary>abc</summary>123")
Asserts run
Pass
assert_equals("abc\n123", "abc\n123", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n123", "abc\n123", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passtext-transform is applied ("<div><div style='text-transform:uppercase'>abc")
Asserts run
Pass
assert_equals("ABC", "ABC", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("ABC", "ABC", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passtext-transform handles es-zet ("<div><div style='text-transform:uppercase'>Maß")
Asserts run
Pass
assert_equals("MASS", "MASS", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("MASS", "MASS", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passtext-transform handles Turkish casing ("<div><div lang='tr' style='text-transform:uppercase'>i ı")
Asserts run
Pass
assert_equals("İ I", "İ I", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("İ I", "İ I", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passblock-in-inline doesn't add unnecessary newlines ("<div>abc<span>123<div>456</div>789</span>def")
Asserts run
Pass
assert_equals("abc123\n456\n789def", "abc123\n456\n789def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc123\n456\n789def", "abc123\n456\n789def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passfloats induce a block boundary ("<div>abc<div style='float:left'>123</div>def")
Asserts run
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passfloats induce a block boundary ("<div>abc<span style='float:left'>123</span>def")
Asserts run
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passfloat on the element itself ("<div style='float:left'>123")
Asserts run
Pass
assert_equals("123", "123", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123", "123", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passposition:absolute induces a block boundary ("<div>abc<div style='position:absolute'>123</div>def")
Asserts run
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passposition:absolute induces a block boundary ("<div>abc<span style='position:absolute'>123</span>def")
Asserts run
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passposition:absolute on the element itself ("<div style='position:absolute'>123")
Asserts run
Pass
assert_equals("123", "123", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("123", "123", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passposition:relative has no effect ("<div>abc<div style='position:relative'>123</div>def")
Asserts run
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\n123\ndef", "abc\n123\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passposition:relative has no effect ("<div>abc<span style='position:relative'>123</span>def")
Asserts run
Pass
assert_equals("abc123def", "abc123def", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc123def", "abc123def", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passoverflow:hidden ignored ("<div style='overflow:hidden'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passoverflow:hidden ignored even with zero width ("<div style='width:0; overflow:hidden'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passoverflow:hidden ignored even with zero height ("<div style='height:0; overflow:hidden'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passtext-overflow:ellipsis ignored ("<div style='width:0; overflow:hidden; text-overflow:ellipsis'>abc")
Asserts run
Pass
assert_equals("abc", "abc", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc", "abc", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassinnerText not supported on SVG elements ("<svg>abc")
Asserts run
Pass
assert_equals(undefined, undefined, "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(undefined, undefined, "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassinnerText not supported on MathML elements ("<math>abc")
Asserts run
Pass
assert_equals(undefined, undefined, "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals(undefined, undefined, "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<rt> and no <rp> ("<div><ruby>abc<rt>def</rt></ruby>")
Asserts run
Pass
assert_equals("abcdef", "abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abcdef", "abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<rp> ("<div><ruby>abc<rp>(</rp><rt>def</rt><rp>)</rp></ruby>")
Asserts run
Pass
assert_equals("abcdef", "abcdef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abcdef", "abcdef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassLone <rp> ("<div><rp>abc</rp>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passvisibility:hidden <rp> ("<div><rp style='visibility:hidden'>abc</rp>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:block <rp> ("<div><rp style='display:block'>abc</rp>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Passdisplay:block <rp> with whitespace ("<div><rp style='display:block'> abc </rp>def")
Asserts run
Pass
assert_equals("abc\ndef", "abc\ndef", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("abc\ndef", "abc\ndef", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
Pass<rp> in a <select> ("<div><select class='poke-rp'></select>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassShadow DOM contents ignored ("<div class='shadow'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassShadow DOM contents ignored ("<div><div class='shadow'>")
Asserts run
Pass
assert_equals("", "", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("", "", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassCSS 'order' property ignored ("<div style='display:flex'><div style='order:1'>1</div><div>2</div></div>")
Asserts run
Pass
assert_equals("1\n2", "1\n2", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("1\n2", "1\n2", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassFlex items blockified ("<div style='display:flex'><span>1</span><span>2</span></div>")
Asserts run
Pass
assert_equals("1\n2", "1\n2", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("1\n2", "1\n2", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassCSS 'order' property ignored ("<div style='display:grid'><div style='order:1'>1</div><div>2</div></div>")
Asserts run
Pass
assert_equals("1\n2", "1\n2", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("1\n2", "1\n2", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)
PassGrid items blockified ("<div style='display:grid'><span>1</span><span>2</span></div>")
Asserts run
Pass
assert_equals("1\n2", "1\n2", "innerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:58:5)
Pass
assert_equals("1\n2", "1\n2", "outerText")
    at Test.<anonymous> ( /html/dom/elements/the-innertext-and-outertext-properties/getter.html:59:5)