mirror of
https://github.com/servo/servo.git
synced 2025-06-10 17:43:16 +00:00
`background-size` per CSS-BACKGROUNDS § 3.9. Nearest neighbor interpolation is used for `crisp-edges`, like Firefox. A note has been added that we could do better if we wanted to. Multiple backgrounds are not yet supported.
11 lines
170 B
HTML
11 lines
170 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!-- Tests that `image-rendering: auto` uses bilinear filtering. -->
|
|
</head>
|
|
<body>
|
|
<img width=100 height=50 src=4x2.png>
|
|
</body>
|
|
</html>
|
|
|
|
|