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

Side by Side Diff: third_party/WebKit/Source/web/tests/data/two_scrollable_area.html

Issue 2599043003: Add transform and background not opaque as main thread scrolling reasons (Closed)
Patch Set: Make styleRelatedMainThreadScrollingReasonTest a class Created 3 years, 11 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <style> 3 <style>
4 .transparent { 4 .transparent {
5 opacity: 0.5; 5 opacity: 0.5;
6 } 6 }
7 7
8 .transform {
9 transform: scale(0.8);
10 }
11
12 .background-not-opaque {
13 background: rgba(255, 0, 0, 0.5);
14 }
15
8 .content { 16 .content {
9 height: 500px; 17 height: 500px;
10 } 18 }
11 19
12 div { 20 div {
13 overflow: scroll; 21 overflow: scroll;
14 width: 200px; 22 width: 200px;
15 height: 300px; 23 height: 300px;
16 background: green; 24 background: green;
17 } 25 }
18 26
19 body { 27 body {
20 height: 2000px; 28 height: 2000px;
21 } 29 }
22 </style> 30 </style>
23 31
24 <div id="scroller1" class="transparent"> 32 <div id="scroller1">
25 <div class="content"></div> 33 <div class="content"></div>
26 </div> 34 </div>
27 <div id="scroller2" class="transparent"> 35 <div id="scroller2">
28 <div class="content"></div> 36 <div class="content"></div>
29 </div> 37 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698