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

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

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 <svg width="400" height="400" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></script >
fs 2016/01/07 11:38:46 You should also include the resources/ahem.js scri
3 <script>
4 <![CDATA[
fs 2016/01/07 11:38:45 (If you make these tests HTML w/ inline SVG instea
5 function repaintTest() {
6 var text = document.getElementsByTagName("text")[0];
7 text.style.transform = 'translate(100px, 0px)';
8 }
9 ]]>
10 </script>
11 <text x="10" y="90" font-size="100" font-family="Ahem">Test</text>
fs 2016/01/07 11:38:45 IIRC, the "Ahem" font has an ascent of 800 (of 100
12 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698