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

Side by Side Diff: LayoutTests/fast/repaint/outline-continuations.html

Issue 1215023010: Fix style propagation to continuations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix bug again Created 5 years, 5 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
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 function repaintTest() 4 function repaintTest()
5 { 5 {
6 document.querySelector('#outer').style.outline = 'green solid 2px'; 6 document.querySelector('#outer').style.outline = 'green solid 2px';
7 } 7 }
8 onload = runRepaintTest; 8 onload = runRepaintAndPixelTest;
9 </script> 9 </script>
10 <style> 10 <style>
11 body { height: 200px; } 11 p, .inner { height: 20px; }
12 p, #inner { height: 20px; } 12 #container { position: absolute; width: 200px; padding: 10px; top: 100px; }
13 #container { position: absolute; }
14 </style> 13 </style>
15 <p> 14 <p>
16 This test is verifying that when the outline is added to an element 15 This test is verifying that when the outline is added to an element
17 that we correctly invalidate any continuations. 16 that we correctly invalidate any continuations.
18 </p> 17 </p>
19 <p> 18 <p>
20 If this test passes, you should see a green border around the text contents. 19 If this test passes, you should see a green border around "CONTENTS".
21 </p> 20 </p>
22 <div id="container"> 21 <div id="container">
23 <span id="outer"> 22 <span id="outer">
24 <div id="inner">CONTENTS</div> 23 CONTENTS
24 <div class="inner">CONTENTS</div>
25 CONTENTS
26 <div class="inner">CONTENTS</div>
27 </span>
28 <span>
29 <div class="inner">Should not have green border</div>
25 </span> 30 </span>
26 </div> 31 </div>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/platform/linux/fast/repaint/outline-continuations-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698