mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 12:54:58 +00:00

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.
10 lines
317 B
HTML
10 lines
317 B
HTML
<link rel="match" href="reference/opacity-stacking-ref.html" />
|
|
<style>
|
|
body {
|
|
background-color: white;
|
|
}
|
|
</style>
|
|
<svg width="600" viewBox="0 0 150 100" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="100" cy="50" r="40" fill="black" opacity="0.3" />
|
|
<circle cx="50" cy="50" r="40" fill="blue" />
|
|
</svg>
|