-
Notifications
You must be signed in to change notification settings - Fork 80
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
feat(ui): Isolate rikaikun popup from host page via shadow DOM and all: revert
#933
Conversation
人 does not have any verb forms meaning the display of the extra furigana isn't tested.
…ll: revert` - Creates a div inside of shadow root to contain all styles and modifications. - Updates CSS to use `all: revert` instead of previous adhoc reset. - Installs CSS directly into the shadow DOM as per best practices. - Fallsback to `all: initial` for older Chrome browsers. - Removes special check for text files since chrome renders them as normal HTML pages. Fixes #221
Codecov Report
@@ Coverage Diff @@
## main #933 +/- ##
==========================================
+ Coverage 75.83% 76.44% +0.60%
==========================================
Files 7 7
Lines 3000 2984 -16
Branches 162 161 -1
==========================================
+ Hits 2275 2281 +6
+ Misses 724 702 -22
Partials 1 1
Continue to review full report at Codecov.
|
Will ignore codecov this time since it's caused by variable name change only and the previous lines were also uncovered. |
## [2.3.0](v2.2.5...v2.3.0) (2022-04-04) ### Features * **ui:** Isolate rikaikun popup from host page via shadow DOM and `all: revert` ([#933](#933)) ([e6a6e7a](e6a6e7a)), closes [#221](#221) ### Bug Fixes * **detection:** Copy text affecting style properties of input/textarea elements when creating fake ([#886](#886)) ([23fc0df](23fc0df)), closes [#672](#672) * **dict:** Update dictionaries to latest versions ([#954](#954)) ([deae6f5](deae6f5)) * **ui:** Only show info popups in the main frame of a tab ([#948](#948)) ([90c7b21](90c7b21))
🎉 This PR is included in version 2.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
all: revert
instead of previous adhoc reset.all: initial
for older Chrome browsers.Fixes #221