ladybird/Tests/LibWeb/Ref/expected/background-size-calc-ref.html
2025-03-05 16:32:47 +01:00

15 lines
511 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
span {
display: inline-block;
min-width: 12px;
min-height: 12px;
background-image: url("../data/2x2checkerboard.png");
background-size: calc(max(0.75em, 12px));
}
</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">