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

Side by Side Diff: LayoutTests/fast/repaint/hover-invalidation-table.html

Issue 673533002: Table rows are not totally invalidated after r170349 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update first comment after Dan's review (forgot to do it) Created 6 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/hover-invalidation-table-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 body {
4 font: 10px/1 Ahem;
5 }
6
7 tr:hover {
8 background-color: green;
9 }
10
11 table {
12 position:relative;
13 top: 180px;
14 }
15 </style>
16 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
17 <script>
18 function repaintTest()
19 {
20 var secondRowSpan = document.getElementById("secondRowSpan");
21 var secondRowSpanBox = secondRowSpan.getBoundingClientRect();
22 var secondRowSpanCenterX = (secondRowSpanBox.left + secondRowSpanBox.right) / 2;
23 var secondRowSpanCenterY = (secondRowSpanBox.top + secondRowSpanBox.bottom) / 2;
24
25 if (window.eventSender) {
26 eventSender.mouseMoveTo(secondRowSpanCenterX, secondRowSpanCenterY);
27 eventSender.mouseDown();
28 eventSender.mouseUp();
29 }
30 }
31
32 window.addEventListener("load", runRepaintTest);
33 </script>
34 <table>
35 <tr>
36 <td rowspan="2">1,1</td>
37 <td>1,4</td>
38 </tr>
39 <tr>
40 <td>2,3</td>
41 </tr>
42 <tr class="bla">
43 <td rowspan="2" id="secondRowSpan">3,1</td>
44 <td>3,4</td>
45 </tr>
46 <tr>
47 <td>4,4</td>
48 </tr>
49 </table>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/hover-invalidation-table-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698