style: Don't use rule cache for property-restricted pseudo-elements.

This commit is contained in:
Cameron McCormack 2017-09-13 16:15:21 +08:00
parent a7dd19cfb1
commit 30982b92c8
3 changed files with 21 additions and 3 deletions

View file

@ -2600,7 +2600,7 @@ pub struct StyleBuilder<'a> {
custom_properties: Option<Arc<::custom_properties::CustomPropertiesMap>>,
/// The pseudo-element this style will represent.
pseudo: Option<<&'a PseudoElement>,
pub pseudo: Option<<&'a PseudoElement>,
/// Whether we have mutated any reset structs since the the last time
/// `clear_modified_reset` was called. This is used to tell whether the