Open Bug 1088121 Opened 10 years ago Updated 1 year ago

convert flags on nsCSSPseudoElements and nsCSSPseudoClasses to enum or enum class


(Core :: CSS Parsing and Computation, defect)





(Reporter: dbaron, Unassigned, NeedInfo)


(Blocks 1 open bug)


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.
Flags: needinfo?(dbaron)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.