WebKit Bugzilla
Attachment 368739 Details for
Bug 197484
: Need a scrolling tree node for nested overflow:scroll
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Testcase
composited-in-relative-in-scroller.html (text/html), 1.34 KB, created by
Simon Fraser (smfr)
on 2019-05-01 17:34:52 PDT
(
hide
)
Description:
Testcase
Filename:
MIME Type:
Creator:
Simon Fraser (smfr)
Created:
2019-05-01 17:34:52 PDT
Size:
1.34 KB
patch
obsolete
><!DOCTYPE html> ><html> ><head> > <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> > <style> > .scroller { > overflow: scroll; > } > .outer { > height: 350px; > width: 350px; > border: 1px solid black; > margin: 20px; > } > > .inner { > margin-left: 20px; > height: 200px; > width: 250px; > border: 1px solid black; > } > > .spacer { > height: 500px; > border-left: 20px solid silver; > } > > .relative { > position: relative; > border: 2px solid orange; > margin: 10px; > padding: 20px; > z-index: 0; > box-shadow: 0 0 5px black; > margin-top: 300px; > } > > .composited { > transform: translateZ(0); > } > > </style> ></head> ><body> > > <div class="outer scroller"> > <div class="relative"> > relative > <div class="inner scroller"> > Scrolled content > <div class="spacer"></div> > Scrolled content > <div class="spacer"></div> > Scrolled content > </div> > </div> > <div class="spacer"></div> > </div> ></body> ></html>
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <style> .scroller { overflow: scroll; } .outer { height: 350px; width: 350px; border: 1px solid black; margin: 20px; } .inner { margin-left: 20px; height: 200px; width: 250px; border: 1px solid black; } .spacer { height: 500px; border-left: 20px solid silver; } .relative { position: relative; border: 2px solid orange; margin: 10px; padding: 20px; z-index: 0; box-shadow: 0 0 5px black; margin-top: 300px; } .composited { transform: translateZ(0); } </style> </head> <body> <div class="outer scroller"> <div class="relative"> relative <div class="inner scroller"> Scrolled content <div class="spacer"></div> Scrolled content <div class="spacer"></div> Scrolled content </div> </div> <div class="spacer"></div> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 197484
: 368739