WebKit Bugzilla
Attachment 369729 Details for
Bug 197837
: GraphicsLayer contentsVisible property miscomputed when using backing sharing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
test
backing-sharing-visibility.html (text/html), 1.09 KB, created by
Antti Koivisto
on 2019-05-13 07:12:52 PDT
(
hide
)
Description:
test
Filename:
MIME Type:
Creator:
Antti Koivisto
Created:
2019-05-13 07:12:52 PDT
Size:
1.09 KB
patch
obsolete
><!DOCTYPE html> ><html> ><head> > <style> > .relative { > position: absolute; > top: 20px; > left: 20px; > height: 10px; > width: 10px; > margin: 10px; > visibility: hidden; > } > > .sharing { > position: relative; > top: 50px; > left: 50px; > width: 200px; > height: 200px; > background-color: green; > visibility: visible; > } > > .trigger { > transform: translateZ(0); > width: 500px; > height: 500px; > background-color: silver; > } > </style> > <script> > if (window.testRunner) > testRunner.dumpAsText(); > > window.addEventListener('load', () => { > if (window.internals) > document.getElementById('layers').textContent = internals.layerTreeAsText(document); > }, false); > </script> ></head> ><body> > <div class="trigger"></div> > <div class="relative"> > <div class="sharing"> > </div> > </div> ><pre id="layers"></pre> ></body> ></html>
<!DOCTYPE html> <html> <head> <style> .relative { position: absolute; top: 20px; left: 20px; height: 10px; width: 10px; margin: 10px; visibility: hidden; } .sharing { position: relative; top: 50px; left: 50px; width: 200px; height: 200px; background-color: green; visibility: visible; } .trigger { transform: translateZ(0); width: 500px; height: 500px; background-color: silver; } </style> <script> if (window.testRunner) testRunner.dumpAsText(); window.addEventListener('load', () => { if (window.internals) document.getElementById('layers').textContent = internals.layerTreeAsText(document); }, false); </script> </head> <body> <div class="trigger"></div> <div class="relative"> <div class="sharing"> </div> </div> <pre id="layers"></pre> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 197837
: 369729