Add regression test for resize listener iframe z-index

pull/5742/head
Nick Vincent 5 years ago
parent ed25c0bf1f
commit 112c51cb88

@ -0,0 +1,7 @@
export default {
async test({ assert, target }) {
const iframe = target.querySelector('iframe');
assert.equal(iframe.style.zIndex, '-1');
}
};

@ -0,0 +1,8 @@
<script>
let offsetWidth = 0;
let offsetHeight = 0;
</script>
<div style="z-index: 42;" bind:offsetHeight bind:offsetWidth>
<h1>Hello</h1>
</div>
Loading…
Cancel
Save