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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/inline-outline-repaint-2.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/inline-outline-repaint-2.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <style>
5 body {
6 margin: 0;
7 padding: 0;
8 }
9 #container {
10 position: absolute;
11 width: 255px;
12 text-align: right;
13 }
14 #container > span {
15 outline: 5px solid blue;
16 }
17 </style>
18 <div id=container>
19 <span>Test</span>
20 </div>
21 <script>
22 window.expectedPaintInvalidationObjects = [
23 "LayoutInline SPAN",
24 "InlineFlowBox",
25 "LayoutText #text",
26 "InlineTextBox 'Test'",
27 ];
28 function paintInvalidationTest() {
29 document.getElementById('container').style.color = 'green';
30 }
31 onload = runPaintInvalidationTest;
32 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698