Remove special-casing anonymous box in PseudoElement::exposed_in_non_ua_sheets.

This commit is contained in:
Xidorn Quan 2017-07-12 15:07:27 +10:00
parent 38577fd6ee
commit 01ea3cc3e3
2 changed files with 6 additions and 11 deletions

View file

@ -91,10 +91,6 @@ impl PseudoElement {
/// Whether this pseudo-element is web-exposed.
pub fn exposed_in_non_ua_sheets(&self) -> bool {
if self.is_anon_box() {
return false;
}
(self.flags() & structs::CSS_PSEUDO_ELEMENT_UA_SHEET_ONLY) == 0
}