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

Unified Diff: LayoutTests/svg/text/non-invertible-matrix-text.svg

Issue 200053005: [SVG] Transform animation leaves traces of text behind. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/text/non-invertible-matrix-text.svg
diff --git a/LayoutTests/svg/text/non-invertible-matrix-text.svg b/LayoutTests/svg/text/non-invertible-matrix-text.svg
new file mode 100644
index 0000000000000000000000000000000000000000..86cc517245a6d1f454a70318d6a1fc104250a52d
--- /dev/null
+++ b/LayoutTests/svg/text/non-invertible-matrix-text.svg
@@ -0,0 +1,16 @@
+<svg width="620" height="450" viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
+ <script>
+ <![CDATA[
+ function runTest() {
+ document.getElementById('first').setAttribute("transform", "translate(241.0859375, -21)scale(0, 1)translate(-241.0859375, 21)");
Stephen Chennney 2014/03/19 12:11:05 Is there anything special about the 241.0859375 va
Erik Dahlström (inactive) 2014/03/19 14:00:10 This came from script-generated content, the trans
+ document.getElementById('second').setAttribute("transform", "translate(241.0859375, -21)scale(0, 1)translate(-241.0859375, 21)");
+ }
+ ]]>
+ </script>
+
+ <g id="textGroup" transform="translate(70,300)" font-family="sans-serif" font-size="60" text-rendering="geometricPrecision">
+ <rect x="254" width="1" height="1"/>
+ <text id="first" x="197.7978515625" y="0" fill="red">s</text>
+ <text id="second" x="229.0576171875" y="0" fill="red">!</text>
+ </g>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/svg/text/non-invertible-matrix-text-expected.svg » ('j') | Source/core/rendering/PaintInfo.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698