mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 16:10:20 +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.
13 lines
424 B
HTML
13 lines
424 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="reference/clip-ref.html" />
|
|
<style type="text/css">
|
|
* {
|
|
background-color: white;
|
|
}
|
|
.clip {
|
|
position: absolute;
|
|
width: 100px;
|
|
height: 100px;
|
|
clip: rect(auto, auto, 50px, auto);
|
|
}
|
|
</style><div class="clip">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|