summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-03-14 18:49:37 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-14 18:49:37 +0100
commit50f9a8608618d0780b6a5be1981992f787348140 (patch)
treef9e95436c64b0d10e42785fae02ee6aa10eaec73 /Tests/LibWeb/Layout
parentc598c092c2846abeb5a161bd256006a1c564229c (diff)
downloadserenity-50f9a8608618d0780b6a5be1981992f787348140.zip
LibWeb/Tests: Remove image from a test
The image made the test flaky when running on my machine, so this doesn't seem safe at the moment. We can just hardcode the dimensions. Eventually we should make it possible to use external images in tests, but for now let's not flake up the CI.
Diffstat (limited to 'Tests/LibWeb/Layout')
-rw-r--r--Tests/LibWeb/Layout/input/buggie.pngbin9015 -> 0 bytes
-rw-r--r--Tests/LibWeb/Layout/input/replaced-box-with-vertical-margins.html4
2 files changed, 3 insertions, 1 deletions
diff --git a/Tests/LibWeb/Layout/input/buggie.png b/Tests/LibWeb/Layout/input/buggie.png
deleted file mode 100644
index 94558bd2d3..0000000000
--- a/Tests/LibWeb/Layout/input/buggie.png
+++ /dev/null
Binary files differ
diff --git a/Tests/LibWeb/Layout/input/replaced-box-with-vertical-margins.html b/Tests/LibWeb/Layout/input/replaced-box-with-vertical-margins.html
index eddf1d5c29..b31f04c3f5 100644
--- a/Tests/LibWeb/Layout/input/replaced-box-with-vertical-margins.html
+++ b/Tests/LibWeb/Layout/input/replaced-box-with-vertical-margins.html
@@ -6,5 +6,7 @@
#image {
margin-top: 25px;
margin-bottom: 50px;
+ width: 64px;
+ height: 138px;
}
-</style>Well, <img id="image" src="buggie.png" /> friends. \ No newline at end of file
+</style>Well, <img id="image" /> friends.