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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-negative-offset-translucent-outline.html

Issue 2439113003: Fix the bug that negative outline-offset is covered up by composited (Closed)
Patch Set: Rename decorationLayer to decorationOutlineLayer Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 <style>
2 #scroller {
3 outline: 5px solid rgba(0, 255, 0, 0.5);
4 outline-offset: -4px;
5 overflow: scroll;
6 width: 200px;
7 height: 200px;
8 box-sizing: border-box;
9 will-change: transform;
10 }
11
12 .spacer {
13 height: 300px;
14 }
15 </style>
16 <!-- #scroller outline should not be covered up by scrolling content background.
17 It is achieved by painting the outline into the decoration layer which draws
18 on top of all other layers. -->
19 <div id="scroller">
20 <div class="spacer"></div>
21 </div>
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698