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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/transform-foreign-object.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 window.onload = runRepaintTest; 4 window.onload = runRepaintAndPixelTest;
5 5
6 function repaintTest() { 6 function repaintTest() {
7 var foreign = document.getElementsByTagName("foreignObject")[0]; 7 var foreign = document.getElementsByTagName("foreignObject")[0];
8 foreign.style.transform = 'translate(100px, 0px)'; 8 foreign.style.transform = 'translate(100px, 0px)';
9 } 9 }
10 </script> 10 </script>
11 <body> 11 <body>
12 <svg version="1.1" xmlns="http://www.w3.org/2000/svg"> 12 <svg version="1.1" xmlns="http://www.w3.org/2000/svg">
13 <foreignObject width="100" height="100"> 13 <foreignObject width="100" height="100">
14 <div xmlns="http://www.w3.org/1999/xhtml" style="width: 100px; height: 100px ; background-color: green;"></div> 14 <div xmlns="http://www.w3.org/1999/xhtml" style="width: 100px; height: 100px ; background-color: green;"></div>
15 </foreignObject> 15 </foreignObject>
16 </svg> 16 </svg>
17 </body> 17 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698