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

Side by Side Diff: third_party/WebKit/LayoutTests/scrollbars/listbox-scrollbar-combinations.html

Issue 1457323004: Don't render border images when border-style is none (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, removed unnecessary border colors, etc. Created 5 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
OLDNEW
1 <head> 1 <head>
2 <style> 2 <style>
3 body { 3 body {
4 -webkit-user-select: none; 4 -webkit-user-select: none;
5 } 5 }
6 6
7 body > select { 7 body > select {
8 padding: 10px; 8 padding: 10px;
9 margin: 20px; 9 margin: 20px;
10 display: inline-block; 10 display: inline-block;
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 ::-webkit-scrollbar:vertical:window-inactive { 280 ::-webkit-scrollbar:vertical:window-inactive {
281 -webkit-border-image: url(resources/vertical-button-inactive.png) 2 0 2 0; 281 -webkit-border-image: url(resources/vertical-button-inactive.png) 2 0 2 0;
282 background-image: url(resources/vertical-button-background-inactive.png); 282 background-image: url(resources/vertical-button-background-inactive.png);
283 } 283 }
284 284
285 ::-webkit-scrollbar-thumb:vertical { 285 ::-webkit-scrollbar-thumb:vertical {
286 -webkit-border-image: url(resources/vertical-thumb.png) 13 0 13 0; 286 -webkit-border-image: url(resources/vertical-thumb.png) 13 0 13 0;
287 border-color: transparent; 287 border-color: transparent;
288 border-width: 13px 0; 288 border-width: 13px 0;
289 min-height: 20px; 289 min-height: 20px;
290 border-style: solid;
290 } 291 }
291 292
292 ::-webkit-scrollbar-thumb:vertical:hover { 293 ::-webkit-scrollbar-thumb:vertical:hover {
293 -webkit-border-image: url(resources/vertical-thumb-hover.png) 13 0 13 0; 294 -webkit-border-image: url(resources/vertical-thumb-hover.png) 13 0 13 0;
294 } 295 }
295 296
296 ::-webkit-scrollbar-thumb:vertical:active { 297 ::-webkit-scrollbar-thumb:vertical:active {
297 -webkit-border-image: url(resources/vertical-thumb-active.png) 13 0 13 0; 298 -webkit-border-image: url(resources/vertical-thumb-active.png) 13 0 13 0;
298 } 299 }
299 300
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 .single::-webkit-scrollbar-track-piece:vertical:end, 333 .single::-webkit-scrollbar-track-piece:vertical:end,
333 .double-end::-webkit-scrollbar-track-piece:vertical:end, 334 .double-end::-webkit-scrollbar-track-piece:vertical:end,
334 .double-both::-webkit-scrollbar-track-piece:vertical:end { 335 .double-both::-webkit-scrollbar-track-piece:vertical:end {
335 margin-bottom: -6px; 336 margin-bottom: -6px;
336 } 337 }
337 338
338 ::-webkit-scrollbar-track:vertical:disabled { 339 ::-webkit-scrollbar-track:vertical:disabled {
339 -webkit-border-image: url(resources/vertical-track-disabled.png) 13 0 13 0; 340 -webkit-border-image: url(resources/vertical-track-disabled.png) 13 0 13 0;
340 border-color: transparent; 341 border-color: transparent;
341 border-width: 13px 0; 342 border-width: 13px 0;
343 border-style: solid;
342 } 344 }
343 345
344 ::-webkit-scrollbar-track-piece:vertical:decrement { 346 ::-webkit-scrollbar-track-piece:vertical:decrement {
345 -webkit-border-image: url(resources/vertical-track.png) 13 0 13 0; 347 -webkit-border-image: url(resources/vertical-track.png) 13 0 13 0;
346 border-color: transparent; 348 border-color: transparent;
347 border-width: 13px 0 0 0; 349 border-width: 13px 0 0 0;
348 } 350 }
349 351
350 ::-webkit-scrollbar-track-piece:vertical:decrement:hover { 352 ::-webkit-scrollbar-track-piece:vertical:decrement:hover {
351 -webkit-border-image: url(resources/vertical-track-hover.png) 13 0 13 0; 353 -webkit-border-image: url(resources/vertical-track-hover.png) 13 0 13 0;
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 <option>Two 585 <option>Two
584 <option>Three 586 <option>Three
585 <option>Four 587 <option>Four
586 <option>Five 588 <option>Five
587 </select> 589 </select>
588 590
589 <select size=4> 591 <select size=4>
590 <option>One 592 <option>One
591 <option>Two 593 <option>Two
592 </select> 594 </select>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698