mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 18:58:56 +00:00
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:
parent
adfe8a9dcb
commit
b6fb4baeb7
Notes:
github-actions[bot]
2025-03-17 10:01:17 +00:00
Author: https://github.com/AtkinsSJ
Commit: b6fb4baeb7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3941
6 changed files with 242 additions and 2 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue