diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-14 18:49:37 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-14 18:49:37 +0100 |
commit | 50f9a8608618d0780b6a5be1981992f787348140 (patch) | |
tree | f9e95436c64b0d10e42785fae02ee6aa10eaec73 /Tests/LibWeb/Layout | |
parent | c598c092c2846abeb5a161bd256006a1c564229c (diff) | |
download | serenity-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.png | bin | 9015 -> 0 bytes | |||
-rw-r--r-- | Tests/LibWeb/Layout/input/replaced-box-with-vertical-margins.html | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Tests/LibWeb/Layout/input/buggie.png b/Tests/LibWeb/Layout/input/buggie.png Binary files differdeleted file mode 100644 index 94558bd2d3..0000000000 --- a/Tests/LibWeb/Layout/input/buggie.png +++ /dev/null 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. |