This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
ladybird
Watch
2
Star
0
Fork
You've already forked ladybird
0
mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced
2026-04-19 18:30:27 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
fff09ed330
ladybird
/
Tests
/
LibWeb
/
Text
/
expected
/
HTML
/
outerHTML.txt
3 lines
86 B
Text
Raw
Normal View
History
Unescape
Escape
LibWeb+WebContent: Do not include DOM HTML in text test expectations For example, in the following abbreviated test HTML: <span>some text</span> <script>println("whf")</script> We would have to craft the expectation file to include the "some text" segment, usually with some leading whitespace. This is a bit annoying, and makes it difficult to manually craft expectation files. So instead of comparing the expectation against the entire DOM inner text, we now send the inner text of just the <pre> element containing the test output when we invoke `internals.signalTextTestIsDone`.
2024-10-02 12:38:10 -04:00
outerHTML: <div id="foo"><b>hello students</b></div>
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 14:44:58 +02:00
innerHTML: <b>hello students</b>
Reference in a new issue
Copy permalink