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

Assertion in html_tag::get_property reading GitHub page for litehtml #24

Open
SpareSimian opened this issue Nov 11, 2024 · 0 comments
Open

Comments

@SpareSimian
Copy link

SpareSimian commented Nov 11, 2024

Built with VS2022 x64 debug. The litehtml home page loads fine. Clicking on "Get the code" in the page's top menubar results in an assertion failure in html_tag::get_property. It looks like it doesn't like this CSS:

background-color: var(--bgColor-attention-muted, var(--color-attention-subtle));

More context:

    <style>
      .user-mention[href$="/SpareSimian"] {
        color: var(--color-user-mention-fg);
        background-color: var(--bgColor-attention-muted, var(--color-attention-subtle));
        border-radius: 2px;
        margin-left: -2px;
        margin-right: -2px;
      }
      .user-mention[href$="/SpareSimian"]:before,
      .user-mention[href$="/SpareSimian"]:after {
        content: '';
        display: inline-block;
        width: 2px;
      }
    </style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant