I try to find a difference in how the revert keyword works depending on whether it is used in a user script or on a site itself.
An article on MDN describes this difference as follows:
This keyword removes from the cascade all of the styles that have been overridden until the style being rolled back to is reached.
- If used by a site's own styles (the author origin),
revertrolls back the property's cascaded value to the user's custom style, if one exists; otherwise, it rolls the style back to the user agent's default style.- If used in a user's custom stylesheet, or if the style was applied by the user (the user origin),
revertrolls back the cascaded value to the user agent's default style.
However, I don't see any difference myself. Could someone show an example?
