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:
parent
246b42b635
commit
3e1c1c0b16
11 changed files with 73 additions and 1 deletions
16
Base/res/html/misc/image-rendering.html
Normal file
16
Base/res/html/misc/image-rendering.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue