WebKit Bugzilla
Attachment 368936 Details for
Bug 197562
: Determine when included layers can cross stacking context boundaries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Testcase
absolute-in-sc-relative-in-scroller.html (text/html), 1.28 KB, created by
Simon Fraser (smfr)
on 2019-05-03 09:30:48 PDT
(
hide
)
Description:
Testcase
Filename:
MIME Type:
Creator:
Simon Fraser (smfr)
Created:
2019-05-03 09:30:48 PDT
Size:
1.28 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: 20px; > padding: 20px; > z-index: 0; > box-shadow: 0 0 5px black; > margin-top: 200px; > } > > .absolute { > position: absolute; > top: 50px; > left: 20px; > height: 150px; > width: 150px; > background-color: blue; > } > > </style> ></head> ><body> > > <div class="outer scroller"> > <div class="relative"> > relative > <div class="absolute">absolute</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: 20px; padding: 20px; z-index: 0; box-shadow: 0 0 5px black; margin-top: 200px; } .absolute { position: absolute; top: 50px; left: 20px; height: 150px; width: 150px; background-color: blue; } </style> </head> <body> <div class="outer scroller"> <div class="relative"> relative <div class="absolute">absolute</div> </div> <div class="spacer"></div> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 197562
: 368936 |
368941