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

Side by Side Diff: LayoutTests/svg/repaint/modify-transferred-listitem-different-attr.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 <style>
3 @font-face {
4 font-family: 'myahem';
5 src: url(../../resources/Ahem.ttf);
6 }
7 text {
8 font-family: 'myahem';
9 }
10 </style>
11 <svg width="100" height="100">
12 <text id="ref" x="15 65" y="10 20" fill="red">A B C</text>
13 <text id="target" x="15" y="10 20" fill="green">A B C</text>
14 <text id="source" x="50" y="50 60" fill="blue">X Y Z</text>
15 </svg>
16 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
17 <script>
18 testIsAsync = true;
19 window.onload = runRepaintTest;
20
21 function repaintTest() {
22 var moved = document.querySelector('#source').y.baseVal.removeItem(1);
23 document.querySelector('#target').x.baseVal.appendItem(moved);
24
25 requestAnimationFrame(function() {
26 moved.value = 65;
27 if (window.testRunner)
28 finishRepaintTest();
29 });
30 }
31 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698