mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
e0fe77d012
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.
15 lines
388 B
HTML
15 lines
388 B
HTML
<!doctype html>
|
|
<link rel="match" href="reference/item-with-negative-z-index-ref.html" />
|
|
<style type="text/css">
|
|
body { display: grid; }
|
|
.foo {
|
|
outline: 1px solid black;
|
|
grid-area: 1 / 1 / auto / auto;
|
|
background: pink;
|
|
}
|
|
.bar {
|
|
grid-area: 1 / 1 / auto / auto;
|
|
background: orange;
|
|
z-index: -1;
|
|
}
|
|
</style><body><div class="foo">foo</div><div class="bar">bar</div>
|