I'm working on a browser extension that adds it's UI to the pages DOM. On some pages I have the problem certain styles affect my UI. To counter this I keep my UI underneath a common root which resets most of the styles to the default value.
Sometimes I missed things which causes visual glitches in my UI. (i.e. the pages CSS file sets form { width: 80%; }
so I need to add form { width: auto; }
to my reset styles.
Is there a collection of styles that reset every CSS attribute to the value that is declared as default by the standard for every element?