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

Side by Side Diff: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.css

Issue 17471008: Rework compositor touch hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CR feedback - accumulate LayoutRects instead of IntRects, disable when page isn't composited. Also… Created 7 years, 5 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
(Empty)
1 html[dumpRenderTree] {
2 font-family: Ahem;
3 }
4 #tests {
5 font-size: 10px;
6 width: 300px;
7 }
8 #tests > div {
9 margin: 5px;
10 }
11 .testcase:not(.generated), .testcase *:not(.generated) {
12 border: 1px solid red;
13 }
14 /* For manually visualizing how elements respond to hit-testing */
15 .testcase:not(.generated):active, .testcase *:not(.generated):active {
16 background-color: yellow;
17 }
18 .overlay-container {
19 position: relative;
20 height: 0;
21 width: 0;
22 z-index: 10;
23 }
24 .overlay {
25 background-color: green;
26 opacity: 0.3;
27 pointer-events: none;
28 z-index: 10;
29 }
30 /* Don't show the overlays until we're all done testing, as they
31 can interfere with promotion to composited layers
32 */
33 html:not([done]) .display-when-done {
34 display: none;
35 }
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698