-
-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'BlockBox' object has no attribute 'width' #1239
Comments
Just ran into the same error message. Will try to narrow down to a minimal repro and report back... |
Hey there, here is a repro - in my case the error seems to be related to a absolute positioned element in the running header. Once I change the <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
header {
position: running(header);
}
@page {
@top-center {
content: element(header);
}
}
.logo {
position: absolute;
top: 0;
right: 0;
}
</style>
</head>
<body>
<header>
<div class="logo">
</div>
</header>
<h1>My title</h1>
</body>
</html> Trace
Hope this is helpful! |
I've hit this with v54.0 |
Duplicate of #1540, as list markers are absolutely positioned. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It appears to be caused by any list item element inside of a running element.
Minimum reproducible example:
Traceback
The text was updated successfully, but these errors were encountered: