Open Bug 523713 Opened 15 years ago Updated 2 years ago

Make 'marks' property reject duplicate values, like 'text-decoration' does

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

Details

The 'marks' and 'text-decoration' properties each accept a set of enumerated values.  These values can be specified in combination with each other. (e.g. "text-decoration: underline line-through")

For 'text-decoration', we reject duplicate copies of the same enumerated value, but we aren't as strict for 'marks'. In bug 522320 comment 12, dbaron suggests that we make 'marks' reject duplicates, too.  This bug is for that change.

See CSSParserImpl::ParseTextDecoration and CSSParserImpl::ParseMarks for the relevant code.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.