WebKit Bugzilla
Attachment 369542 Details for
Bug 197766
: When the scroller hosting a shared layer becomes non-scrollable, content disappears
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Testcase
shared-layer-has-reflection.html (text/html), 1.33 KB, created by
Simon Fraser (smfr)
on 2019-05-09 21:42:57 PDT
(
hide
)
Description:
Testcase
Filename:
MIME Type:
Creator:
Simon Fraser (smfr)
Created:
2019-05-09 21:42:57 PDT
Size:
1.33 KB
patch
obsolete
><!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] --> ><html> ><head> > <title>Tests painting of a reflected layer into shared backing</title> > <style> > .scrollable { > overflow: scroll; > height: 400px; > width: 300px; > margin: 10px; > border: 1px solid black; > } > > .sharing { > margin: 20px; > width: 150px; > height: 130px; > background-color: green; > border-bottom: 20px solid orange; >/* -webkit-box-reflect: below 10px;*/ >/* filter: saturate(0);*/ > opacity: 0.5; > } > > .spacer { > height: 500px; > width: 20px; > background-color: silver; > } > > .spacer:hover { > height: 100px; > } > > .spacer.changed { > height: 100px; > } > </style> > <script> > > > window.addEventListener('load', () => { > > setTimeout(() => { > document.querySelector('.spacer').classList.add('changed'); > }, 500); > }, false); > </script> ></head> ><body> > <div class="scrollable"> > <div class="sharing"> > </div> > <div class="spacer"></div> > </div> ></body> ></html>
<!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] --> <html> <head> <title>Tests painting of a reflected layer into shared backing</title> <style> .scrollable { overflow: scroll; height: 400px; width: 300px; margin: 10px; border: 1px solid black; } .sharing { margin: 20px; width: 150px; height: 130px; background-color: green; border-bottom: 20px solid orange; /* -webkit-box-reflect: below 10px;*/ /* filter: saturate(0);*/ opacity: 0.5; } .spacer { height: 500px; width: 20px; background-color: silver; } .spacer:hover { height: 100px; } .spacer.changed { height: 100px; } </style> <script> window.addEventListener('load', () => { setTimeout(() => { document.querySelector('.spacer').classList.add('changed'); }, 500); }, false); </script> </head> <body> <div class="scrollable"> <div class="sharing"> </div> <div class="spacer"></div> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 197766
: 369542 |
369657