I do not understand this behaviour of princexml
this version, with an unnamed page works, the complete page is filled with a green bg (nothing of the red from the page is seen)
but when I use this version with a named page, I have a red region at the right and bottom:
tested with Prince 20241206 and 15.1
this version, with an unnamed page works, the complete page is filled with a green bg (nothing of the red from the page is seen)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>h-full</title>
<style>
@page {
size: A4;
margin: 0mm;
background: red;
}
</style>
</head>
<body>
<div style="height: 100vh; width: 100vw; background: lime">fills he whole page.</div>
</body>
</html>
but when I use this version with a named page, I have a red region at the right and bottom:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>h-full</title>
<style>
@page Title {
size: A4;
margin: 0mm;
background: red;
}
</style>
</head>
<body>
<div style="page: Title; height: 100vh; width: 100vw; background: lime">does not fill the whole page.</div>
</body>
</html>
tested with Prince 20241206 and 15.1