diff options
Diffstat (limited to 'layout/reftests/border-image/svg-as-border-image-1c.html')
-rw-r--r-- | layout/reftests/border-image/svg-as-border-image-1c.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/border-image/svg-as-border-image-1c.html b/layout/reftests/border-image/svg-as-border-image-1c.html new file mode 100644 index 0000000000..2ab2642e6b --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-1c.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en-US"> +<head> +<title>test of svg-as-border-image</title> +<style> +div.border { + width: 10px; + height: 10px; + background-color: blue; + border: 15px solid; + border-image: 25% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 20" preserveAspectRatio="xMaxYMid slice"><rect x="0" y="0" width="10" height="5" fill="pink"/><rect x="30" y="15" width="10" height="5" fill="green"/></svg>'); +} +</style> +</head> +<body> +<div class="border"></div> +</body> +</html> |