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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/masking-clipping-hidpi.svg

Issue 2835153002: Fix percent height calc for svg docs. (Closed)
Patch Set: Remove unnecessary invalidations Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <svg xmlns="http://www.w3.org/2000/svg" onload="startTest()"> 1 <svg xmlns="http://www.w3.org/2000/svg" onload="startTest()">
2 <script> 2 <script>
3 if (self.internals)
pdr. 2017/05/03 15:27:23 Can you add a minimal test that just covers this b
4 internals.runtimeFlags.overlayScrollbarsEnabled = true;
5
3 function startTest() { 6 function startTest() {
4 if (!window.testRunner) 7 if (!window.testRunner)
5 return; 8 return;
6 9
7 testRunner.waitUntilDone(); 10 testRunner.waitUntilDone();
8 testRunner.setBackingScaleFactor(2, finishTest); 11 testRunner.setBackingScaleFactor(2, finishTest);
9 } 12 }
10 13
11 function finishTest() { 14 function finishTest() {
12 setTimeout(function () { testRunner.notifyDone(); }, 0); 15 setTimeout(function () { testRunner.notifyDone(); }, 0);
(...skipping 30 matching lines...) Expand all
43 </defs> 46 </defs>
44 <rect x="0" y="60" width="100" height="100" clip-path="url(#circleClipPath)" /> 47 <rect x="0" y="60" width="100" height="100" clip-path="url(#circleClipPath)" />
45 48
46 <defs> 49 <defs>
47 <pattern id="Pattern" width="1" height="1"> 50 <pattern id="Pattern" width="1" height="1">
48 <circle cx="25" cy="25" r="20" fill="url(#blackGradient)"/> 51 <circle cx="25" cy="25" r="20" fill="url(#blackGradient)"/>
49 </pattern> 52 </pattern>
50 </defs> 53 </defs>
51 <rect fill="url(#Pattern)" x="0" y="162" width="200" height="200"/> 54 <rect fill="url(#Pattern)" x="0" y="162" width="200" height="200"/>
52 </svg> 55 </svg>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698