mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 01:50:24 +00:00
0d66a80a0f
The ref tests runner takes screenshots of both the input page and the expected page, then compares them. Ref testing allows us to catch painting bugs, which cannot be detected with the layout and text tests we already have. With ref tests, we'll likely want to reuse the same expectation page for multiple inputs. Therefore, there's a `manifest.json` file that describes the relationship between inputs and expected outputs.
11 lines
188 B
HTML
11 lines
188 B
HTML
<style>
|
|
.box {
|
|
display: flex;
|
|
}
|
|
|
|
.item {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: pink;
|
|
}
|
|
</style><div class="box"><div class="item">
|