mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01: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
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…
Reference in New Issue
Block a user