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

Hang-up with footnote or page float on pseudo elements #703

Closed
MurakamiShinyu opened this issue Mar 2, 2021 · 2 comments · Fixed by #704
Closed

Hang-up with footnote or page float on pseudo elements #703

MurakamiShinyu opened this issue Mar 2, 2021 · 2 comments · Fixed by #704
Labels

Comments

@MurakamiShinyu
Copy link
Member

Describe the bug

Vivliostyle hangs up when float: footnote is specified on before/after pseudo elements.

To Reproduce

Test: https://jsbin.com/nolaxej

    <style>
      a::after {
        float: footnote;
        content: "(" attr(href) ")";
      }
    </style>

    <h1>Test: Footnote on pseudo element</h1>
    <p>See <a href="https://example.com">Example</a>.</p>

Test with Vivliostyle Viewer: https://vivliostyle.org/viewer/#src=https://jsbin.com/nolaxej&debug=true (with debug flag to see what's happening)

@MurakamiShinyu
Copy link
Member Author

Same problem with page floats.

Test: https://jsbin.com/texokix
with Vivliostyle Viewer: https://vivliostyle.org/viewer/#src=https://jsbin.com/texokix&debug=true

@MurakamiShinyu MurakamiShinyu changed the title Hang-up with float:footnote on pseudo elements Hang-up with footnote or page float on pseudo elements Mar 2, 2021
@MurakamiShinyu
Copy link
Member Author

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

Successfully merging a pull request may close this issue.

1 participant