mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add missing css style for image_rendering_auto_a.html
There was a missing image position in the test which caused potentially wrong comparision of images in basic.list: != image_rendering_auto_a.html image_rendering_pixelated_a.html
This commit is contained in:
parent
b6850853da
commit
64dbc28927
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,13 @@
|
|||
<html>
|
||||
<head>
|
||||
<!-- Tests that `image-rendering: auto` uses bilinear filtering. -->
|
||||
<style>
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img width=100 height=50 src=4x2.png>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue