Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others
Now each test type has the same directories: - input - expected - data Also, tests can be in subdirectories within ./input.
Author: https://github.com/AtkinsSJ
Commit: b7efb61fbe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2175
Reviewed-by: https://github.com/gmta ✅
|
@ -1,4 +0,0 @@
|
|||
<!doctype html>
|
||||
<link rel="match" href="reference/body-link-attribute-ref.html" />
|
||||
<body link="#FF0000">
|
||||
<a href="about:blank">link
|
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 94 B After Width: | Height: | Size: 94 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<link rel="match" href="reference/anonymous-wrapper-css-visibility-ref.html" />
|
||||
<link rel="match" href="../expected/anonymous-wrapper-css-visibility-ref.html" />
|
||||
<style>
|
||||
body {
|
||||
color: transparent;
|
|
@ -6,9 +6,9 @@
|
|||
display: inline-block;
|
||||
min-width: 12px;
|
||||
min-height: 12px;
|
||||
background-image: url("../assets/2x2checkerboard.png");
|
||||
background-image: url("../data/2x2checkerboard.png");
|
||||
background-size: calc(max(0.75em, 12px));
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><span></span><img src="../assets/2x2checkerboard.png">
|
||||
<body><span></span><img src="../data/2x2checkerboard.png">
|
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<link rel="match" href="reference/body-link-attribute.html-ref" />
|
||||
<link rel="match" href="../expected/body-link-attribute.html-ref" />
|
||||
<style>
|
||||
a {
|
||||
color: #FF0000;
|
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<link rel="match" href="reference/inline-paintable-inside-translated-container-ref.html" />
|
||||
<link rel="match" href="../expected/inline-paintable-inside-translated-container-ref.html" />
|
||||
<style>
|
||||
body {
|
||||
margin-top: 100px;
|
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 186 B |
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="reference/outlines-ref.html" />
|
||||
<link rel="match" href="../expected/outlines-ref.html" />
|
||||
<style>
|
||||
.border {
|
||||
width: 100px;
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="reference/overflow-hidden-3-ref.html" />
|
||||
<link rel="match" href="../expected/overflow-hidden-3-ref.html" />
|
||||
<style>
|
||||
.green {
|
||||
width: 200px;
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="reference/overflow-hidden-4-ref.html" />
|
||||
<link rel="match" href="../expected/overflow-hidden-4-ref.html" />
|
||||
<style>
|
||||
* {
|
||||
outline: black solid 1px;
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<link rel="match" href="reference/overflow-hidden-5-ref.html" />
|
||||
<link rel="match" href="../expected/overflow-hidden-5-ref.html" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<link rel="match" href="reference/overflow-hidden-6-ref.html" />
|
||||
<link rel="match" href="../expected/overflow-hidden-6-ref.html" />
|
||||
<style>
|
||||
.box {
|
||||
width: 100px;
|
|
@ -1,5 +1,5 @@
|
|||
<html>
|
||||
<link rel="match" href="reference/positioned-elements-in-scroll-container-ref.html" />
|
||||
<link rel="match" href="../expected/positioned-elements-in-scroll-container-ref.html" />
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="reference/resolve-paint-only-properties-after-layout-ref.html" />
|
||||
<link rel="match" href="../expected/resolve-paint-only-properties-after-layout-ref.html" />
|
||||
<style>
|
||||
#box {
|
||||
width: 100px;
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="reference/scrollable-content-inside-fixed-position-box-ref.html" />
|
||||
<link rel="match" href="../expected/scrollable-content-inside-fixed-position-box-ref.html" />
|
||||
<style>
|
||||
* {
|
||||
scrollbar-width: none;
|
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |