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

Side by Side Diff: LayoutTests/svg/dom/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: LayoutTests 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 x="10" y="10" width="10" height="10" fill="green"></rect>
4 <rect id="move" x="10" y="10" width="10" height="10" fill="red"></rect>
Erik Dahlström (inactive) 2014/06/11 08:22:03 Wouldn't the test be better if the red rect indica
kouhei (in TOK) 2014/06/12 04:25:28 Done.
5 </svg>
6 <script>
7 jsTestIsAsync = true;
8 enablePixelTesting = true;
fs 2014/06/11 08:42:23 Could you make this a repaint test instead? (I thi
kouhei (in TOK) 2014/06/12 04:25:28 Done.
9 </script>
10 <script src="../../resources/js-test.js"></script>
11 <script>
12 description("Modifying inserted item to a list should trigger invalidation.");
13
14 var transform = document.querySelector('svg').createSVGTransform();
15 transform.matrix.e = 10;
16 document.querySelector('#move').transform.baseVal.appendItem(transform);
17
18 requestAnimationFrame(function() {
19 transform.matrix.f = 20;
20 finishJSTest();
21 });
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698