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

Side by Side Diff: LayoutTests/compositing/gestures/resources/link-highlight-style.css

Issue 322253004: Change compositing/gestures tests to avoid a one pixel difference (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
« no previous file with comments | « LayoutTests/compositing/gestures/resources/link-highlight-helper.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 /*Used for applying style to a <span> so it looks like a highlight*/ 1 /*Used for applying style to a <span> so it looks like a highlight*/
2 .fauxHighlight { 2 .fauxHighlight {
3 -webkit-border-radius: 3px; 3 -webkit-border-radius: 3px;
4 background-color: rgb(0, 255, 0); 4 background-color: rgb(0, 255, 0);
5 color: rgb(0, 255, 0); 5 color: rgb(0, 255, 0);
6 } 6 }
7 7
8 .fauxHighlightSquare { 8 .fauxHighlightSquare {
9 background-color: rgb(0, 255, 0); 9 background-color: rgb(0, 255, 0);
10 color: rgb(0, 255, 0); 10 color: rgb(0, 255, 0);
11 } 11 }
12 12
13 .opaqueHighlight { 13 .opaqueHighlight {
14 -webkit-tap-highlight-color: rgb(0, 255, 0); 14 -webkit-tap-highlight-color: rgb(0, 255, 0);
15 } 15 }
16 16
17 .transparentHighlight { 17 .transparentHighlight {
18 -webkit-tap-highlight-color: rgba(0, 255, 0, 0.5); 18 -webkit-tap-highlight-color: rgba(0, 255, 0, 0.5);
19 } 19 }
20 20
21 .activeLink { 21 .activeLink {
22 color: rgb(0, 255, 0); 22 color: rgb(0, 255, 0);
23 } 23 }
24 24
25 a {
26 text-decoration: none;
27 }
28
25 a:active { 29 a:active {
26 color: rgb(0, 255, 0); 30 color: rgb(0, 255, 0);
27 } 31 }
28 32
29 a.needsFix:active { 33 a.needsFix:active {
30 color: rgb(255, 255, 255); 34 color: rgb(255, 255, 255);
31 } 35 }
32 36
33 /*Used for a floating DIV simulating a highlight*/ 37 /*Used for a floating DIV simulating a highlight*/
34 .highlightDiv { 38 .highlightDiv {
35 -webkit-border-radius: 3px; 39 -webkit-border-radius: 3px;
36 background-color: rgb(0, 255, 0); 40 background-color: rgb(0, 255, 0);
37 z-index: 1; 41 z-index: 1;
38 position: absolute; 42 position: absolute;
39 } 43 }
40 44
41 .squaredHighlight { 45 .squaredHighlight {
42 -webkit-border-radius: 0px; 46 -webkit-border-radius: 0px;
43 } 47 }
44 48
45 .composited { 49 .composited {
46 -webkit-transform: translateZ(0); 50 -webkit-transform: translateZ(0);
47 } 51 }
OLDNEW
« no previous file with comments | « LayoutTests/compositing/gestures/resources/link-highlight-helper.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698