On 2016/11/16 21:14:20, flackr wrote:
> nit: Scrolling is unnecessary for testing this.
Done.
4 }
5 </script>
6 <style>
7 #scroller {
8 background: local grey;
flackr
2016/11/16 21:14:20
Thinking about this some more, if we were double p
Thinking about this some more, if we were double painting the outline (which is
the main reason to test a partially translucent outline) we may obscure that by
having a background on the scroller. Can you remove this background?
On 2016/11/16 21:14:20, flackr wrote:
> Thinking about this some more, if we were double painting the outline (which
is
> the main reason to test a partially translucent outline) we may obscure that
by
> having a background on the scroller. Can you remove this background?
Done.
9 outline: 5px solid rgba(0, 255, 0, 0.5);
10 outline-offset: -4px;
11 overflow: scroll;
12 width: 200px;
13 height: 200px;
14 box-sizing: border-box;
15 will-change: transform;
16 }
17
18 .spacer {
19 height: 300px;
20 }
21 </style>
22 <!-- #scroller outline should not be covered up by scrolling content background.
23 It is achieved by painting the outline into the decoration layer which draws
Issue 2439113003: Fix the bug that negative outline-offset is covered up by composited
(Closed)
Created 4 years, 1 month ago by yigu
Modified 4 years, 1 month ago
Reviewers: chrishtr, flackr
Base URL:
Comments: 58