Open Bug 376079 Opened 18 years ago Updated 3 years ago

Make CSSParserImpl::ParseSingleValueProperty table driven

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

(Depends on 1 open bug)

Details

We should make CSSParserImpl::ParseSingleValueProperty table-driven by putting the VARIANT_* (plus an extra VARIANT_POSITIVE) in nsCSSPropList.h and making it iterate an array. At the same time, we should remove the aValue parameter and make it write directly into mTempData. (Once we do this, we could switch ParseBackground back to using ParseChoice, undoing part of bug 258080.)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.