From 3894bb9f2a118f646eca02c3bd448e4d77d02942 Mon Sep 17 00:00:00 2001 From: Wyatt Allen Date: Tue, 18 Oct 2016 18:18:00 -0700 Subject: [PATCH] Use semi-transparent intraline highlight color Because code comments are rendered using italics, and because italics can sometimes draw text outside of their bounding boxes, some characters may be visually obscured when they are adjacent to an annotation with a background color -- particularly intraline difference annotations. With this change, intraline difference background is given an alpha channel so that such characters are not obscured. Bug: Issue 4785 Change-Id: I5372e6f4def5e69126288965eb9829e5680c2102 --- polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html b/polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html index 625d6e88b9..565bfab07a 100644 --- a/polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html +++ b/polygerrit-ui/app/elements/diff/gr-diff/gr-diff.html @@ -28,9 +28,10 @@ limitations under the License.