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

NEW
Unassigned

Status

()

9 years ago
9 years ago

People

(Reporter: dholbert, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
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.
You need to log in before you can comment on or make changes to this bug.