1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/621253-helper-internalFilter.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +<?xml version="1.0"?> 1.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.6 +<body style="margin: 0px"> 1.7 + <svg xmlns="http://www.w3.org/2000/svg" style="display: block; height: 0px"> 1.8 + <defs> 1.9 + <!-- Copied verbatim from layout/reftests/filters.svg: --> 1.10 + <filter id="NonWhiteToBlack" x="0%" y="0%" width="100%" height="100%"> 1.11 + <feComponentTransfer> 1.12 + <feFuncR type="linear" slope="-1" intercept="1" /> 1.13 + <feFuncG type="linear" slope="-1" intercept="1" /> 1.14 + <feFuncB type="linear" slope="-1" intercept="1" /> 1.15 + </feComponentTransfer> 1.16 + <feColorMatrix type="matrix" values="255 255 255 0 0 1.17 + 255 255 255 0 0 1.18 + 255 255 255 0 0 1.19 + 0 0 0 1 0" /> 1.20 + <feComponentTransfer> 1.21 + <feFuncR type="linear" slope="-1" intercept="1" /> 1.22 + <feFuncG type="linear" slope="-1" intercept="1" /> 1.23 + <feFuncB type="linear" slope="-1" intercept="1" /> 1.24 + </feComponentTransfer> 1.25 + </filter> 1.26 + </defs> 1.27 + </svg> 1.28 + <div style="filter: url(#NonWhiteToBlack); 1.29 + background: lime; 1.30 + height: 100px; width: 100px"> 1.31 + </div> 1.32 +</body> 1.33 +</html>