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

CSS pseudo-elements broken when HTML is sent as a string #100

Open
roope-kvp opened this issue Apr 5, 2023 · 1 comment
Open

CSS pseudo-elements broken when HTML is sent as a string #100

roope-kvp opened this issue Apr 5, 2023 · 1 comment

Comments

@roope-kvp
Copy link

Possibly related to #99
Steps to reproduce

  1. Create a HTML that loads a CSS. The HTML/CSS should have some styling with ::before or ::after.
  2. Feed this HTML through {content: html}
  3. BUG: Styling generally works but pseudo-elements don't work.
  4. FIX: Put the same HTML somewhere where it can be fetched through HTTP and call it with {url: "<url>"}. Now CSS works.
@bugmaker1213
Copy link

bugmaker1213 commented Mar 6, 2024

Hello, I have the same problem. How do you make pseudo-elements work properly?
@roope-kvp ,Look forward to hearing from you.

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

2 participants