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

Side by Side Diff: Source/core/css/view-source.css

Issue 301813002: Highlight relfected XSS vectors in view-source page. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 75 }
76 76
77 tbody:last-child .webkit-line-content:empty:before { 77 tbody:last-child .webkit-line-content:empty:before {
78 content: " "; 78 content: " ";
79 } 79 }
80 80
81 .webkit-line-content { 81 .webkit-line-content {
82 padding: 0 5px !important; 82 padding: 0 5px !important;
83 } 83 }
84 84
85 .webkit-highlight {
Mike West 2014/05/29 09:29:48 Hrm. At some point (not in this CL), we need to dr
jww 2014/05/29 18:35:01 I just filed https://crbug.com/378867 for this.
86 background-color: rgb(100%, 42%, 42%);
87 border: 2px solid rgb(100%, 31%, 31%);
88 }
89
85 .webkit-html-tag { 90 .webkit-html-tag {
86 /* Keep this in sync with inspector.css (.webkit-html-tag) */ 91 /* Keep this in sync with inspector.css (.webkit-html-tag) */
87 color: rgb(136, 18, 128); 92 color: rgb(136, 18, 128);
88 } 93 }
89 94
95 .webkit-html-tag-highlight {
96 /* Keep this in sync with inspector.css (.webkit-html-tag) */
97 color: rgb(136, 18, 128);
98 background-color: rgb(100%, 42%, 42%);
99 border: 2px solid rgb(100%, 31%, 31%);
100 }
101
90 .webkit-html-attribute-name { 102 .webkit-html-attribute-name {
91 /* Keep this in sync with inspector.css (.webkit-html-attribute-name) */ 103 /* Keep this in sync with inspector.css (.webkit-html-attribute-name) */
92 color: rgb(153, 69, 0); 104 color: rgb(153, 69, 0);
93 } 105 }
94 106
95 .webkit-html-attribute-value { 107 .webkit-html-attribute-value {
96 /* Keep this in sync with inspector.css (.webkit-html-attribute-value) */ 108 /* Keep this in sync with inspector.css (.webkit-html-attribute-value) */
97 color: rgb(26, 26, 166); 109 color: rgb(26, 26, 166);
98 } 110 }
99 111
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 .webkit-html-message-line { 165 .webkit-html-message-line {
154 padding-left: 23px; 166 padding-left: 23px;
155 text-indent: -20px; 167 text-indent: -20px;
156 } 168 }
157 169
158 .webkit-html-message-icon { 170 .webkit-html-message-icon {
159 position: relative; 171 position: relative;
160 top: 2px; 172 top: 2px;
161 margin: 0 4px; 173 margin: 0 4px;
162 } 174 }
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLViewSourceDocument.h » ('j') | Source/core/html/HTMLViewSourceDocument.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698