公告板
版本库
filestore
活动
搜索
登录
main
/
ReliabilitySimulation
可靠性仿真
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
新增svgEditor
xyc
2024-05-17
6b24f642b01cf3cd1be0d5833273fa2867d389e1
[ReliabilitySimulation.git]
/
web
/
public
/
svgedit-master
/
test
/
all_tests.js
1
2
3
4
5
6
7
8
const iframes = document.querySelectorAll('iframe');
[...iframes].forEach((f) => {
f.addEventListener('load', () => {
f.contentWindow.QUnit.done(() => {
f.style.height = (f.contentDocument.body.scrollHeight + 20) + 'px';
});
});
});