Open Bug 1088121 Opened 8 years ago Updated 4 months ago
convert flags on ns
CSSPseudo Elements and ns CSSPseudo Classes to enum or enum class
From Brian Birtles (:birtles) from bug 1082899 comment #15: > I'd prefer we used an enum type for this for type-safety and better > documentation (e.g. all the zeros added in part 1 would be a little easier > to make sense of). I think we have MOZ_MAKE_ENUM_CLASS_BITWISE_OPERATORS if > we need to do bitwise operations. We should convert the flags in nsCSSPseudoClasses and nsCSSPseudoElements to enum or enum class.
You need to log in before you can comment on or make changes to this bug.