mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
![Sam Atkins](/assets/img/avatar_default.png)
Each ref test now links to its reference page with a link tag, in the same format as WPT: `<link rel="match" href="reference-page.html" />` The reference pages have all been moved into a separate `reference/` dir so that we can just treat every file in `ref/` as a test. There's no filter to only look at .html files, because we also have a .svg file in there, and there may be other formats we want to use too. But it's not too hard to add one if we need it.
13 lines
242 B
HTML
13 lines
242 B
HTML
<link rel="match" href="reference/square-ref.html" />
|
|
<style>
|
|
.box {
|
|
display: flex;
|
|
}
|
|
|
|
.item {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: pink;
|
|
}
|
|
</style><div class="box"><div class="item">
|