OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../../resources/testharness.js"></script> |
| 3 <script src="../../../resources/testharnessreport.js"></script> |
| 4 <style> |
| 5 .green { color: green; } |
| 6 body { perspective: inherit; } |
| 7 </style> |
| 8 <body> |
| 9 <script> |
| 10 test(() => { |
| 11 var root = document.documentElement.createShadowRoot(); |
| 12 document.body.offsetTop; |
| 13 document.documentElement.className = "green"; |
| 14 document.body.offsetTop; |
| 15 root.appendChild(document.createElement("content")); |
| 16 }, "Check that we don't trigger an assert by caching matched properties for
an element using explicit inheritance."); |
| 17 </script> |
OLD | NEW |