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

Side by Side Diff: LayoutTests/svg/repaint/shape-transform-change.html

Issue 260963012: Override repaintTreeAfterLayout for RenderSVGModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Additional tweaks. Created 6 years, 7 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 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script src="../../resources/run-after-display.js"></script>
4 <script>
5 window.testIsAsync = true;
6 window.onload = runRepaintTest;
7
8 function repaintTest() {
9 runAfterDisplay(function() {
10 document.getElementsByTagName('rect')[1].setAttribute('transform', 'scale(2) ');
11 if (window.testRunner)
12 finishRepaintTest();
13 });
14 };
15 </script>
16 <svg width="200" height="200">
17 <!-- Test if applying a transform to a <rect> properly repaints the <rect>. -- >
18 <!-- Pass if there's a green 200x200 (px) rectangle, and no red visible. -->
Julien - ping for review 2014/05/05 18:39:07 My view on comments (or using <title> for that mat
fs 2014/05/06 07:53:38 Modified to be dumpable. (<!--... --> => <p>...</
19 <rect width="200" height="200" fill="red"/>
20 <rect width="100" height="100" fill="green"/>
21 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698