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

Side by Side Diff: LayoutTests/fast/table/outline-change-in-table-cell.html

Issue 744493002: Let RenderTable reach table cells needing overflow recalc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: RenderTableRow::recomputeOverflow Created 6 years 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 <!DOCTYPE html>
2 <script src="../repaint/resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 var target = document.getElementById('target');
6 // Intermediate outline change should not affect final overflow and paint inva lidation.
7 target.style.outline = '40px solid yellow';
8 target.offsetHeight;
9 target.style.outline = '20px solid green';
10 }
11 onload = runRepaintTest;
12 </script>
13 <p style="height: 100px">
14 Tests overflow recalc and paint invalidation in a table cell when outline change s.
15 Passes if there is a thick green outline and no red.
Julien - ping for review 2014/12/03 19:44:36 And no yellow?
Xianzhu 2014/12/03 22:56:35 Done.
16 </p>
17 <table style="border: none; margin: 50px">
18 <tr>
19 <td>
Julien - ping for review 2014/12/03 19:44:36 Nit: you probably want to remove the 2px default p
Xianzhu 2014/12/03 22:56:35 Done.
20 <div id="target" style="width: 100px; height: 100px; outline: 1px solid re d"></div>
21 </td>
22 </tr>
23 </table>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698