LibWeb/CSS: Implement @supports font-format() and font-tech()

These let authors query whether we support font formats and features.
This commit is contained in:
Sam Atkins 2025-03-14 11:36:15 +00:00
commit b6fb4baeb7
Notes: github-actions[bot] 2025-03-17 10:01:17 +00:00
6 changed files with 242 additions and 2 deletions

View file

@ -0,0 +1,19 @@
<!doctype html>
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="author" href="http://opera.com" title="Opera Software ASA">
<style>
div {
background-color:green;
height:100px;
width:100px;
}
</style>
</head>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div></div>
</body>
</html>