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

Add plain HTML/CSS version with wider browser support #5

Closed
wants to merge 1 commit into from

Conversation

Krinkle
Copy link
Contributor

@Krinkle Krinkle commented Jul 2, 2020

Fixes #1.

I considered using all: revert but realized that it doesn't work yet in browsers besides Firefox.

I also considered using all: initial or all: unset but it quickly became a mess. I'm willing to give that another go though if you prefer. That would mean that in modern browsers it has more or less the same guruantees as Shadow DOM, but woul degrade in legacy browsers with the same, slightly different, or very differnet rendering depending on what the site-local conflicts would be. I preferred the approach I submitted here as it makes it the same in all browsers and thus doesn't require the developer to test it out on the legacy browsers they want to support. Any conflicts would either be minor and acceptable, or dealt with by them upfront.

Thanks for sharing this repo ❤️

@Krinkle Krinkle closed this Oct 23, 2022
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

Successfully merging this pull request may close these issues.

IE11/legacy browser support?
1 participant