layout/reftests/image-element/element-paint-transform-02.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/licenses/publicdomain/
michael@0 4
michael@0 5 Test with background-position and some transform.
michael@0 6 -->
michael@0 7 <html>
michael@0 8 <body style="filter:url(#thresholdAt128);">
michael@0 9 <div style="width:100px; height:100px; border: 1px solid black;
michael@0 10 background: 50px 50px -moz-element(#d) no-repeat;
michael@0 11 -moz-transform:matrix(2,1,0,2,50,50);">
michael@0 12 </div>
michael@0 13 <div style="overflow:hidden; height:0;">
michael@0 14 <div id="d" style="border:10px solid red; width:20px; height:20px;
michael@0 15 background:yellow"></div>
michael@0 16 </div>
michael@0 17 <svg>
michael@0 18 <filter id="thresholdAt128" color-interpolation-filters="sRGB">
michael@0 19 <feColorMatrix type="matrix"
michael@0 20 values="255 0 0 0 -128
michael@0 21 0 255 0 0 -128
michael@0 22 0 0 255 0 -128
michael@0 23 0 0 0 255 -128"/>
michael@0 24
michael@0 25 </filter>
michael@0 26 </svg>
michael@0 27 </body>
michael@0 28 </html>

mercurial