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

Side by Side Diff: Source/devtools/front_end/audits/auditsPanel.css

Issue 721133003: DevTools: CssChecker: avoid selector crafting in AuditsPanel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/devtools/front_end/audits/AuditResultView.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 left: 0; 114 left: 0;
115 right: 0; 115 right: 0;
116 bottom: 0; 116 bottom: 0;
117 display: none; 117 display: none;
118 } 118 }
119 119
120 .audit-result-view.visible { 120 .audit-result-view.visible {
121 display: block; 121 display: block;
122 } 122 }
123 123
124 .audit-result-view .severity-severe, 124 .audit-result-view .severity {
125 .audit-result-view .severity-warning,
126 .audit-result-view .severity-info {
127 background-image: url(Images/statusbarButtonGlyphs.png); 125 background-image: url(Images/statusbarButtonGlyphs.png);
128 background-size: 320px 144px; 126 background-size: 320px 144px;
129 display: inline-block; 127 display: inline-block;
130 width: 10px; 128 width: 10px;
131 margin-right: -10px; 129 margin-right: -10px;
132 height: 10px; 130 height: 10px;
133 position: relative; 131 position: relative;
134 left: -28px; 132 left: -28px;
135 margin-top: 3px; 133 margin-top: 3px;
136 } 134 }
137 135
138 @media (-webkit-min-device-pixel-ratio: 1.5) { 136 @media (-webkit-min-device-pixel-ratio: 1.5) {
139 .audit-result-view .severity-severe, 137 .audit-result-view .severity {
140 .audit-result-view .severity-warning,
141 .audit-result-view .severity-info {
142 background-image: url(Images/statusbarButtonGlyphs_2x.png); 138 background-image: url(Images/statusbarButtonGlyphs_2x.png);
143 } 139 }
144 } /* media */ 140 } /* media */
145 141
146 .audit-result-view .severity-severe { 142 .audit-result-view .severity.severe {
147 background-position: -224px -96px; 143 background-position: -224px -96px;
148 } 144 }
149 145
150 .audit-result-view .severity-warning { 146 .audit-result-view .severity.warning {
151 background-position: -246px -96px; 147 background-position: -246px -96px;
152 } 148 }
153 149
154 .audit-result-view .severity-info { 150 .audit-result-view .severity.info {
155 background-position: -235px -96px; 151 background-position: -235px -96px;
156 } 152 }
157 153
158 .audit-result-tree li.parent::before { 154 .audit-result-tree li.parent::before {
159 -webkit-user-select: none; 155 -webkit-user-select: none;
160 background-image: url(Images/statusbarButtonGlyphs.png); 156 background-image: url(Images/statusbarButtonGlyphs.png);
161 background-size: 320px 144px; 157 background-size: 320px 144px;
162 opacity: 0.5; 158 opacity: 0.5;
163 float: left; 159 float: left;
164 width: 8px; 160 width: 8px;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 font-weight: bold; 237 font-weight: bold;
242 } 238 }
243 239
244 .audit-launcher-view .progress-bar-container { 240 .audit-launcher-view .progress-bar-container {
245 display: inline-block; 241 display: inline-block;
246 } 242 }
247 243
248 .audit-launcher-view .progress-bar-container .progress-bar-stop-button { 244 .audit-launcher-view .progress-bar-container .progress-bar-stop-button {
249 display: none; 245 display: none;
250 } 246 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/audits/AuditResultView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698