[wpt-sync] Sync PR 28846 - Upstream and expand outerText tests
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28846 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28846
Details from upstream follow.
b'Domenic Denicola <domenic@chromium.org>' wrote:
Upstream and expand outerText tests
This accompanies https://github.com/whatwg/html/pull/6653.
Fixed: 710764
Change-Id: I7168df9bbaeef12ed256b7f2fb9c2c43c9d6b227
Reviewed-on: https://chromium-review.googlesource.com/2875725
WPT-Export-Revision: f369d8c2c89aec12a5d1484fe41f55735db682f5
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 7 tests and 40 subtests
Status Summary
Firefox
OK : 7
PASS: 145
FAIL: 308
Chrome
OK : 7
PASS: 449
FAIL: 4
Safari
OK : 7
PASS: 357
FAIL: 96
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/html/dom/elements/the-innertext-and-outertext-properties/dynamic-getter.html
text-transform applied to child element ("<div id='target'><div id='child'>abc"): FAIL
text-transform applied to parent element ("<div id='parent'><div id='target'>abc"): FAIL
display: none applied to child element ("<div id='target'>abc<div id='child'>def"): FAIL
display: none applied to parent element ("<div id='parent'>invisible<div id='target'>abc"): FAIL
insert node into sub-tree ("<div id='target'>abc"): FAIL
remove node from sub-tree ("<div id='target'>abc<div id='remove'>def"): FAIL
insert whole sub-tree ("<div id='target'>"): FAIL
/custom-elements/reactions/HTMLElement.html
translate on HTMLElement must enqueue an attributeChanged reaction when adding translate content attribute: FAIL
translate on HTMLElement must enqueue an attributeChanged reaction when replacing an existing attribute: FAIL
outerText on HTMLElement must enqueue a disconnected reaction: FAIL
/html/dom/elements/the-innertext-and-outertext-properties/getter-first-letter-marker-multicol.html
Test innerText/outerText for a combination of a list item with ::first-letter in multicol: FAIL
/html/dom/elements/the-innertext-and-outertext-properties/getter.html
Simplest possible test ("<div>abc"): FAIL
Leading whitespace removed ("<div> abc"): FAIL
Trailing whitespace removed ("<div>abc "): FAIL
Internal whitespace compressed ("<div>abc def"): FAIL
\n converted to space ("<div>abc\ndef"): FAIL
\r converted to space ("<div>abc\rdef"): FAIL
\t converted to space ("<div>abc\tdef"): FAIL
Leading whitespace after hard line break removed ("<div>abc<br> def"): FAIL
Leading whitespace preserved ("<pre> abc"): FAIL
Trailing whitespace preserved ("<pre>abc "): FAIL
Internal whitespace preserved ("<pre>abc def"): FAIL
\n preserved ("<pre>abc\ndef"): FAIL
\r converted to newline ("<pre>abc\rdef"): FAIL
\t preserved ("<pre>abc\tdef"): FAIL
Leading whitespace preserved ("<div style='white-space:pre'> abc"): FAIL
Trailing whitespace preserved ("<div style='white-space:pre'>abc "): FAIL
Internal whitespace preserved ("<div style='white-space:pre'>abc def"): FAIL
\n preserved ("<div style='white-space:pre'>abc\ndef"): FAIL
\r converted to newline ("<div style='white-space:pre'>abc\rdef"): FAIL
\t preserved ("<div style='white-space:pre'>abc\tdef"): FAIL
Leading whitespace preserved ("<span style='white-space:pre'> abc"): FAIL
Trailing whitespace preserved ("<span style='white-space:pre'>abc "): FAIL
Internal whitespace preserved ("<span style='white-space:pre'>abc def"): FAIL
\n preserved ("<span style='white-space:pre'>abc\ndef"): FAIL
\r converted to newline ("<span style='white-space:pre'>abc\rdef"): FAIL
\t preserved ("<span style='white-space:pre'>abc\tdef"): FAIL
Leading whitespace removed ("<div style='white-space:pre-line'> abc"): FAIL
Trailing whitespace removed ("<div style='white-space:pre-line'>abc "): FAIL
Internal whitespace collapsed ("<div style='white-space:pre-line'>abc def"): FAIL
\t converted to space ("<div style='white-space:pre-line'>abc\tdef"): FAIL
Whitespace collapses across element boundaries ("<div><span>abc </span> def"): FAIL
Whitespace collapses across element boundaries ("<div><span>abc </span><span></span> def"): FAIL
Whitespace around <input> should not be collapsed ("<div>abc <input> def"): FAIL
Whitespace around inline-block should not be collapsed ("<div>abc <span style='display:inline-block'></span> def"): FAIL
Whitespace around <img> should not be collapsed ("<div>abc <img> def"): FAIL
Whitespace around <img> should not be collapsed ("<div>abc <img width=1 height=1> def"): FAIL
Leading whitesapce should not be collapsed ("<div><img> abc"): FAIL
Trailing whitesapce should not be collapsed ("<div>abc <img>"): FAIL
Whitespace around empty span should be collapsed ("<div>abc <b></b> def"): FAIL
Whitespace around empty spans should be collapsed ("<div>abc <b><i></i></b> def"): FAIL
<canvas> should not collapse following space ("<div><canvas></canvas> abc"): FAIL
Soft line breaks ignored ("<div style='width:0'>abc def"): FAIL
Soft line break at hyphen ignored ("<div style='width:0'>abc-def"): FAIL
Whitespace text node preserved ("<div style='width:0'><span>abc</span> <span>def</span>"): FAIL
Soft breaks ignored in presence of word-break:break-word ("<div style='width:1px; word-break:break-word'>Hello Kitty</div>"): FAIL
Element boundaries ignored for soft break handling (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x>Kitty</x></div>"): FAIL
Whitespace collapses across element boundaries at soft break (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x> Kitty</x></div>"): FAIL
Element boundaries ignored for soft break handling (2) ("<div style='width:1px; word-break:break-word'><x>Hello</x><x> Kitty</x></div>"): FAIL
Whitespace collapses across element boundaries at soft break (2) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x>Kitty</x></div>"): FAIL
Element boundaries ignored for soft break handling (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x>Kitty</x></div>"): FAIL
Whitespace collapses across element boundaries at soft break (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x> Kitty</x></div>"): FAIL
Whitespace collapses across element boundaries at soft break (4) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x> Kitty</x></div>"): FAIL
Element boundaries ignored for soft break handling (4) ("<div style='width:1px; word-break:break-word'><x>Hello</x> Kitty</div>"): FAIL
Element boundaries ignored for soft break handling (5) ("<div style='width:1px; word-break:break-word'><x>Hello </x>Kitty</div>"): FAIL
Soft breaks ignored, text-transform applied ("<div style='width:1px; word-break:break-word; text-transform:uppercase'>Hello Kitty</div>"): FAIL
<br> returned as newline, following space collapsed ("<div style='width:1px; word-break:break-word'>Hello<br> Kitty</div>"): FAIL
<br> returned as newline, preceding space collapsed ("<div style='width:1px; word-break:break-word'>Hello <br>Kitty</div>"): FAIL
<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>"): FAIL
::first-letter styles applied ("<div class='first-letter-uppercase' style='width:0'>abc def"): FAIL
::first-letter float ignored ("<div class='first-letter-float' style='width:0'>abc def"): FAIL
preserved ("<div> "): FAIL
display:none container ("<div style='display:none'>abc"): FAIL
No whitespace compression in display:none container ("<div style='display:none'>abc def"): FAIL
No removal of leading/trailing whitespace in display:none container ("<div style='display:none'> abc def "): FAIL
display:none child not rendered ("<div>123<span style='display:none'>abc"): FAIL
display:none container with non-display-none target child ("<div style='display:none'><span id='target'>abc"): FAIL
non-display-none child of svg ("<div id='target'>abc"): FAIL
display:none child of svg ("<div style='display:none' id='target'>abc"): FAIL
child of display:none child of svg ("<div style='display:none'><div id='target'>abc"): FAIL
display:contents container ("<div style='display:contents'>abc"): FAIL
display:contents rendered ("<div>123<span style='display:contents'>abc"): FAIL
display:contents not processed via textContent ("<div><div style='display:contents'> "): FAIL
visibility:hidden container ("<div style='visibility:hidden'>abc"): FAIL
visibility:hidden child not rendered ("<div>123<span style='visibility:hidden'>abc"): FAIL
visibility:visible child rendered ("<div style='visibility:hidden'>123<span style='visibility:visible'>abc"): FAIL
visibility:collapse row-group ("<table><tbody style='visibility:collapse'><tr><td>abc"): FAIL
visibility:collapse row ("<table><tr style='visibility:collapse'><td>abc"): FAIL
visibility:collapse cell ("<table><tr><td style='visibility:collapse'>abc"): FAIL
opacity:0 container ("<div style='opacity:0'>abc"): FAIL
Whitespace compression in opacity:0 container ("<div style='opacity:0'>abc def"): FAIL
Remove leading/trailing whitespace in opacity:0 container ("<div style='opacity:0'> abc def "): FAIL
opacity:0 child rendered ("<div>123<span style='opacity:0'>abc"): FAIL
Generated content not included ("<div class='before'>"): FAIL
Generated content on child not included ("<div><div class='before'>"): FAIL
<button> contents preserved ("<button>abc"): FAIL
<fieldset> contents preserved ("<fieldset>abc"): FAIL
<input> contents ignored ("<input type='text' value='abc'>"): FAIL
<textarea> contents ignored ("<textarea>abc"): FAIL
<iframe> contents ignored ("<iframe>abc"): FAIL
<iframe> contents ignored ("<iframe><div id='target'>abc"): FAIL
<iframe> subdocument ignored ("<iframe src='data:text/html,abc'>"): FAIL
<audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:block'>"): FAIL
<audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:none'>"): FAIL
<video> contents ignored ("<video>abc"): FAIL
<video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:block'>"): FAIL
<video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:none'>"): FAIL
<canvas> contents ignored ("<canvas>abc"): FAIL
<canvas><div id='target'> contents ok for element not being rendered ("<canvas><div id='target'>abc"): FAIL
<img> alt text ignored ("<img alt='abc'>"): FAIL
<img> contents ignored ("<img src='about:blank' class='poke'>"): FAIL
<svg> non-rendered text ignored ("<div><svg><stop>abc</stop></svg></div>"): FAIL
<foreignObject> contents preserved ("<svg><foreignObject><span id='target'>abc</span></foreignObject></svg>"): FAIL
<select size='1'> contents of target option preserved ("<select size='1'><option id='target'>abc</option><option>def"): FAIL
<select size='2'> contents of target option preserved ("<select size='2'><option id='target'>abc</option><option>def"): FAIL
empty <select> ("<div>a<select></select>bc"): FAIL
<select> containing text node child ("<select class='poke'></select>"): FAIL
<optgroup> containing <optgroup> ("<select><optgroup class='poke-optgroup'></select>"): FAIL
<button> contents preserved ("<div><button>abc"): FAIL
<input> contents ignored ("<div><input type='text' value='abc'>"): FAIL
<textarea> contents ignored ("<div><textarea>abc"): FAIL
<iframe> contents ignored ("<div><iframe>abc"): FAIL
<iframe> subdocument ignored ("<div><iframe src='data:text/html,abc'>"): FAIL
<audio> contents ignored ("<div><audio>abc"): FAIL
<video> contents ignored ("<div><video>abc"): FAIL
<canvas> contents ignored ("<div><canvas>abc"): FAIL
<img> alt text ignored ("<div><img alt='abc'>"): FAIL
Newline at block boundary ("<div>123<div>abc</div>def"): FAIL
Newline at display:block boundary ("<div>123<span style='display:block'>abc</span>def"): FAIL
Empty block induces single line break ("<div>abc<div></div>def"): FAIL
Consecutive empty blocks ignored ("<div>abc<div></div><div></div>def"): FAIL
Blank line after <p> ("<div><p>abc</p>def"): FAIL
No newlines at display:inline-block boundary ("<div>123<span style='display:inline-block'>abc</span>def"): FAIL
<span> boundaries are irrelevant ("<div>123<span>abc</span>def"): FAIL
<span> boundaries are irrelevant ("<div>123 <span>abc</span> def"): FAIL
<span> boundaries are irrelevant ("<div style='width:0'>123 <span>abc</span> def"): FAIL
<em> gets no special treatment ("<div>123<em>abc</em>def"): FAIL
<b> gets no special treatment ("<div>123<b>abc</b>def"): FAIL
<i> gets no special treatment ("<div>123<i>abc</i>def"): FAIL
<strong> gets no special treatment ("<div>123<strong>abc</strong>def"): FAIL
<tt> gets no special treatment ("<div>123<tt>abc</tt>def"): FAIL
<code> gets no special treatment ("<div>123<code>abc</code>def"): FAIL
soft hyphen preserved ("<div>abcdef"): FAIL
soft hyphen preserved ("<div style='width:0'>abcdef"): FAIL
Newlines around table ("<div>abc<table><td>def</table>ghi"): FAIL
No tab on table-cell itself ("<table><tr><td id=target>abc</td><td>def</td>"): FAIL
No newline on table-row itself ("<table><tr id=target><td>abc</td><td>def</td></tr><tr id=target><td>ghi</td><td>jkl</td></tr>"): FAIL
Newlines around table ("<div>abc<div class='table'><span class='cell'>def</span></div>ghi"): FAIL
display:table-row on the element itself ("<div style='display:table-row'>"): FAIL
display:table-cell on the element itself ("<div style='display:table-cell'>"): FAIL
display:table-caption on the element itself ("<div style='display:table-caption'>"): FAIL
display:block <noscript> is not rendered (it's not parsed!) ("<div><noscript style='display:block'>abc"): FAIL
display:block <template> contents are not rendered (the contents are in a different document) ("<div><template style='display:block'>abc"): FAIL
<br> induces line break ("<div>abc<br>def"): FAIL
<br> induces line break even at end of block ("<div>abc<br>"): FAIL
<br> content ignored ("<div><br class='poke'>"): FAIL
<hr> induces line break ("<div>abc<hr>def"): FAIL
<hr><hr> induces just one line break ("<div>abc<hr><hr>def"): FAIL
<hr><hr><hr> induces just one line break ("<div>abc<hr><hr><hr>def"): FAIL
comment ignored ("<div>abc<!--comment-->def"): FAIL
<br> ("<br>"): FAIL
empty <p> ("<p>"): FAIL
empty <div> ("<div>"): FAIL
block-in-inline doesn't add unnecessary newlines ("<div>abc<span>123<div>456</div>789</span>def"): FAIL
float on the element itself ("<div style='float:left'>123"): FAIL
position:absolute on the element itself ("<div style='position:absolute'>123"): FAIL
position:relative has no effect ("<div>abc<div style='position:relative'>123</div>def"): FAIL
position:relative has no effect ("<div>abc<span style='position:relative'>123</span>def"): FAIL
overflow:hidden ignored ("<div style='overflow:hidden'>abc"): FAIL
innerText not supported on SVG elements ("<svg>abc"): FAIL
innerText not supported on MathML elements ("<math>abc"): FAIL
<rt> and no <rp> ("<div><ruby>abc<rt>def</rt></ruby>"): FAIL
visibility:hidden <rp> ("<div><rp style='visibility:hidden'>abc</rp>"): FAIL
display:block <rp> ("<div><rp style='display:block'>abc</rp>def"): FAIL
display:block <rp> with whitespace ("<div><rp style='display:block'> abc </rp>def"): FAIL
<rp> in a <select> ("<div><select class='poke-rp'></select>"): FAIL
Shadow DOM contents ignored ("<div class='shadow'>"): FAIL
Shadow DOM contents ignored ("<div><div class='shadow'>"): FAIL
/html/dom/elements/the-innertext-and-outertext-properties/multiple-text-nodes.window.html
Ensure multiple text nodes get rendered properly: FAIL
/html/dom/elements/the-innertext-and-outertext-properties/outertext-setter.html
Replacing a node and merging with the previous text node: FAIL
Replacing a node and merging with the following text node: FAIL
Replacing a node and merging with the previous and following text node: FAIL
Only merges with the previous and following text nodes, does not completely normalize: FAIL
Removing a node: FAIL
Detached node: FAIL
Simplest possible test: FAIL
Newlines convert to <br> in non-white-space:pre elements: FAIL
Newlines convert to <br> in <pre> element: FAIL
Newlines convert to <br> in <textarea> element: FAIL
Newlines convert to <br> in white-space:pre element: FAIL
CRs convert to <br> in non-white-space:pre elements: FAIL
CRs convert to <br> in <pre> element: FAIL
Newline/CR pair converts to <br> in non-white-space:pre element: FAIL
Newline/newline pair converts to two <br>s in non-white-space:pre element: FAIL
CR/CR pair converts to two <br>s in non-white-space:pre element: FAIL
CRs convert to <br> in white-space:pre element: FAIL
< preserved: FAIL
preserved: FAIL
& preserved: FAIL
" preserved: FAIL
' preserved: FAIL
Null characters preserved: FAIL
Tabs preserved: FAIL
Leading whitespace preserved: FAIL
Trailing whitespace preserved: FAIL
Whitespace not compressed: FAIL
Existing text deleted: FAIL
Existing <br> deleted: FAIL
Assigning the empty string: FAIL
Assigning null: FAIL
Assigning undefined: FAIL
Start with CR: FAIL
Start with LF: FAIL
Start with CRLF: FAIL
End with CR: FAIL
End with LF: FAIL
End with CRLF: FAIL
New Tests That Don't Pass
/html/dom/elements/the-innertext-and-outertext-properties/dynamic-getter.html
text-transform applied to child element ("<div id='target'><div id='child'>abc"): FAIL (Chrome: PASS, Safari: PASS)
text-transform applied to parent element ("<div id='parent'><div id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
display: none applied to child element ("<div id='target'>abc<div id='child'>def"): FAIL (Chrome: PASS, Safari: PASS)
display: none applied to parent element ("<div id='parent'>invisible<div id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
insert node into sub-tree ("<div id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
remove node from sub-tree ("<div id='target'>abc<div id='remove'>def"): FAIL (Chrome: PASS, Safari: PASS)
insert whole sub-tree ("<div id='target'>"): FAIL (Chrome: PASS, Safari: PASS)
/custom-elements/reactions/HTMLElement.html
translate on HTMLElement must enqueue an attributeChanged reaction when adding translate content attribute: FAIL (Chrome: PASS, Safari: PASS)
translate on HTMLElement must enqueue an attributeChanged reaction when replacing an existing attribute: FAIL (Chrome: PASS, Safari: PASS)
outerText on HTMLElement must enqueue a disconnected reaction: FAIL (Chrome: PASS, Safari: PASS)
/html/dom/elements/the-innertext-and-outertext-properties/getter-first-letter-marker-multicol.html
Test innerText/outerText for a combination of a list item with ::first-letter in multicol: FAIL (Chrome: PASS, Safari: PASS)
/html/dom/elements/the-innertext-and-outertext-properties/getter.html
Simplest possible test ("<div>abc"): FAIL (Chrome: PASS, Safari: PASS)
Leading whitespace removed ("<div> abc"): FAIL (Chrome: PASS, Safari: PASS)
Trailing whitespace removed ("<div>abc "): FAIL (Chrome: PASS, Safari: PASS)
Internal whitespace compressed ("<div>abc def"): FAIL (Chrome: PASS, Safari: PASS)
\n converted to space ("<div>abc\ndef"): FAIL (Chrome: PASS, Safari: PASS)
\r converted to space ("<div>abc\rdef"): FAIL (Chrome: PASS, Safari: PASS)
\t converted to space ("<div>abc\tdef"): FAIL (Chrome: PASS, Safari: PASS)
Trailing whitespace before hard line break removed ("<div>abc <br>def"): FAIL (Chrome: PASS, Safari: FAIL)
Leading whitespace after hard line break removed ("<div>abc<br> def"): FAIL (Chrome: PASS, Safari: PASS)
Leading whitespace preserved ("<pre> abc"): FAIL (Chrome: PASS, Safari: PASS)
Trailing whitespace preserved ("<pre>abc "): FAIL (Chrome: PASS, Safari: PASS)
Internal whitespace preserved ("<pre>abc def"): FAIL (Chrome: PASS, Safari: PASS)
\n preserved ("<pre>abc\ndef"): FAIL (Chrome: PASS, Safari: PASS)
\r converted to newline ("<pre>abc\rdef"): FAIL (Chrome: PASS, Safari: PASS)
\t preserved ("<pre>abc\tdef"): FAIL (Chrome: PASS, Safari: PASS)
Two <pre> siblings ("<div><pre>abc</pre><pre>def</pre>"): FAIL (Chrome: PASS, Safari: FAIL)
Leading whitespace preserved ("<div style='white-space:pre'> abc"): FAIL (Chrome: PASS, Safari: PASS)
Trailing whitespace preserved ("<div style='white-space:pre'>abc "): FAIL (Chrome: PASS, Safari: PASS)
Internal whitespace preserved ("<div style='white-space:pre'>abc def"): FAIL (Chrome: PASS, Safari: PASS)
\n preserved ("<div style='white-space:pre'>abc\ndef"): FAIL (Chrome: PASS, Safari: PASS)
\r converted to newline ("<div style='white-space:pre'>abc\rdef"): FAIL (Chrome: PASS, Safari: PASS)
\t preserved ("<div style='white-space:pre'>abc\tdef"): FAIL (Chrome: PASS, Safari: PASS)
Leading whitespace preserved ("<span style='white-space:pre'> abc"): FAIL (Chrome: PASS, Safari: PASS)
Trailing whitespace preserved ("<span style='white-space:pre'>abc "): FAIL (Chrome: PASS, Safari: PASS)
Internal whitespace preserved ("<span style='white-space:pre'>abc def"): FAIL (Chrome: PASS, Safari: PASS)
\n preserved ("<span style='white-space:pre'>abc\ndef"): FAIL (Chrome: PASS, Safari: PASS)
\r converted to newline ("<span style='white-space:pre'>abc\rdef"): FAIL (Chrome: PASS, Safari: PASS)
\t preserved ("<span style='white-space:pre'>abc\tdef"): FAIL (Chrome: PASS, Safari: PASS)
Leading whitespace removed ("<div style='white-space:pre-line'> abc"): FAIL (Chrome: PASS, Safari: PASS)
Trailing whitespace removed ("<div style='white-space:pre-line'>abc "): FAIL (Chrome: PASS, Safari: PASS)
Internal whitespace collapsed ("<div style='white-space:pre-line'>abc def"): FAIL (Chrome: PASS, Safari: PASS)
\n preserved ("<div style='white-space:pre-line'>abc\ndef"): FAIL (Chrome: PASS, Safari: FAIL)
\r converted to newline ("<div style='white-space:pre-line'>abc\rdef"): FAIL (Chrome: PASS, Safari: FAIL)
\t converted to space ("<div style='white-space:pre-line'>abc\tdef"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace collapses across element boundaries ("<div><span>abc </span> def"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace collapses across element boundaries ("<div><span>abc </span><span></span> def"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace collapses across element boundaries ("<div><span>abc </span><span style='white-space:pre'></span> def"): FAIL (Chrome: PASS, Safari: FAIL)
Whitespace around <input> should not be collapsed ("<div>abc <input> def"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace around inline-block should not be collapsed ("<div>abc <span style='display:inline-block'></span> def"): FAIL (Chrome: PASS, Safari: PASS)
Trailing space at end of inline-block should be collapsed ("<div>abc <span style='display:inline-block'> def </span> ghi"): FAIL (Chrome: PASS, Safari: FAIL)
Whitespace between <input> and block should be collapsed ("<div><input> <div>abc</div>"): FAIL (Chrome: PASS, Safari: FAIL)
Whitespace between inline-block and block should be collapsed ("<div><span style='inline-block'></span> <div>abc</div>"): FAIL (Chrome: PASS, Safari: FAIL)
Whitespace around <img> should not be collapsed ("<div>abc <img> def"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace around <img> should not be collapsed ("<div>abc <img width=1 height=1> def"): FAIL (Chrome: PASS, Safari: PASS)
Leading whitesapce should not be collapsed ("<div><img> abc"): FAIL (Chrome: PASS, Safari: PASS)
Trailing whitesapce should not be collapsed ("<div>abc <img>"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace around empty span should be collapsed ("<div>abc <b></b> def"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace around empty spans should be collapsed ("<div>abc <b><i></i></b> def"): FAIL (Chrome: PASS, Safari: PASS)
<canvas> should not collapse following space ("<div><canvas></canvas> abc"): FAIL (Chrome: PASS, Safari: PASS)
Replaced element <img> with display:block should be treated as block-level ("<div>abc <img style='display:block'> def"): FAIL (Chrome: PASS, Safari: FAIL)
Replaced element <canvas> with display:block should be treated as block-level ("<div>abc <canvas style='display:block'></canvas> def"): FAIL (Chrome: PASS, Safari: FAIL)
Soft line breaks ignored ("<div style='width:0'>abc def"): FAIL (Chrome: PASS, Safari: PASS)
Soft line break at hyphen ignored ("<div style='width:0'>abc-def"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace text node preserved ("<div style='width:0'><span>abc</span> <span>def</span>"): FAIL (Chrome: PASS, Safari: PASS)
Soft breaks ignored in presence of word-break:break-word ("<div style='width:1px; word-break:break-word'>Hello Kitty</div>"): FAIL (Chrome: PASS, Safari: PASS)
Element boundaries ignored for soft break handling (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x>Kitty</x></div>"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace collapses across element boundaries at soft break (1) ("<div style='width:1px; word-break:break-word'><x>Hello</x> <x> Kitty</x></div>"): FAIL (Chrome: PASS, Safari: PASS)
Element boundaries ignored for soft break handling (2) ("<div style='width:1px; word-break:break-word'><x>Hello</x><x> Kitty</x></div>"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace collapses across element boundaries at soft break (2) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x>Kitty</x></div>"): FAIL (Chrome: PASS, Safari: PASS)
Element boundaries ignored for soft break handling (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x>Kitty</x></div>"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace collapses across element boundaries at soft break (3) ("<div style='width:1px; word-break:break-word'><x>Hello </x><x> Kitty</x></div>"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace collapses across element boundaries at soft break (4) ("<div style='width:1px; word-break:break-word'><x>Hello </x> <x> Kitty</x></div>"): FAIL (Chrome: PASS, Safari: PASS)
Element boundaries ignored for soft break handling (4) ("<div style='width:1px; word-break:break-word'><x>Hello</x> Kitty</div>"): FAIL (Chrome: PASS, Safari: PASS)
Element boundaries ignored for soft break handling (5) ("<div style='width:1px; word-break:break-word'><x>Hello </x>Kitty</div>"): FAIL (Chrome: PASS, Safari: PASS)
Soft breaks ignored, text-transform applied ("<div style='width:1px; word-break:break-word; text-transform:uppercase'>Hello Kitty</div>"): FAIL (Chrome: PASS, Safari: PASS)
<br> returned as newline, following space collapsed ("<div style='width:1px; word-break:break-word'>Hello<br> Kitty</div>"): FAIL (Chrome: PASS, Safari: PASS)
<br> returned as newline, preceding space collapsed ("<div style='width:1px; word-break:break-word'>Hello <br>Kitty</div>"): FAIL (Chrome: PASS, Safari: 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>"): FAIL (Chrome: PASS, Safari: PASS)
::first-line styles applied ("<div class='first-line-uppercase' style='width:0'>abc def"): FAIL (Chrome: FAIL, Safari: FAIL)
::first-letter styles applied ("<div class='first-letter-uppercase' style='width:0'>abc def"): FAIL (Chrome: PASS, Safari: PASS)
::first-letter float ignored ("<div class='first-letter-float' style='width:0'>abc def"): FAIL (Chrome: PASS, Safari: PASS)
preserved ("<div> "): FAIL (Chrome: PASS, Safari: PASS)
display:none container ("<div style='display:none'>abc"): FAIL (Chrome: PASS, Safari: PASS)
No whitespace compression in display:none container ("<div style='display:none'>abc def"): FAIL (Chrome: PASS, Safari: PASS)
No removal of leading/trailing whitespace in display:none container ("<div style='display:none'> abc def "): FAIL (Chrome: PASS, Safari: PASS)
display:none child not rendered ("<div>123<span style='display:none'>abc"): FAIL (Chrome: PASS, Safari: PASS)
display:none container with non-display-none target child ("<div style='display:none'><span id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
non-display-none child of svg ("<div id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
display:none child of svg ("<div style='display:none' id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
child of display:none child of svg ("<div style='display:none'><div id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
display:contents container ("<div style='display:contents'>abc"): FAIL (Chrome: PASS, Safari: PASS)
display:contents container ("<div><div style='display:contents'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
display:contents rendered ("<div>123<span style='display:contents'>abc"): FAIL (Chrome: PASS, Safari: PASS)
display:contents not processed via textContent ("<div style='display:contents'> "): FAIL (Chrome: PASS, Safari: FAIL)
display:contents not processed via textContent ("<div><div style='display:contents'> "): FAIL (Chrome: PASS, Safari: PASS)
visibility:hidden container ("<div style='visibility:hidden'>abc"): FAIL (Chrome: PASS, Safari: PASS)
visibility:hidden child not rendered ("<div>123<span style='visibility:hidden'>abc"): FAIL (Chrome: PASS, Safari: PASS)
visibility:visible child rendered ("<div style='visibility:hidden'>123<span style='visibility:visible'>abc"): FAIL (Chrome: PASS, Safari: PASS)
visibility:collapse row-group ("<table><tbody style='visibility:collapse'><tr><td>abc"): FAIL (Chrome: PASS, Safari: PASS)
visibility:collapse row ("<table><tr style='visibility:collapse'><td>abc"): FAIL (Chrome: PASS, Safari: PASS)
visibility:collapse cell ("<table><tr><td style='visibility:collapse'>abc"): FAIL (Chrome: PASS, Safari: PASS)
visibility:collapse row-group with visible cell ("<table><tbody style='visibility:collapse'><tr><td style='visibility:visible'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
visibility:collapse row with visible cell ("<table><tr style='visibility:collapse'><td style='visibility:visible'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
visibility:collapse honored on flex item ("<div style='display:flex'><span style='visibility:collapse'>1</span><span>2</span></div>"): FAIL (Chrome: PASS, Safari: FAIL)
visibility:collapse honored on grid item ("<div style='display:grid'><span style='visibility:collapse'>1</span><span>2</span></div>"): FAIL (Chrome: PASS, Safari: FAIL)
opacity:0 container ("<div style='opacity:0'>abc"): FAIL (Chrome: PASS, Safari: PASS)
Whitespace compression in opacity:0 container ("<div style='opacity:0'>abc def"): FAIL (Chrome: PASS, Safari: PASS)
Remove leading/trailing whitespace in opacity:0 container ("<div style='opacity:0'> abc def "): FAIL (Chrome: PASS, Safari: PASS)
opacity:0 child rendered ("<div>123<span style='opacity:0'>abc"): FAIL (Chrome: PASS, Safari: PASS)
Generated content not included ("<div class='before'>"): FAIL (Chrome: PASS, Safari: PASS)
Generated content on child not included ("<div><div class='before'>"): FAIL (Chrome: PASS, Safari: PASS)
<button> contents preserved ("<button>abc"): FAIL (Chrome: PASS, Safari: PASS)
<fieldset> contents preserved ("<fieldset>abc"): FAIL (Chrome: PASS, Safari: PASS)
<fieldset> <legend> contents preserved ("<fieldset><legend>abc"): FAIL (Chrome: PASS, Safari: FAIL)
<input> contents ignored ("<input type='text' value='abc'>"): FAIL (Chrome: PASS, Safari: PASS)
<textarea> contents ignored ("<textarea>abc"): FAIL (Chrome: PASS, Safari: PASS)
<iframe> contents ignored ("<iframe>abc"): FAIL (Chrome: PASS, Safari: PASS)
<iframe> contents ignored ("<iframe><div id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
<iframe> subdocument ignored ("<iframe src='data:text/html,abc'>"): FAIL (Chrome: PASS, Safari: PASS)
<audio> contents ignored ("<audio style='display:block'>abc"): FAIL (Chrome: FAIL, Safari: FAIL)
<audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:block'>"): FAIL (Chrome: PASS, Safari: PASS)
<audio> contents ok for element not being rendered ("<audio style='display:block'><source id='target' class='poke' style='display:none'>"): FAIL (Chrome: PASS, Safari: PASS)
<video> contents ignored ("<video>abc"): FAIL (Chrome: PASS, Safari: PASS)
<video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:block'>"): FAIL (Chrome: PASS, Safari: PASS)
<video> contents ok for element not being rendered ("<video style='display:block'><source id='target' class='poke' style='display:none'>"): FAIL (Chrome: PASS, Safari: PASS)
<canvas> contents ignored ("<canvas>abc"): FAIL (Chrome: PASS, Safari: PASS)
<canvas><div id='target'> contents ok for element not being rendered ("<canvas><div id='target'>abc"): FAIL (Chrome: PASS, Safari: PASS)
<img> alt text ignored ("<img alt='abc'>"): FAIL (Chrome: PASS, Safari: PASS)
<img> contents ignored ("<img src='about:blank' class='poke'>"): FAIL (Chrome: PASS, Safari: PASS)
<svg> text contents preserved ("<div><svg><text>abc</text></svg></div>"): FAIL (Chrome: PASS, Safari: FAIL)
<svg><defs> text contents ignored ("<div><svg><defs><text>abc</text></defs></svg></div>"): FAIL (Chrome: FAIL, Safari: FAIL)
<svg> non-rendered text ignored ("<div><svg><stop>abc</stop></svg></div>"): FAIL (Chrome: PASS, Safari: PASS)
<foreignObject> contents preserved ("<svg><foreignObject><span id='target'>abc</span></foreignObject></svg>"): FAIL (Chrome: PASS, Safari: PASS)
<select size='1'> contents of options preserved ("<select size='1'><option>abc</option><option>def"): FAIL (Chrome: PASS, Safari: FAIL)
<select size='2'> contents of options preserved ("<select size='2'><option>abc</option><option>def"): FAIL (Chrome: PASS, Safari: FAIL)
<select size='1'> contents of target option preserved ("<select size='1'><option id='target'>abc</option><option>def"): FAIL (Chrome: PASS, Safari: PASS)
<select size='2'> contents of target option preserved ("<select size='2'><option id='target'>abc</option><option>def"): FAIL (Chrome: PASS, Safari: PASS)
empty <select> ("<div>a<select></select>bc"): FAIL (Chrome: PASS, Safari: PASS)
empty <optgroup> in <select> ("<div>a<select><optgroup></select>bc"): FAIL (Chrome: PASS, Safari: FAIL)
empty <option> in <select> ("<div>a<select><option></select>bc"): FAIL (Chrome: PASS, Safari: FAIL)
<select> containing text node child ("<select class='poke'></select>"): FAIL (Chrome: PASS, Safari: PASS)
<optgroup> containing <optgroup> ("<select><optgroup class='poke-optgroup'></select>"): FAIL (Chrome: PASS, Safari: PASS)
<optgroup> containing <option> ("<select><optgroup><option>abc</select>"): FAIL (Chrome: PASS, Safari: FAIL)
<div> in <option> ("<select><option class='poke-div'>123</select>"): FAIL (Chrome: FAIL, Safari: FAIL)
empty <optgroup> in <div> ("<div>a<optgroup></optgroup>bc"): FAIL (Chrome: PASS, Safari: FAIL)
<optgroup> in <div> ("<div>a<optgroup>123</optgroup>bc"): FAIL (Chrome: PASS, Safari: FAIL)
empty <option> in <div> ("<div>a<option></option>bc"): FAIL (Chrome: PASS, Safari: FAIL)
<option> in <div> ("<div>a<option>123</option>bc"): FAIL (Chrome: PASS, Safari: FAIL)
<button> contents preserved ("<div><button>abc"): FAIL (Chrome: PASS, Safari: PASS)
<fieldset> contents preserved ("<div><fieldset>abc"): FAIL (Chrome: PASS, Safari: FAIL)
<fieldset> <legend> contents preserved ("<div><fieldset><legend>abc"): FAIL (Chrome: PASS, Safari: FAIL)
<input> contents ignored ("<div><input type='text' value='abc'>"): FAIL (Chrome: PASS, Safari: PASS)
<textarea> contents ignored ("<div><textarea>abc"): FAIL (Chrome: PASS, Safari: PASS)
<select size='1'> contents of options preserved ("<div><select size='1'><option>abc</option><option>def"): FAIL (Chrome: PASS, Safari: FAIL)
<select size='2'> contents of options preserved ("<div><select size='2'><option>abc</option><option>def"): FAIL (Chrome: PASS, Safari: FAIL)
<iframe> contents ignored ("<div><iframe>abc"): FAIL (Chrome: PASS, Safari: PASS)
<iframe> subdocument ignored ("<div><iframe src='data:text/html,abc'>"): FAIL (Chrome: PASS, Safari: PASS)
<audio> contents ignored ("<div><audio>abc"): FAIL (Chrome: PASS, Safari: PASS)
<video> contents ignored ("<div><video>abc"): FAIL (Chrome: PASS, Safari: PASS)
<canvas> contents ignored ("<div><canvas>abc"): FAIL (Chrome: PASS, Safari: PASS)
<img> alt text ignored ("<div><img alt='abc'>"): FAIL (Chrome: PASS, Safari: PASS)
Newline at block boundary ("<div>123<div>abc</div>def"): FAIL (Chrome: PASS, Safari: PASS)
Newline at display:block boundary ("<div>123<span style='display:block'>abc</span>def"): FAIL (Chrome: PASS, Safari: PASS)
Empty block induces single line break ("<div>abc<div></div>def"): FAIL (Chrome: PASS, Safari: PASS)
Consecutive empty blocks ignored ("<div>abc<div></div><div></div>def"): FAIL (Chrome: PASS, Safari: PASS)
No blank lines around <p> alone ("<div><p>abc"): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <p> followed by only collapsible whitespace ("<div><p>abc</p> "): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <p> preceded by only collapsible whitespace ("<div> <p>abc</p>"): FAIL (Chrome: PASS, Safari: FAIL)
Blank line between consecutive <p>s ("<div><p>abc<p>def"): FAIL (Chrome: PASS, Safari: FAIL)
Blank line between consecutive <p>s separated only by collapsible whitespace ("<div><p>abc</p> <p>def"): FAIL (Chrome: PASS, Safari: FAIL)
Blank line between consecutive <p>s separated only by empty block ("<div><p>abc</p><div></div><p>def"): FAIL (Chrome: PASS, Safari: FAIL)
Blank lines between <p>s separated by non-empty block ("<div><p>abc</p><div>123</div><p>def"): FAIL (Chrome: PASS, Safari: FAIL)
Blank lines around a <p> in its own block ("<div>abc<div><p>123</p></div>def"): FAIL (Chrome: PASS, Safari: FAIL)
Blank line before <p> ("<div>abc<p>def"): FAIL (Chrome: PASS, Safari: FAIL)
Blank line after <p> ("<div><p>abc</p>def"): FAIL (Chrome: PASS, Safari: PASS)
One blank line between <p>s, ignoring empty <p>s ("<div><p>abc<p></p><p></p><p>def"): FAIL (Chrome: PASS, Safari: FAIL)
Invisible <p> doesn't induce extra line breaks ("<div style='visibility:hidden'><p><span style='visibility:visible'>abc</span></p>\n<div style='visibility:visible'>def</div>"): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <div> with margin ("<div>abc<div style='margin:2em'>def"): FAIL (Chrome: PASS, Safari: FAIL)
No newlines at display:inline-block boundary ("<div>123<span style='display:inline-block'>abc</span>def"): FAIL (Chrome: PASS, Safari: PASS)
Leading/trailing space removal at display:inline-block boundary ("<div>123<span style='display:inline-block'> abc </span>def"): FAIL (Chrome: PASS, Safari: FAIL)
Blank lines around <p> even without margin ("<div>123<p style='margin:0px'>abc</p>def"): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <h1> ("<div>123<h1>abc</h1>def"): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <h2> ("<div>123<h2>abc</h2>def"): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <h3> ("<div>123<h3>abc</h3>def"): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <h4> ("<div>123<h4>abc</h4>def"): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <h5> ("<div>123<h5>abc</h5>def"): FAIL (Chrome: PASS, Safari: FAIL)
No blank lines around <h6> ("<div>123<h6>abc</h6>def"): FAIL (Chrome: PASS, Safari: FAIL)
<span> boundaries are irrelevant ("<div>123<span>abc</span>def"): FAIL (Chrome: PASS, Safari: PASS)
<span> boundaries are irrelevant ("<div>123 <span>abc</span> def"): FAIL (Chrome: PASS, Safari: PASS)
<span> boundaries are irrelevant ("<div style='width:0'>123 <span>abc</span> def"): FAIL (Chrome: PASS, Safari: PASS)
<em> gets no special treatment ("<div>123<em>abc</em>def"): FAIL (Chrome: PASS, Safari: PASS)
<b> gets no special treatment ("<div>123<b>abc</b>def"): FAIL (Chrome: PASS, Safari: PASS)
<i> gets no special treatment ("<div>123<i>abc</i>def"): FAIL (Chrome: PASS, Safari: PASS)
<strong> gets no special treatment ("<div>123<strong>abc</strong>def"): FAIL (Chrome: PASS, Safari: PASS)
<tt> gets no special treatment ("<div>123<tt>abc</tt>def"): FAIL (Chrome: PASS, Safari: PASS)
<code> gets no special treatment ("<div>123<code>abc</code>def"): FAIL (Chrome: PASS, Safari: PASS)
soft hyphen preserved ("<div>abcdef"): FAIL (Chrome: PASS, Safari: PASS)
soft hyphen preserved ("<div style='width:0'>abcdef"): FAIL (Chrome: PASS, Safari: PASS)
Ignoring non-rendered table whitespace ("<div><table style='white-space:pre'> <td>abc</td> </table>"): FAIL (Chrome: PASS, Safari: FAIL)
Tab-separated table cells ("<div><table><tr><td>abc<td>def</table>"): FAIL (Chrome: PASS, Safari: FAIL)
Tab-separated table cells including empty cells ("<div><table><tr><td>abc<td><td>def</table>"): FAIL (Chrome: PASS, Safari: FAIL)
Tab-separated table cells including trailing empty cells ("<div><table><tr><td>abc<td><td></table>"): FAIL (Chrome: PASS, Safari: FAIL)
Newline-separated table rows ("<div><table><tr><td>abc<tr><td>def</table>"): FAIL (Chrome: PASS, Safari: FAIL)
Newlines around table ("<div>abc<table><td>def</table>ghi"): FAIL (Chrome: PASS, Safari: PASS)
Tab-separated table cells in a border-collapse table ("<div><table style='border-collapse:collapse'><tr><td>abc<td>def</table>"): FAIL (Chrome: PASS, Safari: FAIL)
tfoot not reordered ("<div><table><tfoot>x</tfoot><tbody>y</tbody></table>"): FAIL (Chrome: PASS, Safari: FAIL)
("<table><tfoot><tr><td>footer</tfoot><thead><tr><td style='visibility:collapse'>thead</thead><tbody><tr><td>tbody</tbody></table>"): FAIL (Chrome: PASS, Safari: FAIL)
No tab on table-cell itself ("<table><tr><td id=target>abc</td><td>def</td>"): FAIL (Chrome: PASS, Safari: PASS)
No newline on table-row itself ("<table><tr id=target><td>abc</td><td>def</td></tr><tr id=target><td>ghi</td><td>jkl</td></tr>"): FAIL (Chrome: PASS, Safari: PASS)
Newline between cells and caption ("<div><table><tr><td>abc<caption>def</caption></table>"): FAIL (Chrome: PASS, Safari: FAIL)
Tab-separated table cells ("<div><div class='table'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>"): FAIL (Chrome: PASS, Safari: FAIL)
Newline-separated table rows ("<div><div class='table'><span class='row'><span class='cell'>abc</span></span>\n<span class='row'><span class='cell'>def</span></span></div>"): FAIL (Chrome: PASS, Safari: FAIL)
Newlines around table ("<div>abc<div class='table'><span class='cell'>def</span></div>ghi"): FAIL (Chrome: PASS, Safari: PASS)
Tab-separated table cells ("<div><div class='itable'><span class='cell'>abc</span>\n<span class='cell'>def</span></div>"): FAIL (Chrome: PASS, Safari: FAIL)
Newline-separated table rows ("<div><div class='itable'><span class='row'><span class='cell'>abc</span></span>\n<span class='row'><span class='cell'>def</span></span></div>"): FAIL (Chrome: PASS, Safari: FAIL)
No newlines around inline-table ("<div>abc<div class='itable'><span class='cell'>def</span></div>ghi"): FAIL (Chrome: PASS, Safari: FAIL)
Single newline in two-row inline-table ("<div>abc<div class='itable'><span class='row'><span class='cell'>def</span></span>\n<span class='row'><span class='cell'>123</span></span></div>ghi"): FAIL (Chrome: PASS, Safari: FAIL)
display:table-row on the element itself ("<div style='display:table-row'>"): FAIL (Chrome: PASS, Safari: PASS)
display:table-cell on the element itself ("<div style='display:table-cell'>"): FAIL (Chrome: PASS, Safari: PASS)
display:table-caption on the element itself ("<div style='display:table-caption'>"): FAIL (Chrome: PASS, Safari: PASS)
<ol> list items get no special treatment ("<div><ol><li>abc"): FAIL (Chrome: PASS, Safari: FAIL)
<ul> list items get no special treatment ("<div><ul><li>abc"): FAIL (Chrome: PASS, Safari: FAIL)
display:block <script> is rendered ("<div><script style='display:block'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
display:block <style> is rendered ("<div><style style='display:block'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
display:block <noscript> is not rendered (it's not parsed!) ("<div><noscript style='display:block'>abc"): FAIL (Chrome: PASS, Safari: PASS)
display:block <template> contents are not rendered (the contents are in a different document) ("<div><template style='display:block'>abc"): FAIL (Chrome: PASS, Safari: PASS)
<br> induces line break ("<div>abc<br>def"): FAIL (Chrome: PASS, Safari: PASS)
<br> induces line break even at end of block ("<div>abc<br>"): FAIL (Chrome: PASS, Safari: PASS)
<br> content ignored ("<div><br class='poke'>"): FAIL (Chrome: PASS, Safari: PASS)
<hr> induces line break ("<div>abc<hr>def"): FAIL (Chrome: PASS, Safari: PASS)
<hr><hr> induces just one line break ("<div>abc<hr><hr>def"): FAIL (Chrome: PASS, Safari: PASS)
<hr><hr><hr> induces just one line break ("<div>abc<hr><hr><hr>def"): FAIL (Chrome: PASS, Safari: PASS)
<hr> content rendered ("<div><hr class='poke'>"): FAIL (Chrome: PASS, Safari: FAIL)
comment ignored ("<div>abc<!--comment-->def"): FAIL (Chrome: PASS, Safari: PASS)
<br> ("<br>"): FAIL (Chrome: PASS, Safari: PASS)
empty <p> ("<p>"): FAIL (Chrome: PASS, Safari: PASS)
empty <div> ("<div>"): FAIL (Chrome: PASS, Safari: PASS)
text-transform is applied ("<div><div style='text-transform:uppercase'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
text-transform handles es-zet ("<div><div style='text-transform:uppercase'>Maß"): FAIL (Chrome: PASS, Safari: FAIL)
text-transform handles Turkish casing ("<div><div lang='tr' style='text-transform:uppercase'>i ı"): FAIL (Chrome: PASS, Safari: FAIL)
block-in-inline doesn't add unnecessary newlines ("<div>abc<span>123<div>456</div>789</span>def"): FAIL (Chrome: PASS, Safari: PASS)
floats induce a block boundary ("<div>abc<div style='float:left'>123</div>def"): FAIL (Chrome: PASS, Safari: FAIL)
floats induce a block boundary ("<div>abc<span style='float:left'>123</span>def"): FAIL (Chrome: PASS, Safari: FAIL)
float on the element itself ("<div style='float:left'>123"): FAIL (Chrome: PASS, Safari: PASS)
position:absolute induces a block boundary ("<div>abc<div style='position:absolute'>123</div>def"): FAIL (Chrome: PASS, Safari: FAIL)
position:absolute induces a block boundary ("<div>abc<span style='position:absolute'>123</span>def"): FAIL (Chrome: PASS, Safari: FAIL)
position:absolute on the element itself ("<div style='position:absolute'>123"): FAIL (Chrome: PASS, Safari: PASS)
position:relative has no effect ("<div>abc<div style='position:relative'>123</div>def"): FAIL (Chrome: PASS, Safari: PASS)
position:relative has no effect ("<div>abc<span style='position:relative'>123</span>def"): FAIL (Chrome: PASS, Safari: PASS)
overflow:hidden ignored ("<div style='overflow:hidden'>abc"): FAIL (Chrome: PASS, Safari: PASS)
overflow:hidden ignored even with zero width ("<div style='width:0; overflow:hidden'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
overflow:hidden ignored even with zero height ("<div style='height:0; overflow:hidden'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
text-overflow:ellipsis ignored ("<div style='width:0; overflow:hidden; text-overflow:ellipsis'>abc"): FAIL (Chrome: PASS, Safari: FAIL)
innerText not supported on SVG elements ("<svg>abc"): FAIL (Chrome: PASS, Safari: PASS)
innerText not supported on MathML elements ("<math>abc"): FAIL (Chrome: PASS, Safari: PASS)
<rt> and no <rp> ("<div><ruby>abc<rt>def</rt></ruby>"): FAIL (Chrome: PASS, Safari: PASS)
<rp> ("<div><ruby>abc<rp>(</rp><rt>def</rt><rp>)</rp></ruby>"): FAIL (Chrome: PASS, Safari: FAIL)
Lone <rp> ("<div><rp>abc</rp>"): FAIL (Chrome: PASS, Safari: FAIL)
visibility:hidden <rp> ("<div><rp style='visibility:hidden'>abc</rp>"): FAIL (Chrome: PASS, Safari: PASS)
display:block <rp> ("<div><rp style='display:block'>abc</rp>def"): FAIL (Chrome: PASS, Safari: PASS)
display:block <rp> with whitespace ("<div><rp style='display:block'> abc </rp>def"): FAIL (Chrome: PASS, Safari: PASS)
<rp> in a <select> ("<div><select class='poke-rp'></select>"): FAIL (Chrome: PASS, Safari: PASS)
Shadow DOM contents ignored ("<div class='shadow'>"): FAIL (Chrome: PASS, Safari: PASS)
Shadow DOM contents ignored ("<div><div class='shadow'>"): FAIL (Chrome: PASS, Safari: PASS)
CSS 'order' property ignored ("<div style='display:flex'><div style='order:1'>1</div><div>2</div></div>"): FAIL (Chrome: PASS, Safari: FAIL)
Flex items blockified ("<div style='display:flex'><span>1</span><span>2</span></div>"): FAIL (Chrome: PASS, Safari: FAIL)
CSS 'order' property ignored ("<div style='display:grid'><div style='order:1'>1</div><div>2</div></div>"): FAIL (Chrome: PASS, Safari: FAIL)
Grid items blockified ("<div style='display:grid'><span>1</span><span>2</span></div>"): FAIL (Chrome: PASS, Safari: FAIL)
/html/dom/elements/the-innertext-and-outertext-properties/multiple-text-nodes.window.html
Ensure multiple text nodes get rendered properly: FAIL (Chrome: PASS, Safari: PASS)
/html/dom/elements/the-innertext-and-outertext-properties/outertext-setter.html
Replacing a node and merging with the previous text node: FAIL (Chrome: PASS, Safari: PASS)
Replacing a node and merging with the following text node: FAIL (Chrome: PASS, Safari: PASS)
Replacing a node and merging with the previous and following text node: FAIL (Chrome: PASS, Safari: PASS)
Only merges with the previous and following text nodes, does not completely normalize: FAIL (Chrome: PASS, Safari: PASS)
Removing a node: FAIL (Chrome: PASS, Safari: PASS)
Detached node: FAIL (Chrome: PASS, Safari: PASS)
Simplest possible test: FAIL (Chrome: PASS, Safari: PASS)
Newlines convert to <br> in non-white-space:pre elements: FAIL (Chrome: PASS, Safari: PASS)
Newlines convert to <br> in <pre> element: FAIL (Chrome: PASS, Safari: PASS)
Newlines convert to <br> in <textarea> element: FAIL (Chrome: PASS, Safari: PASS)
Newlines convert to <br> in white-space:pre element: FAIL (Chrome: PASS, Safari: PASS)
CRs convert to <br> in non-white-space:pre elements: FAIL (Chrome: PASS, Safari: PASS)
CRs convert to <br> in <pre> element: FAIL (Chrome: PASS, Safari: PASS)
Newline/CR pair converts to <br> in non-white-space:pre element: FAIL (Chrome: PASS, Safari: PASS)
Newline/newline pair converts to two <br>s in non-white-space:pre element: FAIL (Chrome: PASS, Safari: PASS)
CR/CR pair converts to two <br>s in non-white-space:pre element: FAIL (Chrome: PASS, Safari: PASS)
CRs convert to <br> in white-space:pre element: FAIL (Chrome: PASS, Safari: PASS)
< preserved: FAIL (Chrome: PASS, Safari: PASS)
preserved: FAIL (Chrome: PASS, Safari: PASS)
& preserved: FAIL (Chrome: PASS, Safari: PASS)
" preserved: FAIL (Chrome: PASS, Safari: PASS)
' preserved: FAIL (Chrome: PASS, Safari: PASS)
Null characters preserved: FAIL (Chrome: PASS, Safari: PASS)
Tabs preserved: FAIL (Chrome: PASS, Safari: PASS)
Leading whitespace preserved: FAIL (Chrome: PASS, Safari: PASS)
Trailing whitespace preserved: FAIL (Chrome: PASS, Safari: PASS)
Whitespace not compressed: FAIL (Chrome: PASS, Safari: PASS)
Existing text deleted: FAIL (Chrome: PASS, Safari: PASS)
Existing <br> deleted: FAIL (Chrome: PASS, Safari: PASS)
Assigning the empty string: FAIL (Chrome: PASS, Safari: PASS)
Assigning null: FAIL (Chrome: PASS, Safari: PASS)
Assigning undefined: FAIL (Chrome: PASS, Safari: PASS)
Start with CR: FAIL (Chrome: PASS, Safari: PASS)
Start with LF: FAIL (Chrome: PASS, Safari: PASS)
Start with CRLF: FAIL (Chrome: PASS, Safari: PASS)
End with CR: FAIL (Chrome: PASS, Safari: PASS)
End with LF: FAIL (Chrome: PASS, Safari: PASS)
End with CRLF: FAIL (Chrome: PASS, Safari: PASS)
Comment 4•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d257df1660c9
https://hg.mozilla.org/mozilla-central/rev/ff50a706f19d
Description
•