WebKit Bugzilla
Attachment 370201 Details for
Bug 198018
: Keep using shared backing when overlap testing makes it possible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Testcase
multiple-sharing-layers.html (text/html), 1.04 KB, created by
Simon Fraser (smfr)
on 2019-05-18 16:11:37 PDT
(
hide
)
Description:
Testcase
Filename:
MIME Type:
Creator:
Simon Fraser (smfr)
Created:
2019-05-18 16:11:37 PDT
Size:
1.04 KB
patch
obsolete
><!DOCTYPE html> ><html> ><head> > <style> > .clipping { > position: absolute; > top: 20px; > left: 20px; > overflow: hidden; > height: 500px; > width: 300px; > margin: 10px; > border: 1px solid black; > } > > .sharing { > position: relative; > margin: 10px; > width: 110px; > height: 110px; > background-color: green; > } > > .composited { > transform: translateZ(0); > } > > > .trigger { > transform: translateZ(0); > width: 50px; > height: 50px; > background-color: silver; > } > > </style> ></head> ><body> > <div class="composited trigger"></div> > <div class="clipping"> > <div class="sharing box"> > </div> > <div class="sharing composited box"> > </div> > <div class="sharing box"> > </div> > <div class="sharing box"> > </div> > </div> ></body> ></html>
<!DOCTYPE html> <html> <head> <style> .clipping { position: absolute; top: 20px; left: 20px; overflow: hidden; height: 500px; width: 300px; margin: 10px; border: 1px solid black; } .sharing { position: relative; margin: 10px; width: 110px; height: 110px; background-color: green; } .composited { transform: translateZ(0); } .trigger { transform: translateZ(0); width: 50px; height: 50px; background-color: silver; } </style> </head> <body> <div class="composited trigger"></div> <div class="clipping"> <div class="sharing box"> </div> <div class="sharing composited box"> </div> <div class="sharing box"> </div> <div class="sharing box"> </div> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 198018
: 370201