mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
Skia deprecated some non-span versions of their API, but they provided SK_SUPPORT_UNSPANNED_APIS to expose the legacy versions. SkFontMgr_New_FontConfig now requires a font scanner to be passed in. There were a few screenshot tests that visibily looked the same but skia must've changed some rendering infrastructure as the PNGs were not matching anymore so I rebaselined those and adjusted the fuzzy matching config to allow them to pass on both macOS and Linux. The empty-radial-gradient-crash Ref test started to fail as we were setting the horizontal scale factor to inf in when the height = 0. It looks like something changed to make doing that not valid anymore. The overlay port is removed as the issues, mainly skcms symbol import and export were resolved upstream in skia and utilized in the new port version.
27 lines
748 B
HTML
27 lines
748 B
HTML
<!doctype html>
|
|
<link rel="match" href="../expected/svg-background-no-natural-size-ref.html" />
|
|
<meta name="fuzzy" content="maxDifference=0-3;totalPixels=0-568">
|
|
<style>
|
|
body {
|
|
background-color: white;
|
|
}
|
|
div {
|
|
border: 1px solid black;
|
|
height: 50px;
|
|
width: 50px;
|
|
background-repeat: no-repeat;
|
|
background-position: 50% 50%;
|
|
}
|
|
.svg-rect {
|
|
background-size: 34%;
|
|
background-image: url(../data/vertical-rect.svg);
|
|
}
|
|
img {
|
|
width: 100px;
|
|
padding: 10px;
|
|
}
|
|
</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">
|