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

Content is not populated on parent elements #13

Open
Gigabyte5671 opened this issue Sep 9, 2024 · 0 comments
Open

Content is not populated on parent elements #13

Gigabyte5671 opened this issue Sep 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Gigabyte5671
Copy link
Member

Content - specifically from the content style property - is not populated on parent elements.

Reproduction

main {
    content: 'A';
}
main section {
    content: 'B';
}

The above CSS produces the following HTML:

<main><section>B</section></main>

Expected Result

The above CSS should produce something like this:

<main>A<section>B</section></main>

Or this:

<main><section>B</section>A</main>
Gigabyte5671 added a commit that referenced this issue Sep 9, 2024
Fix incorrect expected output. See issue #13.
@Gigabyte5671 Gigabyte5671 added the bug Something isn't working label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant