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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.html

Issue 2276073002: Fix invalidation of absolute sized SVG content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <div id="contentBox" style="width: 100px; height: 400px;">
4 <svg xmlns="http://www.w3.org/2000/svg" viewBox="20 15 60 50" height="100%" width="100%">
5 <defs>
6 <linearGradient id="gradient" x1="0" x2="1" y1="0" y2="1" color-interpol ation="linearRGB">
7 <stop offset="0" stop-color="blue" />
8 <stop offset="1" stop-color="red" />
9 </linearGradient>
10
11 <mask id="mask" maskUnits="userSpaceOnUse" x="25" y="20" width="50" heig ht="40">
12 <circle cx="75" cy="20" r="20" fill="#ffffff" />
13 </mask>
14 </defs>
15
16 <g fill="url(#gradient)">
17 <rect width="100" height="80" mask="url(#mask)" />
18 </g>
19 </svg>
20 </div>
21 <script>
22 function repaintTest() {
23 contentBox.style.setProperty("width", "400px");
24 }
25 onload = runRepaintAndPixelTest();
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698