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

Side by Side Diff: LayoutTests/css3/filters/effect-reference-repaint-offset.html

Issue 14652016: Implement filter primitive subregion for reference CSS filters. This required refactoring determin… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test failures: ReferenceFilterOperation should ref the Filter which owns its FilterEffects Created 7 years, 7 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText(false);
8 testRunner.display();
9 }
10
11 function repaintTest()
12 {
13 var things = document.getElementsByClassName("before");
14 while (things.length)
15 things[0].classList.remove("before");
16 }
17 </script>
18 <style>
19 .box {
20 width: 200px;
21 height: 200px;
22 background-color: green;
23 -webkit-filter: url(#offset);
24 filter: url(#offset);
25 }
26 .before {
27 background-color: red;
28 }
29 </style>
30 </head>
31 <body onload="runRepaintTest()">
32 <div class="box before"></div>
33 <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
34 <defs>
35 <filter id="offset">
36 <feOffset dx="190" dy="190"/>
37 </filter>
38 </defs>
39 </svg>
40 </body>
41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698