1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:07:34 +00:00

LibWeb: Add support for CSS image-rendering property

Currently only "auto" and "pixelated" values are supported.
This commit is contained in:
Maciej 2022-02-18 12:21:27 +01:00 committed by Andreas Kling
parent 246b42b635
commit 3e1c1c0b16
11 changed files with 73 additions and 1 deletions

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>image-rendering property</title>
</head>
<body>
<h1>image-rendering property</h1>
<p>This image should be blurred:</p>
<img style="width: 256px" src="file:///res/graphics/buggie.png">
<p>This image should be blurred:</p>
<img style="image-rendering: auto; width: 256px" src="file:///res/graphics/buggie.png">
<p>This image should be pixelated:</p>
<img style="image-rendering: pixelated; width: 256px" src="file:///res/graphics/buggie.png">
</body>
</html>