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

Unified Diff: LayoutTests/svg/custom/viewport-resource-inval-expected.svg

Issue 458833002: [SVG] Skip layout viewport change calculation when not needed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test + minor cleanup. Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/custom/viewport-resource-inval.svg ('k') | Source/core/rendering/svg/SVGRenderSupport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/viewport-resource-inval-expected.svg
diff --git a/LayoutTests/svg/custom/viewport-resource-inval-expected.svg b/LayoutTests/svg/custom/viewport-resource-inval-expected.svg
new file mode 100644
index 0000000000000000000000000000000000000000..855af896545f0f15cd9678c0ceb94846ef6b026c
--- /dev/null
+++ b/LayoutTests/svg/custom/viewport-resource-inval-expected.svg
@@ -0,0 +1,25 @@
+<svg id="svg" width="400" height="400" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <mask id="mask">
+ <rect width="25%" height="25%" fill="white"/>
+ </mask>
+
+ <clipPath id="clip">
+ <rect x="27%" width="25%" height="25%"/>
+ </clipPath>
+
+ <pattern id="pattern" patternUnits="userSpaceOnUse" x="0" y="0" width="800" height="800">
+ <rect x="54%" width="25%" height="25%" fill="green"/>
+ </pattern>
+ </defs>
+
+ <rect width="25%" height="25%" fill="red"/>
+ <rect width="800" height="800" fill="green" mask="url(#mask)"/>
+
+ <rect x="27%" width="25%" height="25%" fill="red"/>
+ <rect width="800" height="800" fill="green" clip-path="url(#clip)"/>
+
+ <rect x="54%" width="25%" height="25%" fill="red"/>
+ <rect width="800" height="800" fill="url(#pattern)"/>
+</svg>
+
« no previous file with comments | « LayoutTests/svg/custom/viewport-resource-inval.svg ('k') | Source/core/rendering/svg/SVGRenderSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698