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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/caret-with-transformation.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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 <script src="resources/text-based-repaint.js" type="text/javascript"></script> 1 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
2 <script type="text/javascript"> 2 <script type="text/javascript">
3 function repaintTest() { 3 function repaintTest() {
4 var div = document.getElementById("div"); 4 var div = document.getElementById("div");
5 window.getSelection().collapse(div, 1); 5 window.getSelection().collapse(div, 1);
6 } 6 }
7 </script> 7 </script>
8 <html> 8 <html>
9 <body onload="runRepaintAndPixelTest();"> 9 <body onload="runRepaintAndPixelTest();">
10 <div contenteditable="true" style="transform:rotate(30deg)translate(100px,200px) "> 10 <div contenteditable="true" style="transform:rotate(30deg)translate(100px,200px) ">
11 <div id="div">This test verifies caret repaint is correctly transformed.</div> 11 <div id="div">This test verifies caret repaint is correctly transformed.</div>
12 </div> 12 </div>
13 <script> 13 <script>
14 window.getSelection().collapse(div, 0); 14 window.getSelection().collapse(div, 0);
15 </script> 15 </script>
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698