This tests that insertRule, deleteRule, and the IE extensions addRule and removeRule update the style when rules are added and removed. It also tests that disabling a stylesheet updates the style.
This is div1. This text should not be red because that rule has been removed.
This is div2. This text should be blue because a matching rule with that property has been added.
This is div3. This text should not be yellow because that rule has been removed.
This is div4. This text should be green because a matching rule with that property has been added.
This is div3. This text should not be purple because the stylesheet with that rule has been disabled.