+ selector

Firefox and Safari don't remove the style when a paragraph is dynamically added between the <pre> and the test paragraph.

Selects an adjacent element.

Testsheet:

pre + p {color: red;}

The pre + p selector means "each P element that is preceded by a PRE element". So this paragraph should be red and the other P's on the page shouldn't be.

This paragraph should not be red.

Dynamic

Insert paragraph after <pre>. Are all styles updated correctly? They aren't in Firefox and Safari.