diff options
Diffstat (limited to 'tests/wpt/tests/css/css-images/tiled-gradients.html')
-rw-r--r-- | tests/wpt/tests/css/css-images/tiled-gradients.html | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/tests/wpt/tests/css/css-images/tiled-gradients.html b/tests/wpt/tests/css/css-images/tiled-gradients.html index 46cc8426481..b41dd70c9a9 100644 --- a/tests/wpt/tests/css/css-images/tiled-gradients.html +++ b/tests/wpt/tests/css/css-images/tiled-gradients.html @@ -1,17 +1,22 @@ <!doctype html> -<meta charset="utf-8"> -<title>Eight Red Triangles on White Ground (with gradients)</title> -<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-size"> -<meta name="assert" content="Gradients are correctly repeated."> -<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-40000"> -<link rel="match" href="tiled-gradients-ref.html"> -<style> - #gradient { - width: 400px; - height: 200px; - background-size: 25% 50%; - background-image: linear-gradient(to bottom left, red 50%, transparent 50%); - } -</style> - -<div id="gradient"></div>
\ No newline at end of file +<html> + <head> + <meta charset="utf-8"> + <title>Eight Red Triangles on White Ground (with gradients)</title> + <link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-size"> + <meta name="assert" content="Gradients are correctly repeated."> + <meta name="fuzzy" content="0-255; 0-564"> + <link rel="match" href="tiled-gradients-ref.html"> + <style> + #gradient { + width: 400px; + height: 200px; + background-size: 25% 50%; + background-image: linear-gradient(to bottom left, red 50%, transparent 50%); + } + </style> + </head> + <body> + <div id="gradient"></div> + </body> +</html> |