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

Unified Diff: chrome/browser/resources/print_preview/previewarea/preview_area.css

Issue 700463005: Update CSS to delay change in visibility so it matches the overlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/previewarea/preview_area.css
diff --git a/chrome/browser/resources/print_preview/previewarea/preview_area.css b/chrome/browser/resources/print_preview/previewarea/preview_area.css
index 70795297650dc22ffa815d5006558688b18cfe02..78725eefdd5f77e0fa6ebf6057c240fa760671b7 100644
--- a/chrome/browser/resources/print_preview/previewarea/preview_area.css
+++ b/chrome/browser/resources/print_preview/previewarea/preview_area.css
@@ -80,5 +80,12 @@
}
.preview-area-overlayed {
+ /**
+ * The 100 ms delay here is intended to match that of
+ * #preview-area .preview-area-overlay-layer.invisible
+ * This is important because without this delay there will be a noticeable
+ * flicker whenever the overlay is displayed for a short period of time.
+ */
+ transition: visibility 100ms linear 100ms;
Dan Beam 2014/11/04 19:15:13 i'm amazed visibility is interpolated. https://dev
visibility: hidden;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698