LibWeb: Use layout-test-mode for layout tests

Also do some test changes to test it out :^)
This commit is contained in:
martinfalisse 2023-05-06 12:36:08 +02:00 committed by Andreas Kling
parent c719a542c5
commit ea61296738
Notes: sideshowbarker 2024-07-17 01:21:02 +09:00
18 changed files with 1 additions and 62 deletions

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,7 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.mw-page-container-inner {
display: grid;
grid-template: min-content min-content 1fr min-content / 12.25em minmax(0, 1fr);

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -5,7 +5,6 @@
<style>
body {
float: left;
font-family: 'SerenitySans';
}
.grid {

View File

@ -4,7 +4,6 @@
}
body {
float: left;
font-family: 'SerenitySans';
}
.grid {
display: grid;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -1,8 +1,4 @@
<style>
body {
font-family: 'SerenitySans';
}
.grid-container {
display: grid;
background-color: lightsalmon;

View File

@ -16,7 +16,7 @@ find "${SCRIPT_DIR}/input/" -type f -name "*.html" -print0 | while IFS= read -r
input_html_file=${input_html_path/${SCRIPT_DIR}"/input/"/}
input_html_file=${input_html_file/".html"/}
output_layout_dump=$(cd "${LADYBIRD_BUILD_DIR}"; timeout 300s "${BROWSER_BINARY}" -d "${input_html_path}")
output_layout_dump=$(cd "${LADYBIRD_BUILD_DIR}"; timeout 300s "${BROWSER_BINARY}" --layout-test-mode -d "${input_html_path}")
expected_layout_dump_path="${SCRIPT_DIR}/expected/${input_html_file}.txt"
if cmp <(echo "${output_layout_dump}") "${expected_layout_dump_path}"; then