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
2025-12-08 06:09:58 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
d31a58a7d6
ladybird
/
Tests
/
LibWeb
/
Text
/
expected
/
DOM
/
HTMLCollection-order.txt
7 lines
55 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
HTMLCollection
LibWeb: Look for first ID _or_ name in HTMLCollection::named_item Previously we would look for a matching ID, and then for a matching name. If there was an element in the collection which had a matching ID as well as an element with a matching name, we would always return the element with a matching ID irrespective of what order that element was in.
2024-04-26 22:27:27 +12:00
anchor1
anchor2
anchor3
anchor1
anchor2
Reference in a new issue
Copy permalink