mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +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.
35 lines
939 B
HTML
35 lines
939 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<link rel="match" href="../expected/inline-node-ref.html" />
|
|
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-942">
|
|
<meta charset="UTF-8">
|
|
<title>Inline Node styling test</title>
|
|
<style>
|
|
body {
|
|
line-height: 200%;
|
|
}
|
|
|
|
.highlight {
|
|
background-color: orange;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.bg-highlight {
|
|
background: magenta;
|
|
color: white;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.br-highlight {
|
|
border: 2px solid green;
|
|
border-radius: 6px;
|
|
box-shadow: 4px 4px 4px darkgreen;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
Hello world <span class="highlight">this is some text</span> not in a box. <span class="bg-highlight">This text has a background</span> and <span class="br-highlight">this text has a shadow!</span>
|
|
</body>
|
|
</html>
|