WebKit Bugzilla
Attachment 373416 Details for
Bug 199464
: Some layers inside overflow:scroll don't move back to correct positions when the contents are shrunk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Testcase
scrolling-proxy-with-no-scrolling-layer.html (text/html), 1.30 KB, created by
Simon Fraser (smfr)
on 2019-07-03 15:00:30 PDT
(
hide
)
Description:
Testcase
Filename:
MIME Type:
Creator:
Simon Fraser (smfr)
Created:
2019-07-03 15:00:30 PDT
Size:
1.30 KB
patch
obsolete
><!DOCTYPE html> ><html> ><head> > <style> > .scroller { > overflow: scroll; > height: 500px; > width: 500px; > border: 1px solid black; > } > > .wrapper { > position: relative; > } > > .resize-triggers { > position: absolute; > top: 10px; > left: 20px; > width: 200px; > height: 200px; > background-color: green; > z-index: -1; > } > > > .expand-trigger { > background: silver; > overflow: auto; > height: 50%; > width: 50%; > opacity: 0; > } > > .content { > height: 700px; > } > > .content.changed { > height: 300px; > } > > </style> > <script> > > > window.addEventListener('load', () => { > setTimeout(() => { > document.querySelector('.content').classList.add('changed'); > }, 2000); > }, false); > </script> ></head> ><body> > > <section class="scroller"> > <div class="wrapper"> > <div class="content"></div> > <div class="resize-triggers"> > <div class="expand-trigger"></div> > </div> > </div> > </section> > ></body> ></html>
<!DOCTYPE html> <html> <head> <style> .scroller { overflow: scroll; height: 500px; width: 500px; border: 1px solid black; } .wrapper { position: relative; } .resize-triggers { position: absolute; top: 10px; left: 20px; width: 200px; height: 200px; background-color: green; z-index: -1; } .expand-trigger { background: silver; overflow: auto; height: 50%; width: 50%; opacity: 0; } .content { height: 700px; } .content.changed { height: 300px; } </style> <script> window.addEventListener('load', () => { setTimeout(() => { document.querySelector('.content').classList.add('changed'); }, 2000); }, false); </script> </head> <body> <section class="scroller"> <div class="wrapper"> <div class="content"></div> <div class="resize-triggers"> <div class="expand-trigger"></div> </div> </div> </section> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 199464
: 373416 |
373453