mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 22:29:10 +00:00
Tests/LibWeb: Fix flaky css background test
This test was introduced in 70b52e0994
and
was flaky in CI and on my local machine.
This commit is contained in:
parent
0f81f021ce
commit
52ba40f161
Notes:
github-actions[bot]
2025-05-30 16:04:28 +00:00
Author: https://github.com/InvalidUsernameException
Commit: 52ba40f161
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4930
2 changed files with 2 additions and 2 deletions
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 595 B |
|
@ -7,9 +7,9 @@
|
|||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
|
||||
<img src="../data/smiley.png"/>
|
||||
<div id="a"></div>
|
||||
<script>
|
||||
internals.setBrowserZoom(1.2);
|
||||
</script>
|
||||
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
|
||||
<img style="display: none" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAIAAADITs03AAAAEklEQVQY02P4z8DAxDCKBwsGACnPAcZhKteIAAAAAElFTkSuQmCC"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue