diff options
Diffstat (limited to 'layout/reftests/svg/svg-integration/mask-html-xbl-bound-01.html')
-rw-r--r-- | layout/reftests/svg/svg-integration/mask-html-xbl-bound-01.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/svg/svg-integration/mask-html-xbl-bound-01.html b/layout/reftests/svg/svg-integration/mask-html-xbl-bound-01.html new file mode 100644 index 000000000..5a20fe505 --- /dev/null +++ b/layout/reftests/svg/svg-integration/mask-html-xbl-bound-01.html @@ -0,0 +1,22 @@ +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=587585 --> +<!DOCTYPE html> +<title>Test mask reference in binding for mask in bound document with external binding</title> + +<body style="margin:0"> + <div style="-moz-binding: url(mask-html-xbl-bound-01.xbl#lime);"></div> + + <svg height="0"> + <mask id="m1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox"> + <linearGradient id="g" gradientUnits="objectBoundingBox" x2="0" y2="1"> + <stop stop-color="white" offset="0"/> + <stop stop-color="white" stop-opacity="0" offset="1"/> + </linearGradient> + <circle cx="0.25" cy="0.25" r="0.25" id="circle" fill="white"/> + <rect x="0.5" y="0" width="0.5" height="1" fill="url(#g)"/> + </mask> + </svg> +</body> |