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

Side by Side Diff: Source/devtools/front_end/elementsPanel.css

Issue 205193002: DevTools: promote large views with overflow to layers in order to not repaint on scroll. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 13 matching lines...) Expand all
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #elements-content { 30 #elements-content {
31 flex: 1 1; 31 flex: 1 1;
32 overflow: auto; 32 overflow: auto;
33 padding-left: 0; 33 padding-left: 0;
34 -webkit-transform: translateZ(0);
caseq 2014/03/20 09:03:22 Is this one really necessary?
34 } 35 }
35 36
36 #elements-crumbs { 37 #elements-crumbs {
37 flex: 0 0 19px; 38 flex: 0 0 19px;
38 background-color: rgb(236, 236, 236); 39 background-color: rgb(236, 236, 236);
39 border-top: 1px solid #ccc; 40 border-top: 1px solid #ccc;
40 overflow: hidden; 41 overflow: hidden;
41 } 42 }
42 43
43 #elements-content > ol { 44 #elements-content > ol {
44 display: inline-block; 45 display: inline-block;
45 min-height: 100%; 46 min-height: 100%;
47 -webkit-transform: translateZ(0);
46 } 48 }
47 49
48 #elements-content .editing { 50 #elements-content .editing {
49 margin-left: 8px; 51 margin-left: 8px;
50 } 52 }
51 53
52 #elements-content .elements-gutter-decoration { 54 #elements-content .elements-gutter-decoration {
53 position: absolute; 55 position: absolute;
54 left: 1px; 56 left: 1px;
55 margin-top: 2px; 57 margin-top: 2px;
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 .image-preview-container img { 562 .image-preview-container img {
561 margin: 2px auto; 563 margin: 2px auto;
562 max-width: 100px; 564 max-width: 100px;
563 max-height: 100px; 565 max-height: 100px;
564 background-image: url(Images/checker.png); 566 background-image: url(Images/checker.png);
565 -webkit-user-select: text; 567 -webkit-user-select: text;
566 -webkit-user-drag: auto; 568 -webkit-user-drag: auto;
567 } 569 }
568 570
569 .sidebar-pane.composite { 571 .sidebar-pane.composite {
570 overflow: hidden;
571 position: absolute; 572 position: absolute;
572 } 573 }
573 574
574 .sidebar-pane.composite > .body { 575 .sidebar-pane.composite > .body {
575 height: 100%; 576 height: 100%;
576 } 577 }
577 578
578 .sidebar-pane.composite .metrics { 579 .sidebar-pane.composite .metrics {
579 border-bottom: 1px solid rgb(64%, 64%, 64%); 580 border-bottom: 1px solid rgb(64%, 64%, 64%);
580 height: 206px; 581 height: 206px;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 686
686 .styles-clipboard-only { 687 .styles-clipboard-only {
687 display: inline-block; 688 display: inline-block;
688 width: 0; 689 width: 0;
689 opacity: 0; 690 opacity: 0;
690 } 691 }
691 692
692 li.child-editing .styles-clipboard-only { 693 li.child-editing .styles-clipboard-only {
693 display: none; 694 display: none;
694 } 695 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698