You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On discord, someone reported a general solution to resetting the few CSS properties that leak into shadow roots.
issue seemed to be solved for me, pixel perfect matching attained across websites including reddit, we just have to reset just those css properties that inherit value's by default. read here https://web.dev/learn/css/inheritance#the_initial_keyword
I mentioned all: initial in discord, had tried it in the past, but it didn't work. Was gonna try it again while looking into this, I probably did something wrong. One of the links does mention a warning about it:
Warning
note that setting all: initial; will not reset CSS custom properties. If for some reason you find yourself needing to reset a specific property, you must specify it explicitly.
Not sure what are considered "custom" properties in this case, but something to try and figure out.
Feature Request
On discord, someone reported a general solution to resetting the few CSS properties that leak into shadow roots.
Is your feature request related to a bug?
https://discord.com/channels/1212416027611365476/1307764582969905295/1307764582969905295
What are the alternatives?
Manually setting the value of each style.
Additional context
Gonna get this added in v0.20 as a breaking change if it works.
The text was updated successfully, but these errors were encountered: