There is a bug in the inline vs block log. Here is a minimal STR: ``` <p> This is some text. <span>It has inline elements</span> <style>/* And display none elements */</style> </p> ``` The style element is display: none, which is breaking the logic, and sending elements in as block elements rather than inline. This strips out the whitespace.
Bug 1884722 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
There is a bug in the inline vs block logic. Here is a minimal STR: ``` <p> This is some text. <span>It has inline elements</span> <style>/* And display none elements */</style> </p> ``` The style element is display: none, which is breaking the logic, and sending elements in as block elements rather than inline. This strips out the whitespace.