Skip to content
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

Bold highlighting of a list item marker not being applied #321

Open
urbancamo opened this issue May 8, 2024 · 1 comment
Open

Bold highlighting of a list item marker not being applied #321

urbancamo opened this issue May 8, 2024 · 1 comment

Comments

@urbancamo
Copy link

Hi, thanks for the great library, it's just been such a pleasure to work with!

I have a minor bug, relating to bold highlighting of markers.

Given the styling:

ol li::marker {
    font-weight: bold;
}

I see bold being applied to the HTML generated document, but not to the PDF output.

HTML:

image

PDF:

image

Many thanks, Mark.

@pbrant
Copy link
Member

pbrant commented May 8, 2024

The marker pseudo-element is unsupported.

I haven't checked, but I'm pretty sure ::marker is CSS3 and Flying Saucer development pretty much stopped with CSS 2.1.

My guess is that it wouldn't be very difficult to support at least font related properties though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants