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

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

Issue 1164533005: Don't double-inflate visual overflow rect for LayoutInlines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: SP TEs. Created 5 years, 6 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 <!DOCTYPE html>
2 <script src=resources/text-based-repaint.js></script>
3 <style>
4 body {
5 margin: 0;
6 padding: 0;
7 }
8 .foo {
Julien - ping for review 2015/06/08 15:46:11 foo :(
fs 2015/06/08 16:15:37 Restructured a bit and dropped the foo (in favor o
9 outline: 5px solid blue;
10 }
11 .container {
12 position: absolute;
13 width: 255px;
14 text-align: right;
15 font: 10px Ahem;
16 }
17 </style>
18 <div class=container>
19 <span class=foo>Test</span>
20 </div>
21 <script>
22 function repaintTest() {
23 document.querySelector('div').style.color = 'green';
Julien - ping for review 2015/06/08 15:46:11 document.getElementsByClassName['container'][0] (o
fs 2015/06/08 16:15:37 Changed to using an id.
24 }
25 onload = runRepaintTest;
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698