- befbf8d: Reduces the number of rules that get copied when setting mode to "append"
-
44bdd4b: Improves specificity and avoids multiple copies with mode === append
The
:active-view-transition...selectors are now rewritten to:root.where(...). This ensures that the rewritten selectors have the same specificity as the original selector.When the plugin was repeatedly called with mode === "append" CSS could double each time. Now the plugin ignores stylesheets that already contain a
/*vtbag*/:root:where(pattern, which is what the plugin emits when called in append mode. This way, plugin results won't be re-transformed when fed back to the plugin.
- 8464083: Adds a
mode: 'append'option that appends the rewritten rules to the existing stylesheet instead of replacing the original rules.
- 37867b4: Updated badges in README. Does not include any content changes to the code.
- ab0d0f1: Provides name-spacing by prepending "vtbag-" to the class names.
- ab0d0f1: Adds
-vtt-to class prefix and now also maps:active-view-transitiontovtbag-vtt-0
- 2da9d87: Initial revision