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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/push-block-with-first-line.html

Issue 1536663004: Need to repaint its ::first-line background when a block moves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Two tests even need manual rebaseline, since they already existed in TestExpectations. Created 4 years, 12 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
(Empty)
1 <!DOCTYPE html>
2 <!--
3 Test that the ::first-line background is repainted at the new position when its block is moved.
4 There should be no red below.
5 -->
6 <script src="../../resources/ahem.js"></script>
7 <script src="../../resources/run-after-layout-and-paint.js"></script>
8 <script src="resources/text-based-repaint.js"></script>
9 <style>
10 body { font:20px Ahem; }
11 .test { color:green; }
12 .test::first-line { background:red; }
13 </style>
14 <div id="spacer" style="display:none; height:3em;"></div>
15 <div class="test">JOCULAR</div>
16 <script>
17 repaintTest = function() {
18 document.getElementById("spacer").style.display = "block";
19 }
20 runAfterLayoutAndPaint(function() {
21 runRepaintTest();
22 });
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698