ladybird/Tests/LibWeb/Text/expected/HTML/outerHTML.txt
Andreas Kling 870a954e11 LibWeb: Implement Element.outerHTML
This piggybacks on the same fragment serialization code that innerHTML
uses, but instead of constructing an imaginary parent element like the
spec asks us to, we just add a separate serialization mode that includes
the context element in the serialized markup.

This makes the image carousel on https://utah.edu/ show up :^)
2024-04-09 18:17:14 -04:00

2 lines
102 B
Text

hello students outerHTML: <div id="foo"><b>hello students</b></div>
innerHTML: <b>hello students</b>