mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-13 06:32:54 +00:00
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`.
17 lines
441 B
Text
17 lines
441 B
Text
<FORM >
|
|
document.bob === document.forms[0]: true
|
|
<BUTTON id="fred" >
|
|
img element with name 'foo' and id 'bar':
|
|
<IMG id="bar" >
|
|
img element with id 'baz', but no name:
|
|
baz === undefined: true
|
|
Multiple elements with name 'foo':
|
|
foos.length = 2
|
|
<IMG id="bar" >
|
|
<FORM >
|
|
obj element with name 'greg' and id 'banana':
|
|
<OBJECT id="banana" >
|
|
<OBJECT id="banana" >
|
|
goodbye greg/banana
|
|
no more greg or banana: true, true
|
|
meta tag does not match: true
|