mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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`.
25 lines
773 B
Plaintext
25 lines
773 B
Plaintext
At time 400:
|
|
accent-color: rgb(78, 88, 99)
|
|
align-content: flex-start
|
|
animation-duration: auto
|
|
aspect-ratio: 1.54415 / 1
|
|
background-color: rgb(78, 88, 99)
|
|
background-repeat: repeat no-repeat
|
|
bottom: auto
|
|
box-shadow: rgb(163, 82, 142) 40px 80px 126px 0px inset, rgba(0, 0, 72, 0.4) 20px 4px 8px 12px
|
|
color: rgb(163, 82, 142)
|
|
transform: matrix(1, 0, 0, 1, 40, 40)
|
|
|
|
At time 750:
|
|
accent-color: rgb(147, 157, 168)
|
|
align-content: space-between
|
|
animation-duration: auto
|
|
aspect-ratio: 1.36506 / 1
|
|
background-color: rgb(147, 157, 168)
|
|
background-repeat: space space
|
|
bottom: 100%
|
|
box-shadow: rgb(81, 71, 210) 75px 150px 227.5px 0px, rgba(0, 0, 174, 0.749) 37.5px 7.5px 15px 22.5px
|
|
color: rgb(81, 71, 210)
|
|
transform: matrix(1, 0, 0, 1, 75, 75)
|
|
|