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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/vertical-rl-as-paint-container.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!-- Based on fast/repaint/vertical-rl-as-paint-container.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 onload = runPaintInvalidationTest;
6 window.expectedPaintInvalidationObjects = [
7 "LayoutText #text",
8 "InlineTextBox 'Lorem ipsum dolor'",
9 "InlineTextBox 'sit amet,'",
10 "InlineTextBox 'consectetur'",
11 "InlineTextBox 'adipiscing elit.'",
12 ];
13 function paintInvalidationTest() {
14 var target = document.getElementById('target');
15 target.style.color = 'green';
16 }
17 </script>
18 <div id="target" style="-webkit-writing-mode:vertical-rl; -webkit-backface-visib ility:hidden; width:600px; height:400px; font:20px/1 Ahem; color:red;">
19 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
20 </div>
21 <p>All text above should be green.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698