Unrelated: Add a comment for Gecko bug 1368291.

Bundling this in to avoid an extra servo push.
This commit is contained in:
Bobby Holley 2017-08-06 09:42:55 -07:00
parent 8074c6aaad
commit c92f883d92

View file

@ -15,6 +15,8 @@ pub enum PseudoElement {
% endfor
}
/// Important: If you change this, you should also update Gecko's
/// nsCSSPseudoElements::IsEagerlyCascadedInServo.
<% EAGER_PSEUDOS = ["Before", "After", "FirstLine", "FirstLetter"] %>
<% TREE_PSEUDOS = [pseudo for pseudo in PSEUDOS if pseudo.is_tree_pseudo_element()] %>
<% SIMPLE_PSEUDOS = [pseudo for pseudo in PSEUDOS if not pseudo.is_tree_pseudo_element()] %>