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

Unified Diff: chrome/test/data/page_load_metrics/seamless-iframe.css

Issue 2859393002: Report page load timing information for child frames. (Closed)
Patch Set: rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/page_load_metrics/main_frame_with_iframe.html ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/page_load_metrics/seamless-iframe.css
diff --git a/chrome/test/data/page_load_metrics/seamless-iframe.css b/chrome/test/data/page_load_metrics/seamless-iframe.css
new file mode 100644
index 0000000000000000000000000000000000000000..4b9d8ef483fec5ef5d69e875284440c71aee840a
--- /dev/null
+++ b/chrome/test/data/page_load_metrics/seamless-iframe.css
@@ -0,0 +1,12 @@
+/* Copyright 2017 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+/* To prevent an iframe from painting in the document it is hosted in, we use
+ * the 'seamless' class, which prevents the frame from drawing borders or
+ * scrollbars.
+ */
+iframe.seamless {
+ border: 0px none transparent;
+ overflow: hidden;
+}
« no previous file with comments | « chrome/test/data/page_load_metrics/main_frame_with_iframe.html ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698