Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Side by Side Diff: LayoutTests/css3/filters/effect-reference-image-lazy-attach.html

Issue 1235293003: Implement filter effects region for reference filters. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixes per review comments Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <body> 1 <body>
2 2
3 <style> 3 <style>
4 #filtered { 4 #filtered {
5 width: 160px; 5 width: 160px;
6 height: 90px; 6 height: 90px;
7 -webkit-filter: url(#imagereplace); 7 -webkit-filter: url(#imagereplace);
8 filter: url(#imagereplace); 8 filter: url(#imagereplace);
9 } 9 }
10 </style> 10 </style>
11 11
12 <script type="text/html" id="source"> 12 <script type="text/html" id="source">
13 <div id="filtered"></div> 13 <div id="filtered"></div>
14 <svg xmlns="http://www.w3.org/3000/svg" width="0" height="0" xmlns:xlink="ht tp://www.w3.org/1999/xlink"> 14 <svg xmlns="http://www.w3.org/3000/svg" width="0" height="0" xmlns:xlink="ht tp://www.w3.org/1999/xlink">
15 <filter id="imagereplace"> 15 <filter id="imagereplace" x="0%" y="0" width="100%" height="100%">
16 <feimage xlink:href="resources/reference.png"/> 16 <feimage xlink:href="resources/reference.png"/>
17 </filter> 17 </filter>
18 </svg> 18 </svg>
19 </script> 19 </script>
20 20
21 <script> 21 <script>
22 document.body.offsetLeft; 22 document.body.offsetLeft;
23 var div = document.createElement('div'); 23 var div = document.createElement('div');
24 div.innerHTML = document.getElementById('source').textContent; 24 div.innerHTML = document.getElementById('source').textContent;
25 document.body.appendChild(div); 25 document.body.appendChild(div);
26 </script> 26 </script>
27 27
28 </body> 28 </body>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/effect-reference-image-hw.html ('k') | LayoutTests/css3/filters/effect-reference-ordering.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698