Skip to content

Commit 31b5727

Browse files
committed
fix test5
1 parent 376c958 commit 31b5727

27 files changed

Lines changed: 708 additions & 631 deletions

tests/demos/test5.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
<div id="root" style="width: 100%; height: 100%;">
1+
<style>
2+
body, html {
3+
margin: 0;
4+
padding: 0;
5+
width: 100%;
6+
height: 100%;
7+
}
8+
</style>
9+
<div id="root" style="width: 100%; height: 100%; ">
210
<template shadowrootmode="open" shadowrootserializable="">
311
<div style="width: 100%; height: 100%;">
412
<div style="display: flex; flex-direction: column; height: 60px;">
@@ -10,7 +18,7 @@
1018
</div>
1119
</template>
1220
<div style="width: 100%; height: 100%; position:relative;">
13-
<svg viewBox="0 0 100 100"
21+
<svg style="height: 1600px;" viewBox="0 0 100 100"
1422
preserveAspectRatio="xMidYMid meet">
1523
<text x="5" y="5" text-anchor="middle" dominant-baseline="middle" font-size="10"
1624
transform="translate(0,5)">0,5</text>
1.58 KB
Loading
-1.82 KB
Loading

0 commit comments

Comments
 (0)