Open Bug 308082 Opened 20 years ago Updated 3 years ago

document + assert ValueList invariants

Categories

(Core :: CSS Parsing and Computation, enhancement)

x86
Linux
enhancement

Tracking

()

People

(Reporter: Biesinger, Unassigned)

Details

I'm told that "A ValueList may have at most one "inherit", in which case it must be a 1-element list". This doesn't seem to be documented. It'd be nice to document this near the ArrayList declaration at http://lxr.mozilla.org/seamonkey/source/layout/style/nsCSSStruct.h#80 There probably should be an assertion somewhere about this too (in CheckSpecifiedProperties maybe, which seems to rely on this)
Assignee: dbaron → nobody
QA Contact: ian → style-system
Severity: normal → enhancement
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.