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

Unified Diff: third_party/WebKit/Source/web/tests/data/two_transparent_scrollable_area.html

Issue 2565223002: Add more specific metrics for main thread scrolling reasons (Closed)
Patch Set: Add unit test && refactoring Created 4 years 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
Index: third_party/WebKit/Source/web/tests/data/two_transparent_scrollable_area.html
diff --git a/third_party/WebKit/Source/web/tests/data/two_transparent_scrollable_area.html b/third_party/WebKit/Source/web/tests/data/two_transparent_scrollable_area.html
new file mode 100644
index 0000000000000000000000000000000000000000..f0bead0497486976ecda351b595b9cb5fd628373
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/two_transparent_scrollable_area.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+
+<style>
+.transparent {
+ opacity: 0.5;
+}
+
+div {
+ position: fixed;
bokan 2016/12/13 14:38:57 Please add another scroller that's transparent but
yigu 2016/12/13 20:54:10 position:fixed is no longer relevant to this patch
+ overflow: scroll;
+ width: 200px;
+ height: 300px;
+ background: green;
+}
+
+body {
+ height: 2000px;
+}
+</style>
+
+<div id="scroller1" class="transparent">
+</div>
+<div id="scroller2" class="transparent">
+</div>

Powered by Google App Engine
This is Rietveld 408576698