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

Unified Diff: LayoutTests/svg/custom/filter-css-transform-resolution.html

Issue 196413023: [SVG] Poor filter resolution when using CSS 3D transforms. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar comments. Created 6 years, 9 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
Index: LayoutTests/svg/custom/filter-css-transform-resolution.html
diff --git a/LayoutTests/svg/custom/filter-css-transform-resolution.html b/LayoutTests/svg/custom/filter-css-transform-resolution.html
new file mode 100644
index 0000000000000000000000000000000000000000..5420b11336208c58b2eb4e543c305d3aa1fa8326
--- /dev/null
+++ b/LayoutTests/svg/custom/filter-css-transform-resolution.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script src="../../fast/repaint/resources/repaint.js"></script>
+ <script>
+ function repaintTest() {
+ document.getElementById('div').style.webkitTransform = '';
+ }
+ </script>
+</head>
+<body onload="runRepaintTest()">
+ <!-- Test for http://crbug.com/345441 - the circle edge should not be blurry -->
+ <div id="div" style="-webkit-transform: rotate3d(1, 0, 0, 85deg); -webkit-transform-origin: 100px 100px 0px;">
+ <svg width="300" height="300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <filter x="0" y="0" width="100%" height="100%" id="filter">
+ <feOffset/>
+ </filter>
+ </defs>
+ <circle cx="100" cy="100" r="100" fill="green" filter="url(#filter)"/>
+ </svg>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698