__init__.py |
const {devicePixelRatio} = window;
let {width, height} = arguments[0].getBoundingClientRect();
return [
Math.floor(width * devicePixelRatio),
Math.floor(height * devicePixelRatio),
];
|
354 |
iframe.py |
<style>
#outer {
display: block;
margin: 0;
border: 0;
width: 200px;
height: 200px;
}
#content {
display: block;
margin: 0;
border: 0;
width: 100px;
height: 100px;
background: green;
}
</style>
|
3529 |
screenshot.py |
|
3135 |
user_prompts.py |
|
4070 |