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

Shadow DOM breaks CSS inherit #10671

Open
eric-starke opened this issue Jun 20, 2024 · 1 comment
Open

Shadow DOM breaks CSS inherit #10671

eric-starke opened this issue Jun 20, 2024 · 1 comment

Comments

@eric-starke
Copy link

I am using these rules in my stylesheet to inherit the box-sizing attribute from root:

*,
*::before,
*::after {
  box-sizing: inherit;
}

:root {
  box-sizing: border-box;
}

When the user of my website has the LanguageTool extension installed, breaks this the inheritance for the elements that are inserted into a <slot> by the extension.
Is it possible to fix this on your side? I found a fix for this case, but there could be more unintended style changes regarding inherit.

@tiff
Copy link
Member

tiff commented Jun 24, 2024

Thanks, allow us some time to investigate.

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

2 participants