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

Side by Side Diff: LayoutTests/svg/repaint/modify-inserted-listitem.html

Issue 321403004: SVG: Items inserted into list should be made a tear-off. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add baseline for mac Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <svg width="100" height="100">
3 <rect id="ref" x="20" y="30" width="10" height="10" fill="red"></rect>
4 <rect id="move" x="10" y="10" width="10" height="10" fill="green"></rect>
5 </svg>
6 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
7 <script>
8 testIsAsync = true;
9 window.onload = runRepaintTest;
10
11 function repaintTest() {
12 var transform = document.querySelector('svg').createSVGTransform();
13 transform.matrix.e = 10;
14 document.querySelector('#move').transform.baseVal.appendItem(transform);
15
16 requestAnimationFrame(function() {
17 transform.matrix.f = 20;
18 if (window.testRunner)
19 finishRepaintTest();
20 });
21 }
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698