Support outlines
Support CSS outlines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>outline.html</title>
<style>
@page {
size: 220px 220px;
margin: 50px;
}
html {
font-size: 10px;
}
div {
box-sizing: border-box;
background: #e0ebff;
width: 100px;
height: 100px;
}
.test-0 {
outline: red dashed 5px;
outline-offset: -10px;
}
</style>
</head>
<body>
<div class="test-0"></div>
</body>
</html>