languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
11.79k stars 1.38k forks source link

Shadow DOM breaks CSS inherit #10671

Open eric-starke opened 1 week ago

eric-starke commented 1 week ago

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 commented 5 days ago

Thanks, allow us some time to investigate.