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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/transform-text-element.html

Issue 1553473002: Fix SVG {text, foreignObject} transform for css animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 <script src="../../resources/run-after-layout-and-paint.js"></script>
fs 2016/01/07 16:18:29 Ditto.
4 <script src=../../resources/ahem.js></script>
5 <script>
6 window.onload = runRepaintTest;
7
8 function repaintTest() {
9 var text = document.getElementsByTagName("text")[0];
10 text.style.transform = 'translate(0px, 50px)';
11 }
12 </script>
13 <body>
14 <svg width="400" height="400" version="1.1" xmlns="http://www.w3.org/2000/svg">
15 <text y="80" fill="green" font-size="100" font-family="Ahem">Test</text>
16 </svg>
17 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698