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

Side by Side Diff: LayoutTests/fast/repaint/invalidate-invisible-element.html

Issue 456963002: Delete RenderLayer::setHasVisibleContent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dangling declaration Created 6 years, 4 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 <html>
3 <head>
4 <script src="../../resources/run-after-display.js"></script>
5 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
6 <script type="text/javascript">
7 window.onload = function() {
8 runRepaintTest();
9 };
10
11 function repaintTest() {
12 var target = document.getElementById('target');
13 target.style.visibility = 'visible';
14 getComputedStyle(target).color;
15 target.style.top = '300px';
16 }
17 </script>
18 </head>
19 <body>
20 <div id="target"
21 style="visibility:hidden;
22 position: absolute;
23 top: 200px; left: 200px;
24 width: 200px; height: 200px;
25 background-color: redl "></div>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698