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

Side by Side Diff: LayoutTests/svg/repaint/repaint-non-scaling-stroke-text.html

Issue 1072403010: SVG Text should respect non-scaling-stroke. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: changed from expected.html to expected.txt Created 5 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 <script>
5 window.testIsAsync = true;
6 window.onload = runRepaintTest;
7
8 function repaintTest() {
9 setTimeout(function() {
10 document.getElementById('t').setAttribute("stroke", "blue");
11 document.getElementById('t').setAttribute("vector-effect", "non-scaling-strok e");
12 requestAnimationFrame(function() {
13 if (window.testRunner)
14 finishRepaintTest();
15 });
16 }, 0);
17 };
18 </script>
19 <body>
20 <svg>
21 <g transform="scale(2 2)">
fs 2015/04/23 08:24:22 Make this 0.5 instead so that the resulting stroke
Shanmuga Pandi 2015/04/23 08:51:33 Done.
fs 2015/04/23 09:11:33 Please also increase stroke-width.
22 <text id="t" x="0" y="50" stroke="none" stroke-width="2" fill="none" font -size="36" vector-effect="none">Hello</text>
fs 2015/04/23 08:24:22 Make x > 0 (10 perhaps?) so that the repaint rect
Shanmuga Pandi 2015/04/23 08:51:33 Done.
23 </g>
24 </svg>
25 </body>
26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/repaint/repaint-non-scaling-stroke-text-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698