Tests: Mark existing workarounds consistently

This commit is contained in:
InvalidUsernameException 2025-02-04 21:53:02 +01:00 committed by Alexander Kalenik
parent e055927ead
commit 495b3169e0
Notes: github-actions[bot] 2025-03-05 15:33:45 +00:00
5 changed files with 5 additions and 5 deletions

View file

@ -11,4 +11,5 @@
}
</style>
</head>
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
<body><span></span><img src="../data/2x2checkerboard.png">

View file

@ -56,7 +56,7 @@
</style>
</head>
<body>
<!-- Hack to make the test runner wait for the image to load -->
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
<img src="../data/car.png" />
<p class="border-box linear-gradient">The background extends behind the border.</p>

View file

@ -16,8 +16,7 @@
</style>
</head>
<body>
<!-- FIXME: This <img> tag is only here as a hack. The test runner takes a screenshot after the load event,
which waits for img tags to load, but not images referred to in CSS. -->
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
<img src="../data/smiley.png"/>
<!-- Single value -->

View file

@ -22,8 +22,7 @@
</style>
</head>
<body>
<!-- FIXME: This <img> tag is only here as a hack. The test runner takes a screenshot after the load event,
which waits for img tags to load, but not images referred to in CSS. -->
<!-- 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 class="box" style="background: url('../data/smiley.png') fixed;">

View file

@ -21,4 +21,5 @@
}
</style>
<div class="svg-rect"></div>
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
<body><span></span><img src="../data/vertical-rect.svg">