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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/vertical-rl-as-paint-container.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 if (window.internals) { 4 if (window.internals) {
5 onload = runRepaintAndPixelTest; 5 onload = runRepaintAndPixelTest;
6 } else { 6 } else {
7 onclick = repaintTest; 7 onclick = repaintTest;
8 } 8 }
9 function repaintTest() { 9 function repaintTest() {
10 var target = document.getElementById('target'); 10 var target = document.getElementById('target');
11 target.style.color = 'green'; 11 target.style.color = 'green';
12 } 12 }
13 </script> 13 </script>
14 <div id="target" style="-webkit-writing-mode:vertical-rl; -webkit-backface-visib ility:hidden; width:600px; height:400px; font:20px/1 Ahem; color:red;"> 14 <div id="target" style="-webkit-writing-mode:vertical-rl; -webkit-backface-visib ility:hidden; width:600px; height:400px; font:20px/1 Ahem; color:red;">
15 Lorem ipsum dolor sit amet, consectetur adipiscing elit. 15 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
16 </div> 16 </div>
17 <p>All text above should be green (if tested manually, you need to click first). </p> 17 <p>All text above should be green (if tested manually, you need to click first). </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698